Flash in Director

Hello, I just strarted to use FLash and I wondering if I can make us of some of the effects that flash can make such as the snow effect and use them in director 8. Can I program them in the same manner or to I have to create them as an animation file or is then a more advance way?

Any help would be nice.

Howdy…

As long as there is no interaction happening like that background effect, you can just create a Flash movie file and export the movie in SWF file format so that you can import it into the Director…
Make sure that Director 8.5 can import Flash 5 and Director MX can import Flash MX file format… No other way around if I remember it correctly…

but know you can export your flash MX as a flash 5 swf to make it director 8x compatible (as long as you code it accordingly)

Also be aware that Flash in Director is slow. If you have a heavy flash movie, its not getting any better in director and more than 3 or 4 flash movies in director is just asking it to crash. If you are doing something like including Flash buttons in director, have them all as one Flash file and not individual Flash files. This will reduce the strain as Director has to load a flash player for each swf imported and used in that way

Also know you can control lingo from flash using lingo: and event: in a getURL

i remember that there were import setting on flash setting that you could improve the running of flash files.

checking now

Playback performance tips for Flash movies

Performance of Flash movies can vary greatly, depending on the options in effect and the playback environment. The following are tips for getting optimal playback performance from Flash:

If adequate for your needs, use the Low quality setting rather than High. Using Low turns off anti-aliasing, which speeds up Flash animation rendering. A handy technique is to switch the quality of the sprite to Low while displaying a fast-moving animation sequence (such as a spinning logo), and then switch the quality back to High on the fly as the animation slows down or comes to a stop. This way, performance can be improved during the part of the sequence where it would be more difficult to perceive the improved quality anyway, without sacrificing quality in the end result.

Experiment with different system color depths to see what provides the best performance. For example, some graphics, such as gradients, display faster at 16 bits.

Use Copy ink if possible. Transparency, using Background Transparent ink, requires much more processing time. If your Flash sprite is in the background (no other Director sprites are behind it), use Copy instead of Background Transparent, and author your Flash movie in such a way that its background color is the same as the background color you chose for your Director Stage.

Use Direct to Stage if possible. Layering and transparency are not supported in this mode; however, if you just want to play a Flash movie within a box with the best performance possible, this may be the way to go.

Make sure that the Director movie tempo is set high enough. Unless you’re using Direct to Stage, your Flash movie will not play faster than the Director movie frame rate, regardless of the frameRate or fixedRate setting. For smoothest playback, set the Director frame rate to at least 30 frames per second (fps).

Use Lock-Step or Fixed playback mode to adjust the Flash movie frame rate. Lock-Step gives the best performance, because playback of the Flash movie is synchronized to the Director movie frame for frame.

Set the static property of the sprite to TRUE if your sprite contains no animation (such as a static block of text) and doesn’t overlap other moving Director sprites. This keeps Director from redrawing the sprite every frame unless it moves or changes size.

When modifying Flash properties using Lingo, set the properties for the sprite rather than for the cast member. Setting the properties for the cast member modifies values at the cast member level and broadcasts the change to all sprites on the Stage. This overhead can affect performance. If you have only a single sprite for the cast member, modify the sprite property directly.

Avoid using more Flash sprites on the Stage at the same time than necessary. Each Flash sprite loads its own instance of the Flash Asset Xtra into memory, which can slow performance.

Limit the amount of Lingo that executes while the Flash movie plays. Avoid tight repeat loops between frames. The usual Director performance optimizations apply when using Flash movies.

If you import compressed SWF files (new in Flash MX), be aware that Director will use memory for both the compressed and uncompressed versions of the file until the file has been completely uncompressed into memory.

This is from the director MX help though applies for 8 and 8.5
but i must say that flash mx files run pretty smooth in director mx, even if its a complex animation.

nice chunk of info there Soulty :slight_smile:

SOO chunky you can carve it! :stuck_out_tongue: