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




How Do I Load/stream Individual Movie Clips Within Other Movie Clips



I am using flash 5

I have a movie with a huge movie clip in it and that movie clip has lots of movie clips inside that. how do I load each one individually so when the viewer clicks on abutton it starts to laod the related movie clip.

Please help.. I'm working on borrowed time and borrowed money



FlashKit > Flash Help > Flash ActionScript
Posted on: 09-12-2002, 04:14 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Preload Individual Movie Clips
hey,

i've got simple preloaders that work at the begining of my swf files...

now i have a simple menu system, and on each press of the different menu, i want to preload (with progress bar) the contents of that menu...

how is this possible?

cheers, rob

[f8] Targeting Individual Movie Clips
Hi,

I'm making a demo movie that contains several Movie clips that animate down the stage and contain a button with an over state and a nested movie clip for a text effect.

I want to target the individual Movie clips so that they Stop movement on MouseDown and Play on MouseUp.


The code is as follows:
I can accomplish it for one Movie clip, but the action also affects the other clips simultaneously.

How do I discreetly address the individual Movie clips without affecting the others?

Thanks ahead of time for the help.

[f8] Targeting Individual Movie Clips
Hi,

I'm making a demo movie that contains several Movie clips that animate down the stage and contain a button with an over state and a nested movie clip for a text effect.

I want to target the individual Movie clips so that they Stop movement on MouseDown and Play on MouseUp.


The code is as follows:

onClipEvent (mouseDown) {
this._parent.TAPmover.TAP.onMouseDown = function(stop) {
};
stop();
}
onClipEvent (mouseUp) {
this._parent.TAPmover.TAP.onMouseUp = function(play) {
};
play();
}


I've attached the .FLA for review.

I can accomplish it for one Movie clip, but the action also affects the other clips simultaneously.

How do I discreetly address the individual Movie clips without affecting the others?

Thanks ahead of time for the help.

Movie Clips Acting As Buttons Can't Load Other Movie Clips
Frame 1 has three movie clips on it, instance names are A, B, C. I have the following actionscript on frame 1 as well:

stop();
import flash.filters.GlowFilter;

ar = [A, B, C];

for(var z=0; z<ar.length; z++) {
ar[z].onRollOver = rollover;
ar[z].onRollOut = rollout;
}

function rollover() {
this.swapDepths(0);
this.filters = [new GlowFilter(0x333333, .20, 7, 7)];
}

function rollout() {
this.filters = null;
}

This code creates a glow, obviously, on whatever movie clip I rollover. What I want to do as well is this:

I want to click on mc "A" and have it launch a different movie clip (let's say "X") on top of everything else (so that A, B and C are still visible in the background). "X" is in a sub-folder of "A" if that makes any sense or is relevant. Same kind of action for mc's B and C. B should launch mc "Y" and C should launch mc "Z".

What is the actionscript for this? Any questions please let me know. Please respond, I need this info as soon as possible. Much appreciated!!

Text

Targeting Individual Movie Clips From Duplicatemovieclip
Well its been a few weeks on and off, i prefer to normaly disect other peoples code rather then ask for help but after searching the forums
Ive been working on a small flash game, trying to remake one similar to that on the old Amiga
My first problems come from trying to shoot lasers from a small ship. Here is what i have done so far.
My Game So Far
Arrow keys to move, space to fire.

For now i would just like to be able to target each laser, then i could add the remove and collision code hopefuly on my own.

My code which creates the trail.

ActionScript Code:
if (Key.isDown(Key.SPACE)) {
        i++;
        duplicateMovieClip(_root.lasers, "lasers"+i, i);
        _root.lasers._x = _root.Ship._x;
        _root.lasers._y = _root.Ship._y;
        _root.lasers._rotation = AngleOut;  }
The code which i have tried to use

ActionScript Code:
lasers.onEnterFrame = function() {
     _root.lasers._y += -Accel*Math.cos(mthp/180*AngleOut);
     _root.lasers._x += Accel*Math.sin(mthp/180*AngleOut);
}
if i add _root. infront of the lasers.onEnterFrame only one laser will fly off on a tangent and likewise if i press space again but not in any remote angle i desire.

I have tried using arrays but once again i dont know how to set them up for each laser created.

If anyone could help me target each laser im sure that could set me up for another few weeks until i am stumped again (and if you actuly read all that thanks

Dragging And Rotating Individual Movie Clips
Hello everyone

A while ago, I posted a little thread asking for help with a simple yet stressing issue (at least for me, an AS noob). I wanted to drag individual movie clips around the stage as well as rotate them, but wasn't able to because of X reason.

Now i have just finished the right script and I'm posting it here in case anyone is having the same problem.


Code:
on (press) {
drag = true;
}
on (release) {
drag = false;
}
onClipEvent (enterFrame) {
if (drag) {
this._x = _root._xmouse;
this._y = _root._ymouse;
if (Key.isDown (Key.RIGHT)) {
this._rotation +=10;
}
if (Key.isDown (Key.LEFT)) {
this._rotation -=10;
}
}
}
I hope it helps someone, i have seen some threads asking for something like this. The only downside i find is that you have to place the code in any object you want it to work, but it's not that bad.

Cheers,
JRRC

Playing Individual Movie Clips In Sequence?
I'm new to ActionScript but I'm starting to learn with version 2.0 of MX 2004.

I want to build three movie clips within Flash and make them play one after the other rather than orchestrating them all on separate layers in the timeline. Does that make sense?

It just seems that it would be more efficient and easier to change later if I individualized my movie clips and used actionscript 2.0 to play them in sequence.

Does anyone know how to do this? Maybe there's a better method?

[F8] Help Making Movie Clips Load Other Movie Clips...
well i have miraculously figured out how to make my buttons grow and shrink simultaneously reacting to mouse overs... and even stay large when they are clicked on... however the only way i found to do this was by making them movie clips and not buttons...

now luckily the task at hand i'm assuming will be quite a bit easier than what i've already accomplished...

i am looking to now make those movie clip instances (when clicked on)... load photos into an empty movie clip that will be a separate swf... in the same dreamweaver file...

i have made each photo into a small movie clip that simply tweens the photo from alpha 0 to alpha 100 and back to alpha 0...

so i'm hoping for some code that will call up the first part of the movie clip (the fade up) when the corresponding movie clip is clicked on... and hold it... until another button is clicked... making the current movie clip play to end (fade out)... and then load the new movie (up to the middle... alpha 100) into the empty movie clip...

How To Remove All Movie Clips/array: Movie Clips Carry Over To Next Frames/ Scenes
Hi: I am creating a small game. So far so good, but only problem I have come across is when I jump to another frame or scene, previous movieclips (using an array) that are still running carry over to the next frame/scene.

See attached if you have some time- start clicking on answers in the game, and when time runs out some movie clips that are still running will remain on top of my end frame and carry over to the next scene as well.

Is there any sort of remove all movie clips or "clear all" type of actionscript?

thanks in advance!

Maintaining Event Behavior For Movie Clips Nested In Movie Clips
Is there any way to maintain a clip's event callbacks when said clip is nested in a parent clip that has its own definitions for those callbacks?

In other words, if clip B has a definition for .onPress and clip A has a definition for .onPress, is there anyway to maintain clip B's definition if it is nested in clip A?

I have tried doing it by making clips into movie clip subclasses but it doesn't work... but how do components work then?

Accessing To The X And Y Coordinates Of Movie Clips Inside Of Other Movie Clips
lets say I have a movie clip with an instance name of "char" and another movie clip inside it with an inctance name of "ball" and when I try this I get zero:

_root.char.ball

why?

thanks in advance because you flashkit users know everything about flash in and out.

Movie Clips Within Movie Clips: Text Link Problem
Hello.

I have a Movie Clip that is my main one with another Movie Clip inside of it. In the subordinate Movie Clip, I wish to have text linking frame (13) to frame (14) for instance. The problem that manifests is that while buttons is the subordinate Movie Clip link to frames within it with no complications, the text link from 13 to 14 with its respective code links to the last frame (would be 14) in the main Movie Clip.

Am I doomed to convert all text links to buttons in the subordinate Movie Clip or is there (what I am praying for) a code to work around this and keep frame links confined to the subordinate Movie Clip? I would appreciate any help that anyone can offer regarding this problem. Many Thanks.

External Movie Clips With Multiple Menu Movie Clips
It's pretty late and I don't think i have enough time to search this question in the forums but here I go. Sorry If I upset someone for making a topic that already exists.

I have a main timeline that im importing an external movie clip in. This external movie clip is named "members" it has several buttons that load other external movie clips into a window within "members" . What do I need to do to make this work. Do I need to use "this, _parent, _root, level(s) or "whatever.swf". If you can help me out that will be great. I'll make it up to you down the road. No sexual favor please.

I'm using flash mx 2004 btw.

Thanks in advanced

Effective Way Load Movie Into Movie Clips
Is there a effective way to load movies into MC's(movie clips) rather than using levels. For some reason, I try use the load movie action and the movies start to play before I want them too. I place a stop action on the first frame of the swf.file, but flash seems to be ignoring it.

First I use the load action in the frames before;

loadMovie ("tb.swf", "lb");

and the trigger frame where I want clip to start, I place this

with (_root.lb) {
gotoAndPlay (2);
}

For some reason, it loops. Do I have to have a blank keyframe or any keyframes on the movie clip? Does the MC have to have only one layer? How does the action know which layer to go to?

Tempe,Arizona

Load Movie/Unload Movie Clips
Hello all you learned people:

I am having diffuclty in getting information on how Loadmovie and unloadmovie scriptds work.

Here is what I am trying to do. I am developing some computer based training where I would like to have a menu of selections about the training to be taken so the student can navigate to each movie clip individually then return to the main menu.

I have gotten the Loadmovie script to work for one instance, opening only one movie so far but I am unsure how make the .swf file that is called unload and return to the main menu so the student can move on to another topic.

Any help in understanding how these work would be greatly appreciated.

Oh and I have looked through the tutorial on this site for this subject but it did not help much.

Thank You
Shungon

Load Movie Clips Help
hi
i need some help on loading/preloading movie clips all in one swf file.

what i want to learn is how to speed up my movie for slow connections without having a huge preload in the beginning.

in the beginning id like to preload the intro and the main page"s background and layout.
after that is loaded and shown id like to have a small preloader in the main swf that says "loading interface" or something... preloading the navigation m/c.

when navigation is all up and loaded....when the destination is chosen (profile, links or whatever) id like to have a similar preloader load the next mc containg the content. instead of preloading it all initially in the begining.

etc. etc. etc.

i see many many site use this technique ( 2advanced.com , dennisinter.com and many others.)

any help would be appreciated
any points to a good tutorials would be great!


thank you.
[Edited by heks1 on 01-08-2002 at 09:01 PM]

Load Movie Clips
Hey Board! Im in need of some of your eternal wisdom once again.
I have 4 movie clips in my library (each 65 frames long) that I need to play in successive order (one after the other) throughout my movie on my main timeline. How would I actionscript them to load/play (where i need them to) in succession and then keep repeating that succession throughout my entire timeline?
Trying to get the hang of actionscripting and would appreciate any shared help or knowledge!
Sincerely,
~geoff

Need To Load Movie Clips One After Another
How do you load external movieclips into a movie clip that will display the external movieclips one after another.

I have the following entered

Main Timeline

Frame 1
loadMovie("theintro.swf", 0);
gotoAndPlay(2);
stop();

Frame 2
loadMovie("menu.swf", 0);
stop();


The movie automatically goes to frame 2 But I want it to play theintro.swf and the go to menu.swf

I know how to do it with a button but do want a button event.

Should I us on clip event?

Load Movie Clips
this one I know should be easy but screwing with my head. I'm loading movie clips into a main 'player' movie clip and when the loaded movie clip refers to _root the action script ain't working. I guess it looking for variables in the player ?? Is there anyway I can get round this ?

Load Movie Clips
Hi all,
For a project I'm working on, I need to load an external movie clip into the main flash timeline, which I've done, the only thing is that it appears at the upper left corner of my screen and I want it to appear near the center of the screen. Do you know how to do this? Thanks in advance. Let me know if you need the fla to help.

Movie Clips Don't Load...
This is really weird... I'm using this actionscript to load all of my movies:

loadMovieNum("my_video2.swf", 1);

I have four movies all together (the main file, plus the 3 loaded ones) and when I put the actionscript on koolmoves, it works fine... the problem is that when I put it on the website (www.filepimp.com) it doesn't load the last 3 movie clips. They're all saved in the same file (my documents) ... so does anyone know what could be wrong? I'm supposed to have the movie up by today, so please HELP! thanks in advance

[F8] Load Movie Clips
Is it possible to load multiple swf files into one empty movie clip on different depths of the empty mc then be able to switch between those depths.
I want to switch between clips with the click of a button.
If so, can someone help me with the code?

Thanks,
~SC

Load Movie Clips Through AS
Hi everyone, I am having trouble loading a movie clip through actionscript. I have 3 movie clips. One is "Circle_mc, Second "Square_mc adn the Third Rect_mc. I want to load each of the three through actionscript but be at different positions? I appreciate your help. I have searched but couldn't find a thread like I needed.

Example:

onLoad()
Circle_mc.play()
this.Circle_mc_x=50;
this.Circle_mc_y=65;
//Load the Square Movice Clip
Square_mc.play()
this.Square_mc_x=80;
this.Square_mc_y=90;
//Load the Rect Movice Clip
Rect_mc.play()
this.Rect_mc_x=20;
this.Rect_mc_y=30;
Thanks

Is It Possible To Load Two Movie Clips At Once?
I am trying to load a opening box animation and simultaniously text on top of the animation, is that possible?

How Do I Load Movie Clips
Hi all,
I have five buttons and each button click I want to load a different movie clip for each button press. Currently I have the five different movie clips on five different layers with labels attached, so in my on press event for each button i do a goto to the label. This is not working to well. Is their a better way to do this. I want to hit the ground using as much action script as possible.

Thanks

How Do U Load Swf Movie Clips
hi

i need some help how can i load outside swf movie clips onto 1 swf movie.

i know i need to use action script for this ive had a go but cant get anywhere

thanks guys

Is It Possible To Load Two Movie Clips At Once?
I am trying to load a opening box animation and simultaniously text on top of the animation, is that possible?

How Do I Load Movie Clips
Hi all,
I have five buttons and each button click I want to load a different movie clip for each button press. Currently I have the five different movie clips on five different layers with labels attached, so in my on press event for each button i do a goto to the label. This is not working to well. Is their a better way to do this. I want to hit the ground using as much action script as possible.

Thanks

[MX04]Movie That Works Fine When Clips Apart Acts Strange When Clips Are Together.
Hi,

I have a pretty basic movie in which a ball moves along a track.

The track is made up of 3 sections & all I want the movie to do is trace an ID number (num) that is an individual property of that clip when it goes over it.

In the first movie attached below “trackOne” the whole thing works great! However in the other movie “trackTwo” I have moved the clips closer together & the whole thing has gone crazy with the following issues.

1.)The “trace” command fires on every “onEnterClip” event

2.)A text field that is used to show the ID number only changes when the ball is fully over the clip not as it first touches it, as it does in the first movie

3.)Although the ball is full off a clip it keeps tracing it’s ID number together with the new clips number?

Anybody able to help me on this?

Screwy Stuff With Movie Clips Within Movie Clips
This is kind of difficult to explain but here it goes...
I have created a Barney's like slide site and have gotten it to work fine. the problem I'm having is when I take scroll text box and try to place it on the movie clip that is going to be the part of the site that is going to slide out.

The whole thing slides fine and the scroll box is visible. However, the text is not visible therefore I'm not sure if the up/down buttons are actually working.

The scroll box is a movie clip itself with "on(release)" commands on the buttons. The "onClipEvent" commands are added to the textbox when the scroller movie clip is brought into the slider movie clip.

Is this something that just isn't supposed to work or I am doing some thing dreadfully wrong?

Thanks in advance,
Fakeout

Is It Ok To Duplicate Movie Clips Inside Movie Clips?
is it ok to duplicate movie clips inside movie clips? Seems to be a problem here...

Intersecting Movie Clips/ Dividing Movie Clips
I've bee trying all day to find out how to find the intersection point on two moive clips with non linear lines in them.
If I use the Hit Test method it seems to recognise only the hit point when the imaginary rectangle arounf the two clips collide. Is there any way of determining the point where the lines themselves cross over.

If not I think I've got another method but I can't figure it all out.

I know at what x point the lines will cross over (the more horizontal of the two lines will be crossed every by one of the verticle lines every 1/108th of it's width) but I can't determine exactly where the Y co-ordinate of this line will be at the time.

I could sort this out if I was able to delete all of the more horizontal move clip except the point of intersection I'm looking for, I'd then then be able to determine the y co-ordinate at this point. But I havn't been able to determine how to delete a move clip for example from x=0 to x=51 but leave the rest of the movie clip on the screen.



Any help with this would be much appreciated.

Cheers

Scifo

Creating Movie Clips Inside Movie Clips
Hello,

I am having difficulties creating movie clips within other movie clips. The following works to create a movie clip on stage with no problems...


Code:
//Create movie clip and load image into it
_level0.createEmptyMovieClip("tn1",this.getnextHighestDepth());
mcl.loadClip(String(albums[0].photos[0].image),"tn1");
However, I want these movie clips inside another movie clip (mcPics1). For this I attempt...


Code:
mcPics1.createEmptyMovieClip("tn2",this.getnextHighestDepth());
mcl.loadClip(String(albums[0].photos[0].image),"myPics1.tn2");
Can anyone tell me where I have went wrong?

Thanks!

Targeting Movie Clips Inside Of Movie Clips
I am a AS3 newbie and am working on an animated cell phone text demo for my company's web site. I have three phones, each are a movie clip with a time line animation. The three phones are all inside of another movie clip where I animate their intro. I have a stop on the first frame of each of the three cell phones so that their screens are static as they fall into place. Their animations begin on the second frame of each of their respective time lines, and I would like the animations to begin when the phones are clicked. I'm not sure if these clips should be targeted from the main time line with the rest of the global script or if it should be on the time line of the nested MC. Even if I knew where to put it, I'm not really sure exactly what the script should be. Please help! My boss wanted this done last week!!!

Movie Clips Controlling Movie Clips, Problem
Hello.

I've been trying to make some drop down menus for awhile and I've run into a snag.

I have a button that when you roll over it, a movie clip appears [jumps to frame 2, frame 1 is blank.] This mc is the drop down menu. The drop down menu mc consists of other buttons that when you roll over them they stay green, but all other buttons go blue. [done by making certain mc jump to frame 2 and others jump to frame 1 to dissappear.]

So this all works fine.

My problem now comes when I try to attach on (release) functionality to the buttons inside the drop down mc. I have the following code on one of the buttons inside the 1st drop down menu:

// Drop down menu colour changes.
on (rollOver) {
_parent.about.gotoAndStop(1);
_parent.what_about.gotoAndStop(1);
_parent.what_else_about.gotoAndStop(1);
_parent.where_about.gotoAndStop(2);
}
// Trying to get wherewestarted movie clip to jump to frame 2 on release.
// Also making other movie clips jump to frame 2 to dissapper.
on (release) {
_parent.wherewestarted.gotoAndStop(2);
_parent.mainlogo.gotoAndStop(2);
_parent.address.gotoAndStop(2);
}

So the on (rollOver) part workds great, and I'm quite pleased with the resluts... however when you click a button in the menu, nothing happens. No movie clips appear, or dissappear. I've tried it without using _parent, I've tried _root... I just don't know what to do.

How can I get a rollover AND a release action?

Help!!



DryCow

How To Make Movie Clips React To Other Movie Clips?
I'm designing this menu system that has four square buttons in a horizontal line. The premise of the menu system is when one button is clicked that button expands horizontally and the other buttons shrink horizontally and slide to the right. How would I go about doing this with actionscript? I'm using Flash 8 and Actionscript 2.0.

Movie Clips Controlling Movie Clips, Problem
Hello.

I've been trying to make some drop down menus for awhile and I've run into a snag.

I have a button that when you roll over it, a movie clip appears [jumps to frame 2, frame 1 is blank.] This mc is the drop down menu. The drop down menu mc consists of other buttons that when you roll over them they stay green, but all other buttons go blue. [done by making certain mc jump to frame 2 and others jump to frame 1 to dissappear.]

So this all works fine.

My problem now comes when I try to attach on (release) functionality to the buttons inside the drop down mc. I have the following code on one of the buttons inside the 1st drop down menu:

// Drop down menu colour changes.
on (rollOver) {
_parent.about.gotoAndStop(1);
_parent.what_about.gotoAndStop(1);
_parent.what_else_about.gotoAndStop(1);
_parent.where_about.gotoAndStop(2);
}
// Trying to get wherewestarted movie clip to jump to frame 2 on release.
// Also making other movie clips jump to frame 2 to dissapper.
on (release) {
_parent.wherewestarted.gotoAndStop(2);
_parent.mainlogo.gotoAndStop(2);
_parent.address.gotoAndStop(2);
}

So the on (rollOver) part workds great, and I'm quite pleased with the resluts... however when you click a button in the menu, nothing happens. No movie clips appear, or dissappear. I've tried it without using _parent, I've tried _root... I just don't know what to do.

How can I get a rollover AND a release action?

Help!!



DryCow

Problems Creating Movie Clips Within Movie Clips
Okay, I'm creating yet another game and need to create a vehicle. So I wanted to create one movie clip for the vehicle and within that movie clip create multiple movie clips for all of the parts.

So I created a new symbol, let's call it vehicle and then within that area I created all of the vehicle parts as symbols within that symbol. At least I think I did. Anyway, when you look at the library, sure enough you see all of parts for the vehicle and the vehicle itself. Within actionscript, however, I can create an instance of the vehicle. I can create instances of all of the parts, but not the vehicle.

The reason why I was going this route is that I wanted more realistic movement. I wanted certain parts of the vehicle to move depending on what the user did, but not other parts. Can anybody shed some light on this subject? Thanks in advance.

Load Movie Clips On Key Press
hi would like to load a movieclip on a certain key press and load another one on key press and the same time unloading the prevours one

ie assign a movieclip to each key and load an unload them on key press on or offf

any help?

bhee

Load & Unload Movie Clips
hi all,

anyone knows how to load and unload a movie clip from an empty movie clip? what i would like to achieve is loading a movie clip onto an empty movie clip on the main movie; then, when click on a button, unload the previous movie clip and load a new one in its place.

i'm very new to actionscript so, please give me the necessary line of codes in details.

thank you so much for your help!

michael

Load Movie Clips Seperately
i searched the forums for ages and couldn't find the answer to my problem..seems easy enough, but here goes... i want my movie clips to stay unloaded until they are needed...so my main timelime will be the background and the buttons...the movie will have only loaded to frame one...so when when someone clicks on one of the buttons, it will go to ,say, frame 5 where i have inserted a movie clip..then the movie clip pops up, loads (with loadbar or animation) and so on..any help is appreciated..
cheers

Random Load Movie Clips
Hi there,

Could someone point me in the right direction..

I have created my site perfectly and each clip loads from Movie Clips etc.. What I have is on the homepage different areas such as news, clients, features.. What i want to do now is in each of these areas load a random movie clip to make the site look like it is more dynamic.. Has anyone got a script for this that i can pre select say 3 - 5 swf files to load randomly or in order each time the page is refreshed. I would want to do this for each MC so the site looks dynamic.

Thanks.....

Load Dynamic Movie Clips
I'm new to actionscript. Hope I can present the problem clearly. I have set up a variable after clicking a button:


Code:
on (release) {
var targeticon = "picA";
}
so after clicking this button, the movieclip "MC" and image "PIC" will be changed to the value of "targeticon", i.e. "picA" in this case.

I don't want to use createEmptyMovieClip to create "MC" & "PIC". Anyother way doing so. Isn't there's an easier way to do that like the dynamic text field?

How Do You Load Movie Clips Randomly?
I've got these mc of characters walking around. I want to add them to my stage randomly with code so these 12 different movie clips seem to come and go as they please. I understand I may need a timer so I don't get to may loaded at one time? This is a bear. Any help or tutorials I can use? Thanks, sincerely frustrated, Keith.

Load Movie Clips On Swf Start...
Hello. I'm still using Flash MX, and I'm trying to do something very simple but I can't seem to locate the function.

I want to have an swf that loads up only movie clips when it starts. I'll have about 6 objects on different levels. But I want the entire screen to be movie clips only. What's the name of the event handler/function that kicks off when an swf starts?

Thanks!

[F8] Unload And Load Movie Clips
hello,
I have navigation bar who contains an intro, when the intro is finished I want it intro movie to "swap" for the working nav bar. (am I clear???)
So the user cannot see their is a swap.

Should I have something in my AS like play movie, unload and load??

Thank you

[CS3] Load Random Movie Clips
Hello,

I have created a flash site/game. The stage consists of a static picture ive made that lasts for one key frame. there are several movie clips that i would like to start randomly playing within the stage called pigeon, giraffe, ibis, zebra and plane. They are all animated movie clips.

Question is how do i get them to start playing randomly at any moment? I cant seem to find the right answer. FYI im using Actionscript 2.0

thanks

Load Movie Clips With Actions
Hi All,

I am totally new to action scripts, so please bear with me.

I have 2 movie clips, which are made out of image sequences.

I want to play the first movie clip only at the start and play the 2nd movie clip in loop.

Any help is appreciated.
Thanks in advance.

-kart

Random Load Movie Clips
Hello all. I'm new to action script and I'll appreciate it if anybody could give me some help.

I'm currently creating a kindergarten game where the user is supposed to drag and drop a correct answer (from a list of options given) to a specific place to check the answer.

Eg: Given a,e,i,o,u and in the bottom right corner there is a "A". The user is supposed to drag the "a" to the "A" which produces the right answer. Anything else is wrong.

So my question now is, how do i generate a random given options(a,e,i,o,u)? Naturally there must be a correct answer among the given options. I've already made movieclips for a-z as well as A-Z.

My second question is:
Is there any way to loadMovie to a specific coordinate, even after I've managed to randomise the questions?

Please help! I really appreciate any given help!
Thanks!

Copyright © 2005-08 www.BigResource.com, All rights reserved