Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
zackg3 webforumsuser@macromedia.com #1
making paused sounds resume where they left off
Hello. I needed to make a tutorial CD which involved sound and animation. I had to time the animation to the sounds by making the playback head pause for a specific duration on certain frames and then move on, which i did with a simple loop for X seconds script. The problem is that I need to be able to hit one button to pause the entire movie, including the sound, and then have another button to resume the movie. I converted the entire movie to quicktime movie so that it would have the stop, pause, and play buttons, but when you hit pause, then resume, it doesn't pick the audio back up. what happens is you don't hear anything until a new auio track comes on. Is there a fix for this? Perhaps there is no need to convert to quicktime, but i just can't seem to get one button to pause the whole movie and then another to resume right where the sound left off.
zackg3 webforumsuser@macromedia.com Guest
-
making resume in flash with data file
this is my current cv, painstakenly written in flash: http://disfasia.net/cv/cvenglish.html I was told that I can use an external data file and... -
Computer making high pitch sounds when cursor is overContribute links
I am experiencing a weard high pitch sound when I am using my cursor over the Contribute blue type plus scrolling or editing web pages. Have a... -
Updatestage during Paused state
Hi all, When the Quit button is clicked, I pause the movie when bringing the quit dialog box asking for confirmation to quit. I issue the command... -
Paused Files in FMP Server 5.5
I have a solution that is up and running nicely for about 4 years. However, about once every six months or so, all of the hosted files come up as... -
Making transparency of layer greater from left to right
Hey I am a video editor and am making a "lower 3rd graphic" this is the place where a persons name is displayed during an interview I would... -
urami_ #2
Re: making paused sounds resume where they left off
The easiest is to place the sound as stream in movie clip, all you need than is MC.stop(); and> Hello. I needed to make a tutorial CD which involved sound and animation. I had to time the animation to the sounds by making the playback head pause for a specific duration on certain frames and then move on, which i did with a simple loop for X seconds script. The problem is that I need to be able to hit one button to pause the entire movie, including the sound, and then have another button to resume the movie. I converted the entire movie to quicktime movie so that it would have the stop, pause, and play buttons, but when you hit pause, then resume, it doesn't pick the audio back up. what happens is you don't hear anything until a new auio track comes on. Is there a fix for this? Perhaps there is no need to convert to quicktime, but i just can't seem to get one button to pause the whole movie and then another to resume right where the sound left off.
>
MC.play();
Stream is timeline based so once stopped it simply pause by default .
Regards
urami_*
<xmas>
[url]http://flashfugitive.com/[/url]
</xmas>
urami_ Guest
-
zackg3 webforumsuser@macromedia.com #3
Re: making paused sounds resume where they left off
Thanks for your help. I made the animation and sound into a movie clip, then I made two buttons (stop and play) and assigned the MC.stop(); and MC.play(); to them, but when I tested it, they didn't stop or play the clip. Was I supposed to exchange MC with the name of the clip? or is there a place where I set the name of the clip? thanks in advance.
zack
zackg3 webforumsuser@macromedia.com Guest
-
urami_ #4
Re: making paused sounds resume where they left off
you must give movie clip Instance name , right click it and go to properties , if you use MX 2004> Thanks for your help. I made the animation and sound into a movie clip, then I made two buttons (stop and play) and assigned the MC.stop(); and MC.play(); to them, but when I tested it, they didn't stop or play the clip. Was I supposed to exchange MC with the name of the clip? or is there a place where I set the name of the clip? thanks in advance.
than there no longer is Properties option , you will need to click on the mc and hit CTRL F3.
In that properties panel is window where you key in the instance name .
the MC is just instance name sample, you can call it anything you like.
Regards
urami_*
<xmas>
[url]http://flashfugitive.com/[/url]
</xmas>
urami_ Guest
-
zackg3 webforumsuser@macromedia.com #5
Re: making paused sounds resume where they left off
I finally got it to work. Thanks for your help. Actually, I got it working slightly differently. I made the sound in the movie clip stream like you said. Then I made the two buttons. For the first button, I selected it, then in the actions panel, I clicked on variables, then double-clicked "with". Once itcreated a small line of code, I selected the part highlighted in red ("not yet set") and then hit the target icon (crosshairs) and selected the movie clip, which I previouslygave a name in the property inspector (important). Then after i identified the movie clip, I set a play action. I did the same thing for the stop button, and they worked like a charm.
zackg3 webforumsuser@macromedia.com Guest



Reply With Quote

