Advertisement

10.08.2008 at 02:10AM PDT, ID: 23796577 | Points: 500
[x]
Attachment Details

Load/close flash swf file with javascript

Asked by GhostWerx in ActionScript, Macromedia Flash, JScript

Tags: , , , ,

Hi,

I am trying to host a virtual spokesperson on my website.

I have an flv file containing the content that I want played. So far I have been able to create an swf file to play flv file via progressive download. This was pretty straight forward using the import video process within flash.

What I want to do is something similar to the virtual spokesperson found on http://davetheshoeguy.com/

So far I have a vsp that loads and plays out til the end. It is loaded into a div and displayed on top of everything. The last frame is transparent so when it finishes it appears to go away, but you cannot click anything underneath the swf file.

I have no idea where to start as to
a) add my own custom close button
b) get the button to close the flash file when clicked.

I have looked in all sorts of places over the net, but as I am a beginner with flash and javascript I have been unable to find a nice tutorial on how to do this. So far I have only found bits and pieces and have been unable to put them together nicely.

If anyone could point me in the right direction that would be great.

If any further information is needed please let me know and I'll provide it.Start Free Trial
[+][-]10.23.2008 at 08:42AM PDT, ID: 22787378

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.23.2008 at 06:43PM PDT, ID: 22792601

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2008 at 10:18PM PDT, ID: 22793621

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628