> Does anyone have any advice for increasing the performance of flash within
> Director 8.  I have a navigation area built in flash that I have brought
> into D8.  The button rollovers as well as the interactions and animations
> seem to run slow.  Thanks for any help.

Whenever I use flash now - this mainly applies to anims - I don't allow it to 'play 
itself'. Setting the property 'paused at start' to true in the property box means it 
does not play. Then I simply control it with lingo:

sprite(FlashSprite).frame = sprite(FlashSprite).frame + 1

This gives a huge speed boost as Director is controlling it. You can also alter the 
frame rate by coding the puppetTempo to whatever you want at the start of the movie 
and returning it to the movierate at the end (provided the flash anim is running on 
its own). 

Not sure about the Interaction tho. You can't control movie clips within a movie, 
you'd have to break them up along the main timeline. You could have your main nav menu 
(for eg) on frames 1 - 10. The anim for a user clicking the 1st button could be on 
frame 11-20. Then you could do a hitTest or a Buttonpass on the button to send to 
Director, which would then tell the movie to go to frame 11 for e.g. 

<ButtonEvent>
sprite(FlashSprite).frame = 11

<loop>
sprite(FlashSprite).frame = sprite(FlashSprite).frame + 1

Let me know if this isn't enough help...

Leon



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to