Flash 8 Example 1: Flash in Space

Now that Flash 8 has been announced, Macromedia is letting members of the beta post their experiments and answer questions about the features in the upcoming release. Flash 8 has been the biggest reason why blogging has been so hard recently. There is so much that is cool, so much that is important, and I haven’t been able to make a peep about it.
well, PEEP!
This is the first experiment that I would like to post. This will also be the foundation for my next personal site at infinitumdesign.com (yes, it is about time for the jeep to go away).
Features:
The experiment is really a combination of four files I have worked on:
- Dynamic lighting: Notice that as you approach the stars, light is cast on the ship. As you change direction or move away the direction and intensity change.
- Filters on particles: As you move the ship around, lots of little stars are shot out as thrust. Each star is rotated, and scaled, then has a random blur filter attached. There can be hundreds of these movies on the stage!!
- Cloaking effect: This is is the one that I am most excited about. make sure to click into the flash file, then press the space bar to cloak and de-cloak the ship. I tried to model the effect after the Romulan cloaking effect from Star Trek.
- Nebulae: It wouldn’t be a cheesy sci-fi effect without nebulae. You will be shocked at how easy that is.
How?
Dynamic lighting is done by stacking the Gradient Glow Filter three times with the red green and blue version of the ship. I adjust many of the filter properties to get the right lightness, blurriness, distance and direction. These filters are re-applied per frame.
The particles are pretty straight forward with their blur filter, though it is worth noting that this is all very light on the processor. Running lots of stars still doesn’t break 50% on my processor.
The cloaking effect. This one took some doing, but I think it is worth every moment. I’m using the displacement map filter with some dynamically generated images that animate changing the displacement map.
The nebulae are just me taking my mouse, picking a random color and making a squiggle with the paint brush tool. I make several of these, make them into movie clips and then apply some filters, and maybe blend modes. it takes 20 seconds top. Flash 8 really let’s me have an idea and execute it without running into some of my normal “design challenges” that leave me unhappy with the final product.
Performance & Optimization
This file is 8K! All of the rich elements in the file are all done using the new features in Flash 8. No more importing clunky graphics to get close to the effect that you’ve been dreaming of since Flash 3. The filters also save a bundle on the processor. Running this file in just a normal way generally won’t let the processor go much above 50%, and I haven’t tried to optimize performance even slightly. The cloak an spike a bit higher, especially when over the nebula, but that is just a spike not a constantly running effect.
Digg this!
August 8th, 2005 at 1:06 pm
Thanks for making me want to code again!!!!!!!!!!!!!!!!
August 8th, 2005 at 3:38 pm
MXNA launch highlights
MXNA launch highlights: So I’ve been paging back through the last dozen hours on MXNA, opening each post that mentions the Studio 8 launch… here, in chronological order, are some of the ones that caught my eye with new or…
August 8th, 2005 at 4:46 pm
Aha, it was you who created the spaceship, we couldn’t remember earlier! Nice job that one really amazed. Hope you don’t mind me posting this bit Justin, moderated tho so… sneak peak for how the nebulae are created: zoom into one 3 times to auto-switch off effects (FP8 does this to save the processor).
August 8th, 2005 at 6:01 pm
actually you are only moderated until I approve one of your posts, then you are free to poist from then on. But don’t worry, that is a good tip. The nebulae are pretty funny. just some random squiggles can even be made to look good in Flash 8
August 8th, 2005 at 6:38 pm
that looks really good.
August 9th, 2005 at 10:14 am
Very impressive. Keep it up, cause it looks like everyone is on the brink of some really revolutionary stuff.
August 9th, 2005 at 11:28 am
SWF cloudscape
SWF cloudscape: Nice animated example of using the Perlin Noise pixel-manipulation functions in Macromedia Flash Player 8… Ralph Hauwert generates the clouds and their shadows algorithmically, and then modifies them over time. The animation is slow a…
August 9th, 2005 at 7:21 pm
[…] de líneas en flash 8 Algunas características de textos en Flash Player 8 Blur filter Flash in Space Alpha Video en Flash Player Ejemplo Flas […]
April 6th, 2006 at 2:13 am
many other flash tool can be found at http://www.yaodownload.com/video-design/animation, check it out!
April 19th, 2006 at 4:13 pm
perhaps it would benefit to everyone if you made a Flash tutorial out of this?
April 22nd, 2007 at 10:56 pm
Hi Justin,
You have a very cool blog here…loved the content.
U know there is an awesome opportunity for people like you who have ur own blogs n sites…I came across this site called Myndnet.com…it’s a platform for people to buy and sell IT related information. and everytime you sell some information you get paid for it…Good money for people like us in the IT domain. Here the link http://www.myndnet.com/login.jsp?referral=alpa83&channel=al431
Sign up is free…check it out…
You can contact me at my id here for more questions : barot.alpa@gmail.com
Cheers
Alpa
June 6th, 2007 at 2:46 pm
i 2nd that, a flash tutorial of this would be cool
June 8th, 2007 at 4:23 am
Very impressive. Keep it up, cause it looks like everyone is on the brink of some really revolutionary work!
November 6th, 2007 at 7:31 pm
Hey, thats pretty nice. You plan on giving a tutorial on how you did it.