PDA

View Full Version : Transforming a Movie Clip


Aphax
10-18-2003, 12:14 PM
I have a bit of a problem, after reading a couple of good actionscript articles here on actionscript.org I managed to create a countdown from 12:00 to 00:00 in a movieclip. ( http://nieser.net/flash/countdown.swf )

Only thing I need to do is to slightly distort the movieclip so it aligns better with the background image. However when I drag the Movie Clip from my Library onto my Scene the "Distort" button on the toolbar is greyed out. All I can do is scale, rotate and skew.

Another problem which might be related is that when I skew or rotate the Movie Clip the Move Clip dissappears when I export the movie to .swf. Scaling works fine though.

Click here (http://nieser.net/flash/countdown.fla) for the .fla file. (Flash MX 2004)

Click here (http://nieser.net/flash/lcd2_normal.ttf) for the font I used in the .fla above.

Any help with this would be greatly appreciated.

hangalot
10-24-2003, 06:49 AM
do u mean your text disapears. to solve that you should embed your font.

Aphax
10-24-2003, 11:52 AM
Ahh, I'm not exactly sure what "embedding" a font means but at least I have something to look for, I'm sure I'll figure it out from here, thanks alot :)

senocular
10-24-2003, 06:25 PM
"distorting" can only be done with shapes, not movieclips (sadly). And for dynamic text to be rotated and not disappear (or masked for that matter - another common issue) as hangalot said, embed the font for the textfield being used. To do this, select your textfield and then click on the Character... button in the properties panel. You then get a dialog allowing you to specify which characters you want to 'embed' for that font allowing Flash to recognize its outlines and rotate/mask it like any other shape.

If you need the clock to slant like its background, you may want to use movieclips/images for each number instead. A tutorial covering a way to handle this can be found here:

http://www.kirupa.com/developer/mx/countdown.htm

Aphax
10-25-2003, 05:45 AM
Thanks for your advice senocular :)

Reaver
09-01-2005, 07:38 AM
Another problem which might be related is that when I skew or rotate the Movie Clip the Move Clip dissappears when I export the movie to .swf. Scaling works fine though.

Any help with this would be greatly appreciated.

To export the movie to .swf without any problem u can use special progs and tools. For example Swish or Video to Flash Converter 4.1 (http://www.geovid.com/Video_to_Flash_Converter/)
Good luck! :)

Aphax
09-02-2005, 03:28 AM
To export the movie to .swf without any problem u can use special progs and tools. For example Swish or Video to Flash Converter 4.1 (http://www.geovid.com/Video_to_Flash_Converter/)
Good luck! :)

Thanks for the answer! Even though I don't remember what I was having problems with in the first place, since it was 2 years ago when I created this thread ;p

EDIT: Oh, it seems that in all the 5 posts that you have made you have been promoting the same tool o.O Oh well, I don't mind, was just a bit surprised to see a reply to something I couldn't remember I posted.