How do I detect the end of an swf via javascript?

I want to present a questionnaire when a person has reached the end of a flash tutorial.  They navigate via fwd/back buttons.  When the last "frame" of the tutorial, I'd like to wait a couple of seconds, then present a questionnaire.  The questionnaire tool is also flash, so I'm not sure if I'll also have issue putting flash on top of flash.
jaysonwebbAsked:
Who is Participating?
 
ckoningCommented:
The best way to do that is to use the ExternalInterface to call a JavaScript function that initiates the questionnaire code. See the adobe livedocs for more information on how to use ExternalInterface.
0
 
jaysonwebbAuthor Commented:
Thanks for the reply.  I have looked at ExternalInterface and it seems to be the answer, though it's a bit more complicated than I hoped for :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.