Hi, I made a snow falling effect in flash useing actionscript and I want to use it in a game. To add an animation in my game I would need to save the animation in a .png sequence because this game is made in another program. how do we save the actionscript animation in a .png sequence?
Scince this is for a game I cant have too many pictures in the game or else it will be very buggy so I am wondering if anyone can help me find the loop in this actionscript animation?
Here is my .fla file of my animation: https://www.dropbox.com/s/oe6vk22wem294pm/snow.fla
Hope you can help me out.
Thanks in advance!
P.S This actionscript code was from here: http://troyworks.com/blog/2008/11/26/flash-kirupa-snow-in-as30/comment-page-1/#comment-279 6
scrool to the bottom of the coments page and find a user in the coments named Cameron. thats me; and below me troy posted a pile of code which I dont understand what he is trying to say too.
a png sequence can be converted to video in after effects.
and comment out addEventListener(Event.ENTER_FRAME, snowFlakeMover); if you don't want the snow to move, or use
removeEventListener(Event.ENTER_FRAME, snowFlakeMover); if you want the snow to stop moving at some point.
Snow in a game will either require you to actually program it in or generate a short looping sequence of snow. Flash isn't going to be very good at this simply because it's easy to generate snow from code, but code isn't exported from Flash when you use Export->Export Movie. You will literally need to go hand animate a loopable snow sequence on the timeline and export that.
What program is creating the game that you want this sequence for?
Do you own any other software licenses like After Effects? The particle system built in can generate snow pretty easy but getting it to loop perfectly will take some tinkering or some faking (like repeatedly slowly fading between compositions).