Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-10-09
2
376 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

809 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