|
From: envy1985 on 17 Apr 2008 14:36 Hi All, This is my first post, as i am currently doing a small project in Director for the first time. However i am using images, and whilst i can insert smaller images, i would prefer a 'rollover' image, so the image can be shown larger. I guess i could do an 'on click' and link to another frame, but that may clutter the project. Does anyone know the way to do this? Thanks, Scott
From: Mike Blaustein on 17 Apr 2008 15:07 Do you want the image that is being rolled over to actually become larger or do you want to make it so that when you roll over the thumbnail, a larger version appears in a different area? If the former, you can simply change the member... on mouseEnter me sprite(me.spriteNum).member="LARGEMEMBERNAME" end on mouseLeave me sprite(me.spriteNum).member="SMALLMEMBERNAME" end You would change the things in quotes to the actual member names of the large and small versions... If the latter, an easy way is to set up the frame with all the large images in the location where they should show up, but make their blend value set to 0 (which means they are invisible). And put this onto the thumbnail sprite: on mouseEnter me sprite("LargeSprite").blend=100 end on mouseLeave me sprite("LargeSprite").blend=0 end You would change the "LargeSprite" to the sprite name or number of the large version.
|
Pages: 1 Prev: [Announcement] Directorforum.com launched Next: Problem Creating Projectors |