This is an example I made playing with Sin Waves to create a random floating motion.
Sin Wave Floating Motion in AS2
May 23 2007
This is an example I made playing with Sin Waves to create a random floating motion.
I never really like how I used external movie clips to create my shading on this card. This forced me to duplicate my animating card and use it as a Mask. This also resulted in a flickering in the gradient. I decided to do a little cleaning up of my code and use beginGradientFill() with the Drawing API to create the gradients of my shading. I noticed that by doing this I was able to get a much, much faster performance out of it. Also no flickering.
I took another crack a making the flame look a little more real for a project I'm working on. Using the same code from the previous post, I added a fire pit and some smoke.