|
From: septicore on 8 Apr 2006 13:18 how would i do this..? i want to make it so that when u hover the mouse over a thumbnail image, a larger image of that thumbail will pop up. And once the mouse leaves the thumbnail, the larger image will dissapear. Does anyone know how to do this? much appreciated, thanks.
From: openspark on 8 Apr 2006 14:30 The following behavior assumes that you have one big bitmap for each picture, and that you scale the thumbnail sprites so that they shows their big bitmap at a reduced scale. It also assumes that you have a sprite or a channel named "Enlargement", and that you have a bitmap member of 0 x 0 pixels called "Blank". property pMember on beginSprite(me) pMember = sprite(me.spriteNum).member end on mouseEnter(me) sprite("Enlargement").member = pMember end on mouseLeave(me) sprite("Enlargement").member = "Blank" end You can see a demo of this behavior at http://nonlinear.openspark.com/tips/sprites/enlarge/
|
Pages: 1 Prev: flash 8 asset xtra and getUrl("lingo:...") Next: Freeware icon editor? |