Play/Stop Integrated Button For Controlling Movie...
Hi there,
I have a movie that I wish to control with a single button. Initially the button graphic is a "play triangle" (like on a stereo), which sits in the corner happily as the movie plays.
What I want it to do is when the user clicks on the button, the movie stops, and the button changes to a "pause button". Then when the user clicks on that button, the movie starts up again, and the button changes back to the "play triangle".
I am still new to Flash, so please be gentle.
Thanks,
Tatlar
FlashKit > Flash Help > Flash Newbies
Posted on: 07-02-2002, 01:48 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Stop And Play:controlling Movie Clip?
Flash Gurus, you are the only ones that can help me with this!
Is there any way I can do these things:
I have a welcome screen where players can choose easy or hard mode. I want each button to load the correct .swf when pressed. How can I do that if I want each .swf to load in a new frame?
Also, if I want to have a Stop and Play button that controls a short animation, what AS do I need for that?
You really will do me a huge favour if you manage to crack these little nuts!
Any ideas?
Stop And Play:controlling Movie Clip?
Flash Gurus, you are the only ones that can help me with this!
Is there any way I can do these things:
I have a welcome screen where players can choose easy or hard mode. I want each button to load the correct .swf when pressed. How can I do that if I want each .swf to load in a new frame?
Also, if I want to have a Stop and Play button that controls a short animation, what AS do I need for that?
You really will do me a huge favour if you manage to crack these little nuts!
Any ideas?
Controlling PLAY/STOP In A Movie Clip Symbol?
From my main timeline, I know how to use actionscript2 to play/stop my movie using buttons, and when I do that, my main timeline stops but my single movie clip symbol keeps chugging right along. Can someone point me in the right direction?
Is there actionscript that will allow me to control the play state of a symbol? For example:
code:
// play button
play_btn.onRelease = function() {
play();
}
// stop button
stop_btn.onRelease = function() {
stop();
}
I have button instances in my main timeline that when pressed, stop and start the playing of the movie. Can I add extra lines to halt or start the playing of a symbol, using those same buttons? I'm sure there is, I'm just too n00b to know.
Thanks gang. This is my first post, and I did try searching to find my answer first, I just didn't find what I was looking for - maybe it is because I don't know what I should be asking!
xY
Stop/Play Movie/button
Right,
once again, I've got this idea for making a nice page hihi.
Allright, here goes;
-I record something from a game. Edit those movies. And save them as separate files.
-In flash, I load up the MAIN movie f.e., then I create an invisable button over some parts...when its clicked, it has to start playing movie2.mpg f.e.
And back, so when someone is done looking at page2(movie2.mpg) is has to go back to the main movie.
Now, What I need to know is;
The commands for loading a movie the correct way.
Import those movies
Preload? I don't know how big the files are gonna be, so... I think something around 300-600kb.
Tia !
Stop/Play Movie/button
Right,
once again, I've got this idea for making a nice page hihi.
Allright, here goes;
-I record something from a game. Edit those movies. And save them as separate files.
-In flash, I load up the MAIN movie f.e., then I create an invisable button over some parts...when its clicked, it has to start playing movie2.mpg f.e.
And back, so when someone is done looking at page2(movie2.mpg) is has to go back to the main movie.
Now, What I need to know is;
The commands for loading a movie the correct way.
Import those movies
Preload? I don't know how big the files are gonna be, so... I think something around 300-600kb.
Tia !
How To Toggle A Play/stop Button On Movie?
I am like most newbies struggling with action script and seeking help on this forum I am sure, a beginner with coding in general. While some of it makes sense to me, the new AS is really confusing to me. With that being said, here is my little problem...
I have built a five scene Flash movie with small numbered buttons to navigate between different scenes somewhat easily. Where I am running in to trouble is that I also created another button with a dynamic text area with the variable name of textOutput that my first thought was to have populate this text area with either the word play or stop depending on whether the movie was playing or not and then add the button command that would start and stop the movie. I have tried several different ways to try and do this but it isn't working at all.
My latest attempt to try and finish this project up is abandon the dynamic text area idea all together and try to stick to the type of actionscript I sort of understand. That involves creating a movie clip and placing it on the main movie timeline. This movie clip I have named buttonStartStop. In this particular clip,
I created two key frames. One has a label of play with a button instance with the onRelease mouse command to "play."
on (release) {
this._parent.play();
}
The other label is to stop and has a mouse action assigned to the button to stop the movie.
on (release) {
this._parent.stop();
}
So with that being said, I have tried to code the frame action where this clip resides to have this clip move to the proper label or frame to show the appropriate action depending on the parent movie's action.
startToggle = function()
{
if (this.parent.isplaying)
{
this.is_playing = true;
gotoAndStop("stop");
}
else {
this.is_playing = false;
gotoAndStop("play");
}
}
Can someone help me out here to try and figure out how to get this function to work.
Thanks,
AzCowboy
Controlling Play And Stop Movies
hi, everyone
pls help me.
i wonder why when i convert the "forward" button to movie clip, it does work!
the below actionscript is attached to "forward" button:
on (release){
nextScene();
}
this actionscript only work when it is button instance. but it does work if "forward" button inside the movies instance.
any idea?
Problem Adding Stop And Play Funtion For My Music In A Movie Clip Button
ok i made this movie clip button using this tutorial on this website. tutorial website link
The audio button im trying to make is, one that slides in from the side when u move the mouse over it and when u take the mouse away it goes back to hiding. heres a link of the button im talking about link to the button im trying to create
heres my attempt to build the audio button. link to my website im still building. you will see the music note. Just move the mouse over it to see what im talking about. theres no audio in the file cause im not sure which way i need to add the audio in the flash movie, to have it work properly with the buttons.
my test website its still under construction
so basicly i just need help making my button have sound and getting the sound to start and stop when i click the play or stop text thats in the movie clip button. please help me im new to flash and its really hard to me. im more of a photoshop person and im not good at coding at all. but i do what i have to do to get the job done.
Controlling Audio With 'play' 'stop' 'back' Buttons
I have loaded a audio swf file into a host, which when preloaded goes to the next frame, and the audio plays.
What i want to try and do, is control the audio with play, stop, pause and back buttons like a stereo so they work as they are called, controlling the audio file which has been pre-loaded into a movie called 'host'.
if any experts in this can help me, i will be much happy like innit..
lee
Controlling Movieclip To Play 3 Times And Stop At Last Frame
i have a movieclip (MAINMOV) that is placed on stage. MAINMOV has another movieclip within it (MAINMOV 2). i need to publish the file and have the entire sequence run 3 times and stop at the last frame of MAINMOV 2 - is this possible??
*BigJuicy*
Controlling A Loaded SWF File , Play , Stop , Rewind ...
Hey Guys ,
I am loading in a video into my movie clip which I converted to SWF with sorrenson squeeze & Want to know how to control the movie from my main timeline , basically I just want to stop and play , and possibly have a timeline , BUT I know that to do a timeline I would have to have the movie embedded ?
Any thoughts ? I have herd about using the 'tell-target' command , but I am not sure how to use it ...
basically my files are called "movie.swf" and my place holder is called "loader"
Any thoughts , links , something would be good.
Thanks
Chris
Controlling Loaded MovieClip (play/gotoAndPlay/Stop)
Hi all, i have an empty movie in _level0, and i load an animated movieClip inside it with LoadMovie. Everything was ok on loading, it loads good, but i want to control timeline of this loaded movie, and i cant.
Something like this:
currentwork.loadMovie("fondos/1.swf");
In principal timeline, if a push a button for example telling:
currentwork._alpha=50;
it works, but if i say:
currentwork.gotoAndPlay(2);
or
currentwork.stop();
it doesnt play. Whats the problem? cant i control loaded movieclip?
Thanks in advance
[F8] Movie Plays > Stop > Reverse > Stop > Play
I am fairly new to involved action scripting. I have successfully scoured flashkit threads for years to get my answers but this one has been driving me crazy for the past couple days. I have tried numerous solutions but none of them do exactly what I am trying to do.
I am creating an online portfolio that I want to control with two buttons that will play forward on release and stop at every piece unless the user is pressing and holding down - I also would like the scrolling animation to play in reverse on press and stop at every piece unless press and hold which happens to be skateboards in this section. I am posting the .fla for this section. This is what I have been able to accomplish so far. I moved everything into the main timeline from a movie clip because I could not get that to work at all. Should I move it back to movie clip? I also want it to stop at the first board.
here is the code I was able to peice together that just plays continously without stops.
Empty movie clip on second frame.
PHP Code:
onClipEvent (enterFrame)
{
if (_root.goBack)
{
_root.prevFrame();
}
else
{
_root.nextFrame();
}
_root.frameNo = "Frame : " + _root._currentFrame;
}
Forward button.
PHP Code:
on (press)
{
_root.goBack = false;
}
Reverse Button.
PHP Code:
on (press)
{
_root.goBack = true;
}
I have only done basic stops; goToAndPLay, getURL and such I am a little out of my league here but I started the ball rolling and would like to make this work as I intended. Any help making this do anything close to what I am describing would be much appreciated
Stop And Play Button For Movie Clip Within Moive Clip
hi i have problems with my buttons. i have got 2 fla files. 1) shell.fla 2) content.fla.
The shell.fla has a movie clip(name:holder) to load the content.swf. And within the content.swf i have got movie clip within movie clip.
Thru a search from the forum i came across this script
first frame:
Quote:
function stopAllClips(clip) {
clip.stop();
for (var i in clip) {
if(typeof clip[i]=="movieclip") {
if(clip[i]!=clip) {
stopAllClips(clip[i]);
}
}
}
};
function startAllClips(clip) {
clip.play();
for (var i in clip) {
if(typeof clip[i]=="movieclip") {
if(clip[i]!=clip) {
startAllClips(clip[i]);
}
}
}
};
for the button:
Quote:
on (release) {
if(!_root.stopped){
_root.stopAllClips(_root.holder_mc);
_root.stopped = true;
} else {
_root.startAllClips(_root.holder_mc);
_root.stopped = false;
}
}
everything works fine except after i pause and play, i doesn't play from where it has stopped. Anyone has got any ideas as to how i can solve this problem. Thanks very much.
I Need A Movie Clip To Play, Stop And Play Again In The Next Frame
I need a movie clip to play, stop and play again in the next frame. So pretty much i have to get the movie clip to play once and stop then when you go to the next frame it should play again once and stop again. What i have is a slide show type thing where you click on the next button to advance to the next frame and in each frame i have all the animations in their own movie clips.
-Thanks
Why Isn't The Play Button Controlling Sound?
I am working on a gallery / mp3 player. There are thumbnail photos that I am using to control which sound file is loaded and playing. However the play button doesn't work, even after clicking on the thumbnails. The function bigPicPosition is controlling what sound is playing.
I apologize for the sloop that is my code, but I've stopped and restarted writing this many times. All code is run from the main timeline.
Attach Code
this.pauseBTN.visible = false;
var thumbsArray:Array = [thumbs_mc.thb1_btn,thumbs_mc.thb2_btn,thumbs_mc.thb3_btn,thumbs_mc.thb4_btn,thumbs_mc.thb5_btn,thumbs_mc.thb6_btn,thumbs_mc.thb7_btn,thumbs_mc.thb8_btn,thumbs_mc.thb9_btn];
// Which Interview should we listen to?
var interviewArray:Array = ["sound1.mp3","sound2.mp3","sound3.mp3","sound4.mp3","sound5.mp3","sound6.mp3","sound7.mp3","sound8.mp3","sound9.mp3"];
var interviewLengthArray:Array = [200385,200385,200385,200385,200385,200385,200385,200385,200385];
var arrayNumber:Number = 0;
var currentInterview:String = interviewArray[arrayNumber];
var currentLength:Number = interviewLengthArray[arrayNumber];
var interviewURL:URLRequest = new URLRequest(currentInterview);
var sound:Sound = new Sound();
//Controlling the Sound
var channel:SoundChannel;
var resumeTime:Number = 0;
var playingSound:Boolean = false;
addEvents();
function addEvents():void {
for (var i:Number = 0; i < 9; i++) {
thumbsArray[i].addEventListener(MouseEvent.CLICK, picSong);
}
}
function picSong(event:MouseEvent):void
{
for (var i:Number = 0; i < 9; i++)
{
if (event.target == thumbsArray[i])
{
arrayNumber = i;
}
}
if (playingSound)
{
channel.stop();
channel = null;
sound = null;
}
var currentInterview:String = interviewArray[arrayNumber];
var currentLength:Number = interviewLengthArray[arrayNumber];
var interviewURL:URLRequest = new URLRequest(currentInterview);
var sound:Sound = new Sound();
sound.load(interviewURL);
channel = sound.play(resumeTime);
playingSound = true;
this.playBTN.visible = false;
this.pauseBTN.visible = true;
playBTN.removeEventListener(MouseEvent.CLICK, playInterview);
pauseBTN.addEventListener(MouseEvent.CLICK, pauseInterview);
}
//Seekbar timer
this.seekBar_mc.greenScrubber_mc.width = 0;
this.seekBar_mc.playHead_mc.buttonMode = true;
var seekbarTimer:Timer = new Timer (100);
seekbarTimer.addEventListener(TimerEvent.TIMER, updateSeekbar);
function updateSeekbar(event:TimerEvent):void {
this.seekBar_mc.greenScrubber_mc.width = sound.bytesLoaded / sound.bytesTotal * this.seekBar_mc.greyScrubber_mc.width;
if (playingSound && !dragging) {
this.seekBar_mc.playHead_mc.x = channel.position / currentLength * this.seekBar_mc.greyScrubber_mc.width;
} else if (!playingSound && !dragging) {
this.seekBar_mc.playHead_mc.x = resumeTime / currentLength * this.seekBar_mc.greyScrubber_mc.width;
}
}
//Play Stop Pause
playBTN.addEventListener(MouseEvent.CLICK, playInterview);
function playInterview(event:MouseEvent):void {
trace("WHY??????");
if (!playingSound) {
channel = sound.play(resumeTime);
//seekbarTimer.start();
playingSound = true;
this.playBTN.visible = false;
this.pauseBTN.visible = true;
playBTN.removeEventListener(MouseEvent.CLICK, playInterview);
pauseBTN.addEventListener(MouseEvent.CLICK, pauseInterview);
}
}
pauseBTN.addEventListener(MouseEvent.CLICK, pauseInterview);
function pauseInterview(event:MouseEvent):void {
if (playingSound) {
resumeTime = channel.position;
channel.stop();
playingSound = false;
this.playBTN.visible = true;
this.pauseBTN.visible = false;
playBTN.addEventListener(MouseEvent.CLICK, playInterview);
pauseBTN.removeEventListener(MouseEvent.CLICK, pauseInterview);
trace(resumeTime);
}
}
stopBTN.addEventListener(MouseEvent.CLICK, stopInterview);
function stopInterview(event:MouseEvent):void {
if (playingSound) {
channel.stop();
playingSound = false;
this.pauseBTN.visible = false;
this.playBTN.visible = true;
playBTN.addEventListener(MouseEvent.CLICK, playInterview);
pauseBTN.removeEventListener(MouseEvent.CLICK, pauseInterview);
}
resumeTime = 0;
}
Edited: 09/14/2008 at 06:51:48 PM by ebinion
Pause/play Button Controlling .swf On Level 2
I have a movie where I have loaded an .swf using the loadMovieNum command into level 2. On the main timeline I have a pause/play button that I would like to control the .swf I loaded into level 2. What would the code be on this pause/play button to control the .swf on level 2?
Play/stop Button
i created a play/stop button and it works fine. My problem enlies in the size of it. I want it to fit in a 50 by 50 box and so it wont be needed to scroll. i tried this but it is still too large for the box which is 75x75..Is there any solution?
Play Button And Stop Help.
I have a sword idea that is suppose to have 3 stages of animation. I am tyring to get the play button to play each stage at the end of each animation and start the animation again at the end of the last stage. I'm still new to this and I'm not sure what I'm doing wrong but the button doesn't work and it just plays the entire animation without stopping after each stage. I have each stage labeled where it is suppose to stop but I'm not sure what I'm doing wrong. If anyone could help me out it would be greatly appreciated!
[F8] Stop/play Button Help
Hello- I am new to the forums and need some serious help. I am learning flash, and had to add a play and stop button to a banner with sound. Well, everything is set up but the buttons do not play or stop. I am completely lost, I have tried various action scripts and none work. I think I am doing something in the banner setup wrong, but I'm not sure what. I can send the flash document to someone if that will help. It's 368kb so I can't upload it straight to the post. Thanks a ton.
Stop And Play Button
Hi everyone, i have added sound to a frame, but need to make a stop and play button. Any help would be appreciated.
Help With Stop And Play Button
I have pause button (pausebtn) on frame 1 (with 'stop()') and play button (playbtn) on frame 2 (with 'stop()') of 'moviebtn' and placed the script below in parent. Problem: when button is pressed it goes to frame 2 but when pressed again, it refuses to return to frame 1. WHY??
moviebtn.pausebtn.onRelease = function () {
moviebtn.gotoAndPlay(2);
};
moviebtn.playbtn.onRelease = function () {
moviebtn.gotoAndPlay(1);
};
Thanks in advance for any help.
Help With Stop And Play Button
I have pause button (pausebtn) on frame 1 (with 'stop()') and play button (playbtn) on frame 2 (with 'stop()') of 'moviebtn' and placed the script below in parent. Problem: when button is pressed it goes to frame 2 but when pressed again, it refuses to return to frame 1. WHY??
moviebtn.pausebtn.onRelease = function () {
moviebtn.gotoAndPlay(2);
};
moviebtn.playbtn.onRelease = function () {
moviebtn.gotoAndPlay(1);
};
Thanks in advance for any help.
One Button To Play, Stop 2 Different Mc?
im struggling with this one here.
I have one button that i want to play 2 things at the same time. Then one button i want to stop those 2 at the same time.
Below is what i have and it doesnt work. It only plays and stops mc2.
???
Code:
playbutton.addEventListener(MouseEvent.CLICK, onClickplay);
stopbutton.addEventListener(MouseEvent.CLICK, onClickstop);
function onClickplay(event:MouseEvent):void {
mc1,mc2.play();
}
function onClickstop(event:MouseEvent):void {
mc1,mc2.stop();
}
Play/Stop Button
I have a flash game and want to put a button so the user can chose to have the sound on or off. I have made the stop button and placed it in the scene and I´ve put : on (release) {stopAllSounds();
}
This works, but I really would want a button which shows stop/play in the same button,how do I make this button and what actionscript do I use and where???
Play / Stop Button
this is too easy - but I cant work it out...
I have an MC which plays when movie is loaded. I have a button which I want to use to stop the MC playback. Then when it has stopped, have the same button to make it play. Simple.. yep .. Well my code went like this:
if (roller.stop = true) {
btn.onRelease = function (){
roller.play();
}
}
if (roller.play = true){
btn.onRelease = function () {
roller.stop();
}
}
where have I gone wrrong?
cheers
External Play Button Controlling Flv In Mediaplayback Component
Hi all,
Can someone pleeez help me.
I am trying to use a flv in the mediaplayback component and control it with a button, just like YouTube. Where it disappears once it is clicked and changes the play button on the mediaplayer as if it was clicked as well. I cannot use the components as I am limited to using Flash 7.
I am also wanting the first image to be the frame 10 seonds into the flv onload.
Any help or ideas would be great.
Thanks
thepopguy
Edited: 08/31/2007 at 09:09:16 AM by thepopguy
Integrated Back Button
Hi,
I've created a very simple website that uses frames as pages - nothing more. It has 6 frames and six buttons in every one of them
for navigation.
Now I want to integrate a BACK button - A simple button that will stand on every frame, and that will react on (release) in the way that will take us back to the last frame visited.
Example: I start on frame 1. I press button 5 to go to the frame 5. Then, when I hit the back button (the integrated one - not browsers') I want to get back to the frame 1.
Many thanks in advance!
e.
Play/stop Button In One To Toggle (?)
Hi,
I know I've seen this question brought up on previous posts..
How do I use just one button to toggle between play and stop function. Also, how do I get the toggle to switch image from stop to play or viceversa?
So, when the stop button is pressed, it stops the movie and the image changes to play button and when pressed, it plays the movie again?
any suggestions will be helpful.
P.S. I also want to know if there is a way to preload all the external movies on the first initial movie preload?
Thanks.
Play And Stop Button Sound
hey people how can i make a play and stop button for sound on my flash movie?
I am Using flash 5.
Ps. I have a stop button and a play button.
Play And Stop Button For Sound
hey people how can i make a play and stop button for my sound on my flash movie?
I am Using flash 5.
Ps. I have a stop button and a play button.
Stop/play Button In Slideshow With Xml?
hi, is there a way to have a stop/pause and play button in a Flash slideshow using xml. Since there is only one frame in the .fla file, and all the content are loading externally from the xml, how could I pause/stop the slideshow? thanks.
Play And Stop Movieclip With Button
Hi ,
I'm trying to make a movie clip play by clicking a button to start and stop by releasing the button. But so far, my movie clip starts even before I click the button and keep looping.
Here is the code I entered:
import flash.events.EventDispatcher;
import flash.display.MovieClip;
this.stop();
function startMovie(event:MouseEvent) :void {
this.play();}
function stopMovie(event:MouseEvent) :void {
this.stop ();}
pub_Btn.addEventListener(MouseEvent.MOUSE_DOWN,sta rtMovie);
pub_Btn.addEventListener(MouseEvent.MOUSE_UP,stopM ovie);
What am I missing? thanks!!
Stop And Play Function In One Button
hello everyone
i have a Button that contains a Movieclip playing.. now, i want it to STOP when i click on it and then RESUME when i click it again.
dats all. thanks in advance.
When Button Down Play MC In Reverse When Up Stop
Hello AS3 Gurus!
I am having a lot of problems getting the AS3 Timer class to replace the functionality of AS2's setInterval.
You can download the FLA here, to see what I have so far:
download_fla
What I want to have happen is as follows:
(1) Clicking on the certain peel, shows a different "layer" of a product that is on a turntable (works as desired).
(2) Clicking the right facing arrow rotates the product to the right and loops around and around until the mouse button is released (works as desired).
(3) Clicking the left facing arrow rotates the product to the left (playing the movieClip in reverse in an indefinite loop) until the mouse button is released (this I can sort of get to work -- it plays in reverse, but does not stop when the mouse button is released. Also, it does not loop -- in reverse -- continuously until button is released and all buttons become inoperable after pushing the left arrow the first time).
I cannot figure out how to "kill" the timer event to stop the turntable on button up and I cannot figure out how to have it loop continuously in reverse.
I would sell my soul for a .playReverse(); method!
Can anyone shed any light on the problem?
Also, there is commented out code in the FLA of how I used to solve this problem in AS2. If I could hammer this code into AS3 format/syntax, I would be happy with that too -- The most elegant solution is what I am after.
Any input is greatly appreciated.
Anyone up to the challenge?
Regards,
-john
Play/ Stop Button Problem
I made a fading kirupa logo just for practice, and decided that making a play/stop button would be a gud idea seeing as i had never done it before. but i dont know where to start.
my button will look like [play/stop]. can anyone help thanx aj.
Simple Play And Stop Button
I simply created an movieclip called it themusic as instance
and put a sound init
Now on the firstframe i added these actions,
the problem is the music just keeps going , it has no effect
the code
Code:
play_btn.onPress = function ()
{
trace('playing' + themusic);
//themusic.stopAllSounds();
themusic.play();
};
stop_btn.onPress = function ()
{
trace('stopping' + themusic);
themusic.stop();
};
Any ideas what im doing wrong,
it must be realllllllllllllllllllllllllllly simple , but i am lost
ps the trace does show up when i click them buttons
Stop/Play Button For Xml Slideshow
Hi,
I recently added this xml flash slideshow to my site "http://www.kirupa.com/developer/mx2004/xml_slideshow.htm".
I was wondering if anyone knows how to add a "stop/play" button to this?
Thanks,
N4th4N
Stop/Play Button For Xml Slideshow
Hi,
I recently added this xml flash slideshow to my site "http://www.kirupa.com/developer/mx2004/xml_slideshow.htm".
I was wondering if anyone knows how to add a "stop/play" button to this?
Thanks,
N4th4N
Play/ Stop Button Problem
I made a fading kirupa logo just for practice, and decided that making a play/stop button would be a gud idea seeing as i had never done it before. but i dont know where to start.
my button will look like [play/stop]. can anyone help thanx aj.
Play And Stop Button For Sound
I would like to create 2 simple buttons fot example a round button for playing my sound and a triangle for stopping my sound.creating the buttons and stuff is not the problem but i dont know wich actionscript i should use to get the sound started en stoped when i click on my button?
AS3 Stop Event And Play Button
How exactly do I code a simple stop event in AS3? I also want to code a normal reply button that goes to frame 1 of my current scene. Any idea how to do that?
Thanks a lot
Controlling Movie Clip Play Order
Good Day,
I have a web site that opens with two movie clips. One (A) folds open some navigation menus, the other (B) opens some rectangles that hold content. I want "A" to play out then, once it is played, I want "B' to start. It sounds simple but I cannot get the right code. I need something I can use for other applications in other pages. I have this code so far; (naigation_mc = "A" page01_mc = "B")
if (navigation_mc.play=true) {
page01_mc.gotoAndStop("start");
} else {
page01_mc.gotoAndPlay("start");
}
Perhaps there needs to be more code to controll this?
Straming Sound With Play And Stop Button
i have created a stop and play buton which is controling a audio loop on my current website. But how do i get the sound to loop automatically without the user having to press the play button for it to play. whilst still having the option to stop it.
thanks to all
tony
One Button Stop/play Sound Object - MX
I'm using MX and taken some Flashkit tutorials on sound objects, but I can't seem to get one thing to work. I'm trying to create one button that, when clicked, stops a sound object if it's playing and start it when it's not playing. I know how to create separate stop and play buttons, but for this project I need them combined into one button. I can get the sound object to stop, but not to play again. Any help would be much appreciated, thanks and have a great day!!!
Laters....
Tracks Assigned 2 Button & Stop And Play?
www.blusyde.com
I am trying to code buttons 1,2,3 and 4 to play music that i have attached to them. but for some reason they play at the same time and switch over to a different scene.
i want to stay on the main page. when listening. help?
or if there is a tutorial, i would also be interested in it.
Thanks
code:
on (release) {
stopAllSounds();
}
on (release) {
gotoAndPlay(5);
}
|