SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
DVDs
BOOKS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE FLASH:
Adobe Flash Forum
Adobe Flash Tutorials
Adobe Flash Video Tutorials
Web Streaming Forum
Adobe Flash
Re: AS2_how to restart music when exiting a page
Cow Forums
:
Adobe Flash
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Re: AS2_how to restart music when exiting a page
by
Kelly Johnson
(Thumbslinger)
on Sep 17, 2008 at 10:56:15 pm
You can code a cue point so the video triggers the sound back on when it's finished and thus would be on.
If someone clicks any other button, just start the music on that click.
You could set up a condition like:
var A:number=1;
Then, when you make the sound go off, in that same little script put:
A=2;
Then, on all your buttons you can put something like:
if (A==2) {
musicPlayer.Start();
}
Only if A is actually equal to 2 will it start the player. Otherwise, if it's already playing, it won't interfere.
ps.. yes, that's 2 equal signs in the second code above and just one in the first.
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
AS2_how to restart music when exiting a page
by pablo rendon on Sep 16, 2008 at 9:19:53 pm
Re: AS2_how to restart music when exiting a page
by Kelly Johnson on Sep 17, 2008 at 10:56:15 pm
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
DVDs
•
BOOKS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]