Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Start Playing Movie Clip Instance In A Frame


I have this movie clip in my library. I dragged it onto the stage at a particular frame, gave it an instance name, but when I play it, the movie clip instance doesn't play at that frame (doesn't play at all). How can I make it so that the clip starts playing (and looping) at that specific frame? I tried adding instanceName.gotoAndPlay(1) but that doesn't seem to work? Please help me! I would use the search but I think it's down b/c I'm getting timeout errors. Thanks!




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-09-2004, 01:44 PM


View Complete Forum Thread with Replies

Sponsored Links:

Make A Movie Clip Start Playing?
hi! what's the AS for a button to make a separate movie clip start playing when i press it.

View Replies !    View Related
Preload Issue: Start Playing The Movie Once A Certain Frame Has Been Loaded.
I'm building a quite large flash movie with hundreds of movieclips (with their own preloaders) with approx 150 frames in the _root timeline. But I've until now never been very confident with preloaders, and that is causing me hairloss.

Once the user enter the site, I want a preloader to come up, but I want to use actionscript to start playing frame 2 once frame 2 content is loaded, not start playing frame 2 once the WHOLE movie is loaded.

I use the below code for simple preloading with no feedback of progress, however it loads the whole movie before it start playback of frame 2:

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

All help is greatly appreciated.


Rex

View Replies !    View Related
Preload Issue: Start Playing The Movie Once A Certain Frame Has Been Loaded.
I'm building a quite large flash movie with hundreds of movieclips (with their own preloaders) with approx 150 frames in the _root timeline. But I've until now never been very confident with preloaders, and that is causing me hairloss.

Once the user enter the site, I want a preloader to come up, but I want to use actionscript to start playing frame 2 once frame 2 content is loaded, not start playing frame 2 once the WHOLE movie is loaded.

I use the below code for simple preloading with no feedback of progress, however it loads the whole movie before it start playback of frame 2:

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

All help is greatly appreciated.


Rex

View Replies !    View Related
Movie Clip Instance Not Playing Correctly
I've got a series of walkcycle animations in a movie clip which I'm using in combination with key presses to make the character walk across the screen. When I press up, left or right the clip plays the relevant frame so the character faces and walks in the right direction. There are only two walkcycle clips in reality, despite the four directions. The other two directions are instances of the first two clips flipped horizontally to face the other way. Now this is working fine for the clip that is facing away from the user. However for the clip that walks towards the user something strange is happening. When I press "left" the clip works and loops through the animation correctly. When I press "down" the clip plays an instance of the same clip flipped in the other direction but it won't play the whole timeline! As a result the character limps or hops across the screen in that direction.
So I tried to make a separate movie clip that was facing that direction without flipping, and it still did the same thing! I've changed it back to the way it was, and I've searched and searched for conflicting actionscript.
Can someone take a look and tell me if its just my stupid computer/keyboard playing up, or whether I've just overlooked something. Its driving me mad, and I want to move on to something else! I'm using FlashMX2004
Thanks people!

View Replies !    View Related
Playing One Movie Clip Instance After Another Reaches It's Target
Hi,


Basically I have 1 movie clip called mc1, inside this movie clip contains another movie clip with an instance name of "shape" and another movie with an instance name "box. To control the x position and alpha of the instance "shape" and the xscale of "box I have the following codes on frames 1-3 inside of mc1

frame 1:

//initialize xscale, alpha, x parameters
shapeX = shape._x;
shape1X = shape._alpha;
targetX = shapeX;
target1X = shape1X;

buttonScale = box._xscale;
buttonTarget = buttonScale;

frame 2:

//apply x position equation
if (shapeX<>targetX) {
shapeX = Math.round (shapeX+(targetX-shapeX)/4);

shape._x = shapeX;
}

//apply alpha equation
if (shape1X<>target1X) {
shape1X = Math.round (shape1X+(target1X-shape1X)/15);

shape._alpha = shape1X;
}

//apply xscale equation
if (buttonScale<>buttonTarget) {
buttonScale = Math.round (buttonScale+(buttonTarget-buttonScale)/10);

box._xscale = buttonScale;
}

frame 3:

gotoAndPlay(2);


mc1 is placed on the main timeline and the code attached to mc1 is:

onClipEvent (enterFrame) {
targetX = -660;
buttonTarget = 0;
}

basically all this moves the instance "shape" from right to left and changes the xscale of the instance "box, however both animations start at the same time

I want to perform the xscale of "box" after the instance "shape" reaches its target but am unsure how to do this. Please advise.

View Replies !    View Related
Movie Clip Frame Start
Did I learn this once or was I dreaming? I want to bring multiple instances of the same movie clip to a single frame on the main timeline. My movie clip is 35 frames long, all 35 frames with a different keyframe. On the main timeline, I want each instance of the movie clip to start playing the movie clip on a different frame so that each instance is not identical to the other, but staggered. Isn't there a way to do this?

Thanks,

View Replies !    View Related
Actionscript To Start At Frame In Movie Clip
I have Actionscript on a frame:

if(button_name == "button1"){
tellTarget ("frameTransition") {
gotoAndPlay(14);
}
}

This plays a movie clip at frame 14 that has an instance of frameTransition. This works fine. But when I get to frame 26 of this movie clip I want to play frame 2 of a different clip.

Something like this to add to the above code:

when frame == 26
tellTarget ("frameButton1") {
gotoAndPlay(2);
}

I know that "when fame == 26" is not correct. Can someone tell me the correct syntax indicate when I am at the frame of one movie clip to to start playing at a frame on a different clip.

I need to note that putting the following code on frame 26 of the first movie clip is not the solution I'm looking for.

tellTarget ("frameButton1") {
gotoAndPlay(2);
}


Thanks,

Rod

View Replies !    View Related
[F8]Playing A Movie Clip From A Certain Frame To A Certain Frame With A Button
Hey guys,

im slamming my head in trying to figure this out.

I have an invisible button and only one mc, the mc loops 3x then stops, this is defined with as in mc.

Now i want to play the movie from the invisible button but only loop it once.
Which means i would like to play it from frame 1 to frame 215.

And also when u rollout i would like the movie to stop and go to frame 1.

this is my button code so far


Code:
on (rollOver) {
tellTarget ("loader")
{
gotoAndPlay (1);}}


on(rollOut){
tellTarget ("loader") {
gotoAndStop(1);}}

on (release)
{
getURL(clickTAG, "_blank");
}
Help please

View Replies !    View Related
Making Movie Clip Start When Timeline Gets To Frame
Hello,

I have a movie clip call t-home, it is on the stage with an instance name of home...


When i get to a certain frame in my intro i want the movie clip to start playing, (also when they click a button later on, bur dont worry about this)

its not playing though... this is my script on the timeline

telltarget ("_root.home"){
gotoAndPlay(2);
}

and ideas

View Replies !    View Related
Playing Frame 26 In A Movie Clip
I need a button to have play a movie clip but I dont want it to play from the start. I want to it to play from frame 26.

heres the code i have that makes it start from the start. How can I change it make it play from frame 26?

on (release) {
gotoAndPlay ("_root.linksmovie.");
}

Lee

View Replies !    View Related
Playing A Frame In Another Movie Clip
Hello,
I'm working on a flash doc with multiple movie clips within each other. One is 3 levels down and I want it to play a frame at one level up. I know that if there were only 2 levels the code would look like:

on (release) {
_root.gotoAndPlay(18);
}

But since I don't want it to go to the root, I'm not sure how to make it go to the other clip. Can anyone help here?

View Replies !    View Related
Playing A Frame Outside A Movie Clip...
with ActionScript, Is it possible???

Scenario
Scene 1
------welcome_movie (movie clip)
------------active_links (movie clip instance)
------------------home(button) contact(button) portfolio(button)

------contact_movie (movie clip)
------------active_links (movie clip instance)
------------------home(button) contact(button) portfolio(button)

inside welcome_movie movieclip is an instance of the links (active_links) that contain the buttons...

Is it possible from the nested active_links clip within the welcome_movie clip for the buttons to play the contact_movie clip??? eventhough the contact_movie is not nested within the welcome_movie??? HOW??? *ERW scratches head*

Thanks for your replies!!!
www.towernetweb.com

View Replies !    View Related
GotoAndPlay Frame In Maintime Line From And Movie Clip Instance
Title should read: GotoAndPlay frame in main time line from a movie clip instance

n acs3 what is the command if you have a movie clip running some action script with an if statement and the when the if condition has been meet that the famous gotoAndPlay(Frame); is directed to the main time line and plays a frame number.

in asc2 it is: _root.gotoAndPlay(2);

in asc3 ?

View Replies !    View Related
Movie Clip To Be At Certain Frame At Start Of Movie
I am wanting a movielip(used as button) to be at frame 21 when it starts the movie. The movieclip will be my "home" button and frame 21 will be the "down" state of the button to represent the "home" page.

What code would I use for this?

View Replies !    View Related
Playing A Movie Clip In A Single Frame
I am looking for a way to make an entire movie clip play from one frame then move onto the next frame in the movie. I'm running into trouble as I can't seem to get the frame to play properly and I can't get it to move onto the next frame, it just keeps looping. Can anyone help me on this?

Wedge

View Replies !    View Related
Frame W/ Movie Clip Playing Too Fast
erf!!!! I'm going batty here. I have created a webpage and have a pre loader on the first frame (which works fine) and then an animation sequence which I have made (according to the lil timeline bar) 30 secs long, but when I veiw it- the loader shows up and then the animation is over in the blink of an eye! It's supposed to slide all the bits of the page layout in nice and slowly. (and yes I am vewing it live online not locally, and yes I have emptied my cache) Is this just some glich in mx? am I doing something wrong ?(I'm still learning flash )
I can send in the fla or give you the URL if ness if no one can give me an obvious reason for why it's doing this.
thanks heaps!

View Replies !    View Related
Playing A Movie Clip To A Desired Frame
if i have a movie clip on my stage that is at frame 1 and stopped, how could i create a button that would play the movie clip from frames 1-25 then stop and antoher button that will play it from 1-50 then stop?
i am sure this is confusing and stupid. so post back with your questions

View Replies !    View Related
[f8] Go To Next Frame After Movie Clip Finishes Playing
I'm a newbie to flash, and certainly to Action Script - I've been searching for this for many hours and nothing has solved my problem.

Here is a very detailed description:

The movie starts with a pretty winter night with stars and other lights twinkling. I want them to keep doing all of that shiny stuff, and so far they do.

There is a moon, which, when clicked, will tilt and dump a bunch of snowflakes on the ground. This moon is a movie clip in the first frame of the main timeline. The invisible button over the moon is also in the first frame of the main timeline, and it plays the tilting moon/falling snowflakes clip. That clip is in the second frame of the main timeline because there can't be both a tilted moon and a straight moon in the sky. That movie clip consists of a bunch of nested movie clips of individual snowflakes. All the child movie clips have stops in their last frames, so the movie clip only plays the whole sequence once. So far all of this works.

The first frame of the main timeline has a stop in it (if it didn't, the movie would proceed to frame 2 and play the snowflakes without allowing the user to click on the moon and cause snowflakes). It also has this code:


PHP Code:



moon_active.addEventListener(MouseEvent.CLICK, buttonClick);
moon_active.onPress = function(){
gotoAndPlay(2);
}




which advances the movie to the snowflakes clip only after the moon button has been clicked.

The 2nd frame of the main timeline has a stop in it so that the movie clip could finish playing completely when the button is clicked. So far all of this works too.

3rd frame in the main timeline has no button and no snowflakes clip in it. It has the original moon mc which needs to remain there throughout the rest of the movie (along with other stuff that will happen from frame 3 onward). The problem is - I can't get the movie to proceed to frame 3. I think I need an event handler for this that will advance the movie to frame 3 only after the last frame of the mc has played (which is frame 1 in that mc, but it's frame 706 in the longest mc nested within). I'm completely incompetent with action script (and pretty much with flash in general), and have no idea where to go from here - tried a million things that I read in various posts and tutorials and flash help, and nothing works. If someone wants to be kind enough to help, here is the file for reference: http://www.tranzed.net/junk/NewYearFlash.fla

Thanks in advance!

View Replies !    View Related
Playing A Movie Clip In A Simgle Frame
I'm making a flash gallery of several different animations, each being in one movie clip. I was wondering if there's a way to make a whole, say, 1000 frame movie clip play in a single frame on the main timelime, and how it would be done. (assuming that the main timeline frame has the actionscript to make the movie stop)

I'm kinda new to actionscript and all, even though I've been working with flash for a while, so it would be a real big help for this project and future ones.

-EDIT-
I'm using AS2 for this project.





























Edited: 01/03/2008 at 08:14:04 PM by ijp290

View Replies !    View Related
Button Within Movie Clip Only Playing One Frame
Hi,

I have a button within a movie clip which has the following code:

on(release)
{
_root.gotoAndPlay(2);
}

However, it only plays the second frame on the main timeline and not the following ones. (There is no "stop();" command on this frame in my actions layer).

Why is this?

View Replies !    View Related
How To Start Playing A Swf In Another Html Frame From A Particular Frame Number
I wonder how to get a swf located in anothetr html frame so that it starts playing from a particular frame number...
thanks to everyone who can help me... as I have to obtain this effect as soon as possible..

quinnity

View Replies !    View Related
How To Control The Playing Frame Of A Movie Clip Simbol?
Hello!

I have a movie clip symbol named "kt" let's say wit 10 frames. I put it on the scene. How can i control the Movieclip kt and make it play frame #2?

Thanks!

Anastasios Yalanopoulos

View Replies !    View Related
Playing A Movie Clip At Frame On Timeline Question
Hi,
I am having trouble learning how to trigger a movieclip at a specific frame in my main timeline.

I have an example fla file here: (its about 400kb)

http://www.harmoniccycle.com/harmoni..._03a_JMS_2.zip

Its part of this cartoon that I am working on:

top 10 reasons to wear a skateboard helmet

I want to get the hair movie clip to hold at frame one until frame 40 then I want it to play to its end and stop and hold while the main timeline plays out.

Can someone help with some instruction?

thanks,
mike

View Replies !    View Related
Playing Movie Clip Backwards To A Specific Frame
Hi guys,

I´ve looked in the forum for threads regarding playing a flash timeline backwards. As a matter or fact, I´ve found plenty of them... However, all of them just teaches us how to tell flash to go from the last frame to the first frame of the movie. What I need is to find a whay to tell flash to run backwards to a specific frame.

Best regards!

View Replies !    View Related
Playing A Movie Clip In A Different Frame Rate That The Movie Has HELP
Hello all, im trying to play a mc in a different frame rate than the movie (im using flash 5) is it possible?? any help appreciated !!!
Thanx in advanced.

View Replies !    View Related
Playing A Movie Clip Inside A Frame (how?) [newbie Question]
hi

im trying to create a movie with loads of transitions so what I want to do to make it simpler is to have movie clip inside every second frame, so that it plays them one by one.

However I started and placed a movie clip symbol on frame 4 of my animation which I wanted flash to play - but it skips right over it and moves on to play the rest of the content and never enters this movie clip symbol or play it.

What am I doing wrong here?
Can someone guide me how I can make this hapen so that when the flash reaches frame 4 it plays the movie clip there first and then moves on to the next frame without looping the same movie.

Thanks

Aku

View Replies !    View Related
Playing A Frame(s) Inside A Movie Clip From Actionscript On The Main Timeline
hello i was wondering if someone could tell me the correct syntax for playing a frame(s) inside a movie clip from actionscript on the main timeline.

I have tried: this.movie_clip.gotoAndStop("frame_name");

i don't want it to play, just stop on the frame (which does not contain any script).

also: gotoAndStop("this.movie_clip", "frame_name");

and: gotoAndStop(this.movie_clip, "frame_name");

please help!

thanks in advance

Al

View Replies !    View Related
Start Playing At Certain Frame, With LoadMovie
Is it possible to use the loadMovie command, and start playing the external swf at a certain frame?

I've posted this before, but no one could help, so hoping someone can this time.

View Replies !    View Related
Want Opening Movie Clip Instance To Close Underlying Movie Clip Instance
Just so you all know, I'm one of three people in our company that uses Flash and I'm considered "the expert". However, we don't do more than a few Flash projects a year, so my scripting knowledge is very, very green. Thanks in advance for your patience.

I have 22 buttons that play an assigned movie clip from the library. I suspect I'm building these things the wrong way (probably true), but here is how each button is constructed....

Each instance that I'm calling a button is actually identified as a movie clip intance with a button in it. It sits on its own layer. When I double-click an instance, several layers are displayed, the majority of which belong to the presentation of the movie clip. The clip lasts five frames.

The first frame consists of blank keyframes for each layer except for one layer that has stop() assigned to the frame and another layer with the actual button. The layer with stop() at frame 1 is then blank for the next three frames, and then another stop() on frame 5 (the last frame).

The button layer lasts all five frames. Here's the script for "display1980":

on (rollOver) {
_root.display1981.gotoandstop(1);
_root.display1982.gotoandstop(1);
_root.display1983.gotoandstop(1);
.
.
.
_root.display2003.gotoandstop(1);
_root.display2004.gotoandstop(1);
_root.display2005.gotoandstop(1);}

on (release) {
_root.Play();
play();
}

For each instance, there is no line of script that refers to itself. In this example for display1980, "_root.display1980.gotoandstop(1);" is not used.

As I mentioned earlier, each instance is on the main stage on its own layer. I've done this with only eight of my instances, so there are now eight layers. (There are--in fact--more than eight layers, but those are not part of this issue.)

The script I created does the job of getting rid of any previously displayed movie clip, but I created a new conumdrum: If I rollover any other button, the currently displayed clip closes. I've tried replacing "on (rollOver)" with "on (press)" but that doesn't work.

Like I said, I suspect I'm buildng this wrong. Is what I built a waste of time, or can it be salvaged? Or, is there a much better and efficient way (and I suppose there is) that can be described so that my green experience can absorb to good effect?

View Replies !    View Related
Using A Movie Clip Inside A Movie Clip To Start A Frame Of An MC Inside A Movie Clip
Situation:
I have a movie clip inside a movie clip with a button inside of it.

This button on release goes to a different movie clip(svideo) in a different frame on the maintime. This movie clip has a movie clip(portfolio) inside of it.
Okay: I use an absolute path on the aforementioned button
on release
_root.svideo.portfolio.gotoAndPlay(60);

But, for some reason Flash won't go to frame 60 of the portfolio movie clip that is inside of the svideo.

I have tried numerous variations on reaching frame 60 of portfolio. Like going to the maintime line and going to the portfolio MC. Also, portfolio and svideo are the instance names and not the name of the actual movie clip.

If anybody could help, I would appreciate it. Thanks.

View Replies !    View Related
Start Playing From A Frame After This Flash Is Complete
Hi,

.Fla Link

How can i modify this flash so that after the object (or in my case several objects whereby i copy/pasted/renamed the actionscript sections) has been moved the flash starts to play from a different frame...so that i can enter a "well done" kind of message.

Thanks

<param name="movie" value="http://www.xadnet.com/files/drag_and_drop.swf">
<param name="quality" value="High">
<embed src="http://www.xadnet.com/files/drag_and_drop.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="303" height="302">

View Replies !    View Related
Load External Mp3 And Start Playing On A Certain Frame
I am trying to load an external mp3 and have it start playing on frame 430 of my movie. The code I've tried either starts playing the mp3 right away or not at all. Here is what I'm working with:

onClipEvent (load) {

// sets up a sound object
faTrack = new Sound();
// load the external sound
faTrack.loadSound("intro.mp3", true);
// play the sound
faTrack.start(430);
}

After using this code it started the movie right after the sound was loaded. What is the proper method to make this work?

View Replies !    View Related
Playing A Movie Clip On Mouse Over And Continue To Last Frame On Mouse Out
Hi All,

I have a movie clip on the timeline which is an animated mouseover button

Basically what I need to do is for the movie to be stopped at frame one when there is no mouse over and loop continuosly when I do have mouse over then on mouse out i want it to finish it's frames playing from where ever it was at when the mouse was moved out to the last frame and then display frame one so it is stopped again ready for a new mouse over.

Something I have found difficult to work out is that whilst it is doing the "out" play to to last frame, if you put the mouse back over again, it starts from frame 1 so looks like it jumps so i need the mouse over to also read what frame it is currently playing so that it can continue its endless loop from that frame to avoid it jumping about.

I hope that makes sense, it's really difficult to describe in words.

Here's the movie clip's action as it is now.

on (rollOver)
{
this.gotoAndPlay("over");
}
on (releaseOutside, rollOut)
{
this.gotoAndPlay("out");
}

ok so in the movie's timeline itself, the label "over" is a frame containing another movieclip which is basically a continous 30 frame loop and my movie timeline is stop();

so, on (rollOut) it plays at label "out"

I have placed a copy of the movie loop at the "out" frame which plays the movie slower at the end to make it a nice wind down stop

what I thought to do in action script is to read the current frame that the movie loop is at and make so the "out" position movie starts its playing frame from that frame number until it reaches the end frame where it jumps back to frame one of the timeline with the first stopped frame.

I've seen a command something like this below used to get the current frame number and take it away from the total to continue playing from that point, that's not totally right for what I am doing but it shows me the sort of thing i need to write but i don't know how to write an actionscript to read the current frame from the movie1 whcih is playing and start playing movie2 at "out" from that frame number?

on (rollOut) {gotoandPlay(_totalframes - _currentframe); }

maybe there is an easier way to get this to work, i've seen lots of similar examples on the web but nothing that specifically plays a lopp and then continues to the end on mouse out. it sounds simple but I've tried all weekend to do it without success?

Can anyone help me please?

Thanks,
Terrence.

View Replies !    View Related
AS2 - How To Reference An Instance That Doesn't Exist At The Start Of A Movie
Hi

Not sure if I'm over complicating this, but I thought I'd ask how other people handle this.

I want a class (MyClass) to reference a movieclip, e.g. _root.aclip.target, but 'target' doesn't appear on the stage until frame 50 of 'aclip'. MyClass is initialised at the start of the _root movieclip. So 'target' needs to let MyClass know when it is loaded.

I can't set MyClass to listen to 'target's load event because 'target' doesn't exist. I could make 'target' call one of MyClass's methods, but that isn't really what I want to do; it's bad practice, what if there were twenty different things that want to know that 'target' has loaded etc.

I could set up some sort of Observer to listen for 'target' loading and dispatch an 'targetLoaded' event... or something like that.

What do you do?

Thanks for reading.

View Replies !    View Related
Automatically Start Playing Movie?
On my first frame I have ..

loadMovie("sound_file.swf", _root.clip);

i want it to automatically start playing... how would i go about doing that?

View Replies !    View Related
Playing Movie From The Start Within Multiple...
Hi all!

I have a problem that is driving me crazy.

I have built a movie in which I have multiple MCs that go one from another. Now once the movie goes and plays the last MC is stops. So I have tried to do gotoandplay(_root, 1) and tried couple of more and I am running out of ideas.

Does anyone know the right action for the movie to go back to the begining, which is SCENE 1 and play from the start?
All help would be greatly appreciated!!!
Thank you.

View Replies !    View Related
Movie Instance Not Playing Help
I have in the ACTIONS area where the buttons are

button.onRelease = function() { about.gotoAndPlay(1); }

which means that if the button is clicked it will play the movie instance name about correct?? so why isnt it playing??

here is the file.... What am i doing wrong??

http://missdjbee.com/test/main.fla

View Replies !    View Related
Check If Movie Clip Finish Playing Before Playing Next
I'm trying to figure out how to create a conditional variable script to check to see if one of the 4 movies are finished before starting the next selected one.

I have 4 menus with 4 movie clips that have an opening and closing animation in them.
When clicking the one of the buttons I would like it to check and see if any of the movie clips are in the open position. Then have the movie that is in the open position play it's closing animation. Then play the selected category movie that the person clicked on.

I know it's all done with variables but just cant figure out how to put it together.

here is what i have so far.

menuStatus = 0;
trace(menuStatus);
but1.onPress = function() {
if (menuStatus == 0) {
menuwork.gotoAndPlay("start");
menuStatus = 1;
} else if (menuStatus == 2) {
resetMenus();

}
};
but2.onRelease = function() {
if (menuStatus == 0) {
menuwhoweare.gotoAndPlay("start");
menuStatus = 2;
}else if (menuStatus == 1){
resetMenus();
}
};
function resetMenus() {
if (menuStatus == 1) {
menuwork.gotoAndPlay("close");
menuStatus = 0;
} else if (menuStatus == 2) {
menuwhoweare.gotoAndPlay("close");
menuStatus = 0;
}
}

thanks for any help in advance

View Replies !    View Related
[MX] Playing A Clip Inside A Frame (how?)
hi

im trying to create a movie with loads of transitions so what I want to do to make it simpler is to have movie clip inside every second frame, so that it plays them one by one.

However I started and placed a movie clip symbol on frame 4 of my animation which I wanted flash to play - but it skips right over it and moves on to play the rest of the content and never enters this movie clip symbol or play it.

What am I doing wrong here?
Can someone guide me how I can make this hapen so that when the flash reaches frame 4 it plays the movie clip there first and then moves on to the next frame without looping the same movie.

Thanks

Aku

View Replies !    View Related
Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

View Replies !    View Related
Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

View Replies !    View Related
Start Movie At Frame ()
Does anyone know what the actionscript is to start a movie at a specific frame?

View Replies !    View Related
Loading A Movie (within A Movie) & Assigning A Random Start Frame
Flash 5

Hello everyone.

After taking almost a year off from web programming Im relearning flash :0

I haven't gone past the basics with Flash 5 and have a couple projects coming up.

The routine I wish Flash 5 to do should be something simple to explain I hope for a vetrin user.

1) Flash Movie A (180 x 60) loads Flash Movie B (60x60) into left most space (say slot 1) and then randomly tells Flash Movie B to start at a particual frame (random(8). Each frame is a simple image with an actionscript Stop; command).

2) Flash Movie A fades in 1st Flash Movie B at slot 1.

3) Flash Movie A loads another Flash Movie B in the middle space (slot 2) and once again randomly tells Flash Movie B to starts at a particual frame (random(8) (just a static picture like in 1).

3) Flash Movie A fades in 2nd Flash Movie B at slot 2.

4) Flash Movie A loads another Flash Movie B into the far right space (slot 3) like the others (tells Movie B which random frame to start at).

5) Flash Movie A fades in 3rd Flash Movie B at slot 3.

My feeble mind is having a problem telling:

1) Where to tell Flash Movie A to position each load of Flash Movie B.

2) How to tell Flash Movie B I wan't it to start at a random frame.

I have the fade in and fade out set

also.... slightly more complex.. Does anyone have experience in doing somethnig similar to this and setting a variable to define which random numbers were selected for each slide so they will not repeat. (i.e. after loading slot 1 it will also define 'slot1' at the same time it creates that random number for slot1 and so on).


TIA
Dan

View Replies !    View Related
Making Movie Start From Frame 50
Hi all,

Heres the situation. I have a ebsite which does not consist of frames. The first page on the website is a flash animation where I basically bring the menu bar in from the side. Now when you click on one of the menu links you are taken to another page reloaded over the current. On this next page, I want the menu to be present but not play any of the animation. I.e the movie is loaded into cache I want the html to tell the movie to start at frame 50, thus not playing the animation. Can I do this?

Many thanks in advance

Steve

View Replies !    View Related
Set Start Movie On Random Frame
How is possible set up playing the movie for random frame?

Thanks jan

View Replies !    View Related
Load Movie And Start At Frame 10
I have a movie with 7 buttons. I would like my "home" button to go to the index1 page and start at frame 10. However, I don't know enough about action codes to know what to do next. I used behaviors to write the code below. This will get me to the index1 page however, it starts at frame 1. This is were i placed the loading bar. How can I start at another frame?

on (release) {

//load Movie Behavior
if(this == Number(this)){
loadMovieNum("index1.swf" ,this);
} else {
this.loadMovie("index1.swf");
}
//End Behavior

}

Thanks everyone.

View Replies !    View Related
Start Movie On A Random Frame?
I've seen similar posts to this - but none really accomplish what i want - which I hope is fairly simple.

I have a simple movie that is a series of pictures fading in and out. Each picture begins at 10% opacity, goes to 100% and then back to 10% and then the next picture... and so on.

I've labeled the beginning frames of each picture as "a" through "v" (792 total frames)

Can I put a script in the first frame which will start the movie on a random labeled frame each time the web page is refreshed?

I'm just above beginning with actionscript. I'm using Flash MX.

Thanks.

View Replies !    View Related
How To Start Swf Movie On Specific Frame?
I have a header swf that is slightly animated, and I want each page to load the file on a different frame.

I'm thinking perhaps if I edit the swf for each page, is there action script that can tell the movie to start at a specific frame?

Many thanks.

View Replies !    View Related
My Movie Won't Start On Frame 1? Newbie
Hi!

This is my first shot at creating a flash website.
I have three layers
and I've divided the timeline up into sections
so I have one for Contacts, Press, News, Home, etc...

However, the home section starts on frames 1-10
but whenever I test the movie, it starts up on frame 40 and displays the contacts...
Also when you click the Home button, it still just displays the contacts,
all the other buttons/pages work fine

any advice/help would be kindly appreciated

I can't figure out how to make it start on frame one






























Edited: 11/20/2006 at 11:42:00 AM by EddieKG

View Replies !    View Related
Can I Start Flash Movie At Another Frame?
hi,

i want to start a flash movie at frame 100 instead of 1. calling it from an html document.... please help.
thanks

View Replies !    View Related
Movie Wont Start On Frame 1
I'm new to Flash...
When I test the movie/website file... it starts on the 60th frame, not the first
and when I try to click the button I made, "HOME" it won't go to the 1st frame,
it stays at 60..

Any idea what might be going wrong and how to fix it?
thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved