Jump to content
Sign in to follow this  
thurai

Play swf files in Sequence and Audio in Parallel. How?

Recommended Posts

I would like to play three Shockwave Flash Files (*.swf) in sequence. It was too big to be a single file. So i has to break it up into three.Also I would like to play an Audio (*.wav) in parallel with these.How can I do it?Regards,Thurai

Share this post


Link to post
Share on other sites

That's not possible, because everything in the site gets executed the moment it loads.I don't know how much flash you know, but maybe you can try the following:Have the audio in one flash file somewhere away from the main one, have your main flash file tell the other one when to play the sound with localConnection(). Then, when the flash file gets to its last frame, load the second flash file into the first one (I forget the function name, I don't use flash much, I think it's loadMovie()), and the second one does the same to load the third file.

Share this post


Link to post
Share on other sites
That's not possible, because everything in the site gets executed the moment it loads.I don't know how much flash you know, but maybe you can try the following:Have the audio in one flash file somewhere away from the main one, have your main flash file tell the other one when to play the sound with localConnection(). Then, when the flash file gets to its last frame, load the second flash file into the first one (I forget the function name, I don't use flash much, I think it's loadMovie()), and the second one does the same to load the third file.
Inglome, What is the syntax in smil html or php or javascript for loadmovie(), lodmovienum(),localconnection()?Regards,Thurai

Share this post


Link to post
Share on other sites

The language I was talking about was ActionScript, for flash. I haven't programmed in it in a very long time, but the syntax for all the functions is in the flash help.When editing flash movies, press F9 to write in ActionScript. If you don't know actionscript I can't help you more with this. Write the function (for example: localConnection()) and press F1 to see information on how to use it.HTML, PHP and Javascript can't solve your problem, and I haven't looked much at SMIL but I doubt it's any use either.

Share this post


Link to post
Share on other sites

You don't need to use localConnection, you can have 1 file with 2 layers, where 1 layer loads and plays the audio movie and the other layer plays the first video movie in the sequence. You still need to use MovieClip.loadMovie though.

Share this post


Link to post
Share on other sites
The language I was talking about was ActionScript, for flash. I haven't programmed in it in a very long time, but the syntax for all the functions is in the flash help.When editing flash movies, press F9 to write in ActionScript. If you don't know actionscript I can't help you more with this. Write the function (for example: localConnection()) and press F1 to see information on how to use it.HTML, PHP and Javascript can't solve your problem, and I haven't looked much at SMIL but I doubt it's any use either.
Thanks Inglome.Regards,Thurai

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...