ActionScript 2.0 :: Swf And From There Start Or Stop A Mc In The Main-swf?

Aug 29, 2009

Is it possible to play mc's in one swf with code in another swf?

So, for example, load a swf in another swf and from there start or stop a mc in the main-swf.

View 6 Replies


Similar Posts:


ActionScript 1/2 :: Using Start Button To Start And Stop The Scene Or Movie?

Nov 19, 2011

Here is the action scrip that I created. Correct it if you can.

Process.visible = false;
Cycles.visible = false;
stop();

[Code]....

View 3 Replies

ActionScript 3.0 :: Buttons On The Main Page Doesn't Goto And Stop At Other Frames In The Main Scene

Jun 14, 2010

I added a website preloader in a separate scene to the main frame of my website and scripted it to go to and Play the main scene or frame of the website when finished loading. I then put a command in the first frame of the main scene for the movie to stop (); at that point. The problem is that now the buttons on the main page don't respond to any behaviour commands to go to and stop at other frames in the main scene. I'm not sure if this is a conflict between the stop(); command in the main scene and the button behaviour command to go to and stop at another frame or an error with the way I'm identifying the scene and frame.

View 5 Replies

ActionScript 3.0 :: Get Main Timeline To Stop In The Beginning On Button Press To Play And At The End Stop Again?

Feb 1, 2008

I just got Flash CS3. I'm trying to get my main timeline to stop in the begining, on button press to play and at the end stop again. In AS2, you would just put stop(); on the first keyframe and stop(); on the last key frame and program your buttons accordingly.

The stop(); does not work!!!! It's driving me crazy. What am I missing? I've gone through the tutorials in Flash and they don't work either.Also, if you have MovieClip that contains an animation and you don't want the movie clip to be on a continuous loop how do you stop it from playing. In AS2, I would put a stop(); on the last keyframe of the movieclip's animation. This also does not work in AS3.

View 9 Replies

ActionScript 3.0 :: Stop Moving MC - Fish To Stop Swimming After Clicked It And Start Swimming After Another Click

Jan 1, 2012

what wrong with the functin 'stopFish' Without this function the fish in the tank swims but when I add it, it doesnt anymore. I just want the fish to stop swimming after I clicked it and start swimming after another click.

View 1 Replies

AC2 :: Stop One Sound And Start Another?

Jun 17, 2009

I am creating an animation with very few controls for a presentation and it requires adding sound. I have my intro in the first frame with one sound and then want the user to click anywhere to start the animation and another sound.The problem I am having is sound control.No matter what I try the sounds overlap. I have managed to stop the first sound when going to the next frame - the animation, but the second sound now will not start. The first sound is called in from the library with the below code:

var snd = new Sound();
snd.attachSound("Tune");
and stopped when going on the next frame with:

[code].....

View 1 Replies

Mouse Over Start And Stop?

Aug 20, 2010

i have an ad that when the page loads, it can have 15secs of animation and then stop. the animation can only be started again if the user rolls over the ad but has to stop and go back to the end of the animation if they rolls off the ad.

i know the basics of Flash and the part that's giving me the trouble is the roll off the ad.

View 3 Replies

Start & Stop An Mp3 Sound

Jun 28, 2009

I wish to be able to play a voice sound every 3 minutes. I have the sound in "mp3' format and need to repeat the message every 3 minutes.

[Code]...

The actionscript 3.0 I wrote makes the sound once but that's it. I have the "Loop" on but it only runs once. I need a Timer also but until I can get the sound goes its a mute point.

View 26 Replies

Actionscript 3.0 :: Cannot Get The Main Movie (mainVidMC.mainVid) To Start Playing Again

Feb 16, 2009

I cannot get the main movie (mainVidMC.mainVid) to start playing again once the KirshLearnMore1_F8_Lg_001.flv has finished playing. It throws an error:

[Code]...

View 2 Replies

Start / Stop A Scrolling Background?

Mar 18, 2009

Im trying to animate a scrolling background which is simple enough. I dont want the background animation to scroll when the game is first loaded, I only want it to begin scrolling after the play button is clicked.

Ive used stop(); command in the first line of the MovieClip instance that is the back ground.

Some things I have tried

- Coding in flash to scroll the background, add a check to see once the background reached a certain x.position on the stage, it would addChild the same instance, where it originally was located and repeat the scroll process. I couldnt get this work, but would be intersted to see how you guys would approach it.

-Tried using a gotoAndPlay(2); in the movieclip last key frame to repeat the process. This causes the animation to chop up. I tried using this several diffrent ways, I could get it work at one point. But the background would scroll before the button was even clicked, I couldnt figure out a work around.

View 3 Replies

ActionScript 2.0 :: Start/Stop MC In A Tooltip?

Mar 10, 2011

Basically, I followed a tutorialand have a basic tooltip working (actions in layer1, frame1 of maintimeline).

Code:
tooltip._visible = false;
var tipInt;

[code].....

View 3 Replies

ActionScript 3.0 :: Timer Start And Stop ?

May 26, 2009

I have a timer set up like this:
 
[code]...
 
The problem is I cant figure out how to stop it or reset it after it goes to the next frame.

View 9 Replies

How To Start/stop A Slide's Animation

May 27, 2009

One slide of a slideshow I'm making I want the animation to end after it's completed without looping.  I can do this by adding the stop(); command into the last frame of that slide, but if I return to that slide, it will remain in the end position instead of replaying.

View 4 Replies

ActionScript 1/2 :: How To Start And Stop Looping

Jun 9, 2009

I'm very new to Flash / action script, so I just need to know where to put both the start loop, and the end loop code (below) in my Flash file to make the waving effect on this flag (link below) start and stop when I need it to, because I'm adding a small amount of flash both before and after it. loopI = setInterval(loopF,40); to start the waving and use:

[Code]...

View 3 Replies

Professional :: How To Start And Stop Animation

Jan 28, 2010

I created a simple animation that is 90 frames long. How can I start and stop it at specific keyframes so it takes 3 separate mouse clicks to complete. Example: a picture is on my website. When you click it, the first 30 frames play and then stop. A 2nd click makes the next 30 frames play and a 3rd click makes the last 30 frames play.

View 6 Replies

ActionScript 1/2 :: Specifying Frame To Stop At Start

Apr 15, 2010

How do I make flash stop in a specific movieclips' specific frame at the start?
i.e. _root.my_mc1.my_mc2.gotoAndStop(1);

View 2 Replies

Professional :: How To Stop Automatic Start

Dec 11, 2010

I want to put a number of flash videos on a page so I need to stop them from starting automatically. Is there a way to go into the .html?[code]

View 1 Replies

ActionScript 1/2 :: Stop And Start Sounds

Jan 28, 2011

I have a Flash presentation that has some music and various sounds throughout the presentation.I want to have a btn stop all the sounds, but if clicked again it will enable all the sounds again.Is this possible? I can get the btn to stop the sounds, but cannot get the music to enable after.

View 1 Replies

Actionscript 3 :: Stop And Start A For Loop?

Feb 6, 2011

I'm pulling an xml and using a for loop to create a thumb list. This list is going to be quite long but I only 25 thumbs to be loaded at a time, so that the next 25 is only loaded when a user hits a button. I know how to set up a for loop in a function, but I can't quite figure out how to break up a loop where it would stop and start. I was thinking I would call the function each time a button is pressed and the loop would pick up where it left off with the next 25.

I thought maybe I could substite other variables into the for(); but everything I've tried breaks it. I tried pulling the var i:int = 0; out of the for so the function could set the i, but I guess I'm not clear on exactly how the for loop works.

What I'm doing:

function loadarticleHeadlines():void
{
for (var i:int = 0; i < egarticleXml.articlelist.articleitem.length(); i++)
{

[Code].....

View 1 Replies

ActionScript 1/2 :: Stop And Start Sounds?

Oct 1, 2011

I have a Flash presentation that has some music and various sounds throughout the presentation.I want to have a btn stop all the sounds, but if clicked again it will enable all the sounds again

View 1 Replies

ActionScript 3.0 :: Start/Stop Timer ?

Feb 13, 2008

I have a .fla where the timeline is controlled by a timer located on frame 1 in a layer named "Actions".Essentially every seven seconds it advances to the next frame by way of the variable nextItem. There are 9 frames, then it loops back to 1. This all works fine.The problem lies in starting and stopping the timer ONLY AFTER the movie has looped back to frame 1. Not only does it not stop on MOUSE_MOVE but then on MOUSE_LEAVE the timer seems to get faster .. or jump through the frames.

Code:
stage.addEventListener(MouseEvent.MOUSE_MOVE, timerOff);
stage.addEventListener(Event.MOUSE_LEAVE, timerOn);[code]...

View 8 Replies

ActionScript 2.0 :: Stop One Sound And Start Another?

Mar 5, 2010

I am trying to stop one specific mp3 file that plays throughout the whole document. But I don't want to use the off and on button. Instead when I press one of the pop-up buttons, I want a new sound to start in the pop-up window.

How do you stop the current sound that is playing and start the one on the pop-up? My main question is, is there a code that will stop current mp3, and start a different sound when the pop-up window is activated.

View 5 Replies

Actionscript 2.0 :: Start And Stop Sound?

Apr 13, 2009

How can I start and stop sound by using actionscript 2.0?

View 1 Replies

ActionScript 2.0 :: Start And Stop A Sound?

Dec 27, 2003

In this tutorial [URL] it shows how to start a sound, and I got that down, but using a seperate button, how do you stop the sound? I cant figure that out.

View 2 Replies

ActionScript 3.0 :: Want To Stop And Start A Sound?

Jul 8, 2009

PHP Code:
import flash.external.ExternalInterface;
snd = new Sound();

[code].....

View 1 Replies

ActionScript 3.0 :: Start Stop Movie On Click

May 5, 2010

i have a plane with movie material on it, im trying to make when i click on that plane. im trying to make if i click on that plain and material is playing that stop play and if is not playing that srarts.may plane is named 'film' and material on it 'movieAssetMaterial2', can someone explain me how to do it? i have tryed to make it myself but cant find out how.[code]

View 1 Replies

Stop Movie On RollOver, Start On RollOut?

Nov 4, 2009

I have a movie clip of scrolling images, but I want it to stop/pause when I hover over the movie, then start on RollOut.I'm guessing I need to use something like:on(rollOver){this.stop();}on(rollOut){this.play();}

View 1 Replies

Professional :: Code To Start & Stop At Certain Timing?

Jun 24, 2010

How can I write the Actionscript3 code if I want to start MyLogo 5 seconds after loading my webpage and then stop for 1minute and loop in the same manner.The following is the code right on my Actions_Layer:

var l:Loader=new Loader();addChild(l);l.load(new URLRequest("MyLogo.swf"));l.x = 17;l.y = 60;
l.contentLoaderInfo.addEventListener(Event.INIT, growLoader);

[code].....

View 1 Replies

Professional :: Start And Stop Movie With Keypress

Oct 4, 2010

How to do this? I'm very new to flash.

View 3 Replies

ActionScript 3.0 :: Start And Stop The Timer Using The Keyboard?

Dec 19, 2010

I would like to run a programme whereby I press a key that starts the timer and then press another key to stop the timer,the delay will be displayed and used to move a object on the stage dependant on the delay.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved