Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-09
2
Medium Priority
?
386 Views
Last Modified: 2013-11-11
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.
0
Comment
Question by:jaysonwebb
2 Comments
 
LVL 4

Accepted Solution

by:
ckoning earned 1500 total points
ID: 22694730
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
 

Author Closing Comment

by:jaysonwebb
ID: 31504724
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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question