|
Next: Importing Swf
From: qzerr on 15 Mar 2005 23:21 :confused; I am in the midst of creating a navigation bar with 7 text content. I am wondering as to how to create a magnify and zoom out effect on the text content. The text are placed on top of one another. So when i mouse enter to the first text on the list, the font size will enlarge from a 100% to 130%. I have typed the texts in director Mx so I had the problem of having the enlarged text overlapping on the second text beneath. Anyone can advise me on how to script in order to have a zoom in and zzoom out effect when my cursor mousewithin or mouseleave the texts? Please advise me on how to script the spacing between the texts to stretch when mousewithin to prevent text overlapping one another.. Thanks...
From: JB on 16 Mar 2005 03:12 It's difficult to picture? you want expand hte text without increasing the area it occupies? One redical possibility is to have an off stage magnified version of the text member sized so hte word wrapping happens in the same exact place as hte display4d small text, that is the big one is an authentic scaled up copy of the small one. A bitmap image of the big text can be grabbed using copyPixels to copy out for display on stage an area of the bitmap to fill your magnified view, you could even have a rolund magnifier effect. Showing ediging magnified would be way more tricky...
From: Mike Blaustein on 16 Mar 2005 11:25 I've done similar effects using Flash. I put make a Flash file that has the text on frame 1 and the rest of the animation is the font increasing. Then export that to .swf and import it into Director making sure that the cast member is set to Paused At Start. On your mouseEnter script in Director, tell it to play and loop the file. on your mouseLeave script, tell it to go to frame 1 and hold. Goldshell makes a program called FlaX that makes things like this simple for the Flash-challenged. It makes for some cool text effects that are easy to use and are very small file sizes.
|
Pages: 1 Next: Importing Swf |