Thread: Flash Rollover Expansion
August 24th, 2006, 09:54 PM #1
- Join Date
- Jul 2004
Flash Rollover Expansion
Just wondering how to create a text box that expands to reveal more text upon rollover in Flash 8. Please help! Have searched with no results.
August 25th, 2006, 03:08 AM #2
Not sure if this would fully work, but you might have some luck by,
-Create a sprite
-Goto Actionscript, and put a stop to the first frame of the sprite.
-Create your first box in the second frame of the sprite and create the second box in the third frame (what it will display when you mouseover.)
-Create a motion tween, if desired.
-Goto actionscript and script the sprite to go to and play .spritename frame 2 on mouse rollover and go to and play frame 1 on mouse rollout. (or you could create another object at the top right corner with some text that says "restore/retract" and script that to retract instead of a mouse rollout.
As for the text, I'd have to look into that, maybe experiment. I'm sure it would be a lot easier to include the text content inside the sprite, or maybe as a seperate spirte within the opening box sprite.
I'll check it out.
Can you show me what you're working on? Upload the .swf so I can take a look, if you can.
August 25th, 2006, 03:53 AM #3
Alright, check this out and tell me if it's along the lines of what you're looking for.
I just whipped that up and suprisingly, it didn't take much to create.
Edit: I can make it smoothly retract when you rollout instead of abruptly returning to it's original state, but it was a quickie.
Last edited by -FMA; August 25th, 2006 at 03:55 AM.Cute
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By FreakyOCR in forum Webmastering and ProgrammingReplies: 15Last Post: April 2nd, 2004, 11:00 AM
By Phenom525 in forum Graphic Design and Digital PhotographyReplies: 2Last Post: November 5th, 2003, 02:19 PM
By DKY in forum Graphic Design and Digital PhotographyReplies: 0Last Post: July 10th, 2003, 08:54 PM
By couch potato in forum General Gaming DiscussionReplies: 0Last Post: December 4th, 2002, 12:51 AM
By daveleau in forum General Gaming DiscussionReplies: 12Last Post: July 22nd, 2002, 04:52 PM