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




Calling Movie Clip From A Different Movie Clip



Hi,

I have two movie clips on my main stage. How do i make it so that when i roll over movie clip #1, it makes movie-clip 2 go to a different frame within itself?

Cheers!



FlashKit > Flash Help > Flash General Help
Posted on: 09-05-2003, 11:19 AM


View Complete Forum Thread with Replies

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

A Button Inside A Movie Clip, Within A Movie Clip, Calling Another Scene:
Is it even possible?

I have been trying to do it for the last few days for a site I am working on.

I have done searches in many forums and it's foolish looking for an answer that way, because quite frankly every thread I opened was something to do with LoadMovie or GetURL, etc.

What I have right now is on the button in my Menu Bar Movie Clip:

on (release) {
gotoAndPlay(285);
}

Which plays a fancy little animation in the movie clip and then on the last frame of that movie clip I had:

gotoAndPlay("Contact", 1);

Which is the Scene for the "Contact Us" Scene named "Contact"

One would think that it would load up the scene and play at frame 1, however all that happens is it reloads the movie clip of the "Menu Bar" at frame 1 and starts over, not even realizing what I asked.

Anyways, I figured there's a script or something that tells it to look outside of the movie clip or to the _Root, or whatever.

If someone has a solution, it would be greatly appreciated.

Sorry I have no example to show, since I have yet to upload it. (It's my company's web site, and I don't think customers would want to see some half-arsed web site that's not complete.

Thanks in advance.

Calling A _root. Variable Of A Movie Clip That Is Loaded Into Another Movie...
My problem is I have two movie clips that i'm working with. The child-clip has a variable and a movie at _level10 (the base of it) that I would like to call when the child-clip is loaded into the parent-clip. I tried _level10.variable but that did not work. And commonly _root brought me to the _root of parent.

How can I get around this?

P.S.
I know there was a way in Flash 4 that you could call instances backwards (//instance) or something like that. But I haven't used Flash 4 in a LONG while.

Plz Help

Calling A Movie Clip From Another Movie Clip
Hi, I have a button inside a movie clip that needs to tell a different movie clip to play and I cant get it to work....what do i put in for tell target?

Calling Frame In Movie From Movie Clip
how can i call a certain frame in a MOVIE SCENE from a MOVIE CLIP. im using just one scene. the way ive done it is i have the movie clip places in the main movie scene at the 10th frame. From inside the movie clip (say instance name = "dipper"), at the last frame i want it to play from the 1st frame of the movie scene n NOT the 1st frame of the movie clip.

many thnks.

Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.

in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)

I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a

I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)

thnx

Calling A Movie Clip
What is the best way to call in a MC from a library. I am using attachMovie with _root as the parent. Is there a better way?

Calling A Movie Clip
What is the best way to call a MC into the scene from a library. I am wanting to click on a MC and have another MC from my library appear in the scene.

Calling A Movie Clip
I have a movie clip in the library named movie1
now in Scene 1 on frame 10 I want that movie to play

How do I call it?

Calling A Movie Clip
This is hard to explain, I apologise if it's been covered, if it has, I can't find it.
Anyway,
I created my normal navigation bar out of buttons. When one of the buttons is 'clicked', I want a second navigation bar to pop up elsewhere on the screen. To keep the site simple, I want to make the movie clip for the second navigation bar seperate from the first. How do I get the first navigation button to 'call' another navigation bar.

Thanks

Calling A Variable From Within A Movie Clip
the answer to this question must be simple and i have made a hard honest attempt to find the answer myself. i cant find it in the book i have so i was wondering if u ppl could help me out.

i have several scenes and the first one loads and the user can click one of 5 links done, and then it takes them to another scene with another navbar. what i want to do is assign a variable to the scene thats says what scene(or page) it is, i need this so i can use it in a if else statement in the nav bar mc code to figure out which scene is loaded, that way a user clicking the same button as the page he or she is on will not have any effect. i need the actionscript for it.

oh yeah btw, i stopped writing this message twice cause of ideas i had that might work, and guess what, they didn't i really need your help

thankx in advance.

dave

Movie Clip Calling Scences
I have created a drop and drag movie clip menu system which on it's drop down menu has a series of options which by using invisible buttons link to other scenes within my movie.

However the when i use any of the following code it completely ignores the scene command but does recognise the frame command

on (release) {
gotoAndPlay ("inspiration", 1);
}
or

on (release) {
_root.gotoAndPlay ("inspiration", 1);
}

Any ideas?

Calling Movie Clip Methods
My movie has one simple movieclip. it simply has one function defined on its timeline:
function test() {
trace("hello silly")
}

The clip's linkage is set to "test". I then instantiate the clip in the main movie timeline:
attachMovie("test", "test1", 0)
This is cool. However, calling the function with:-
test1.test()
on the main timeline doesnt work. I've read through Moock's ASDG pages 314,5 which appear to say I'm doing the right thing.
Anybody care to help please, Ive tried everything!

Calling Scenes From A Movie Clip
I'm using a drop down style menu which is a MClip. When adding an action to a button within this movie clip to call another Scene within the movie, it does not work. In other words the typical:

on (release) {
gotoAndPlay ("Scene 1", 1);
}

action does not work. Anyone had any experience with calling movie scenes from buttons located within a movie clip?

In help would be great....I have tried _root. and _level0. syntex.

Thanks,
FEW

Calling A Function Within A Movie Clip
On my main timeline, I have a movie clip located on frame 3. Inside that
movie clip I have a function. My goal is to call that function from frame 4
of my main timeline.

I have tried the following code with absolutely no results:
_root.myMovieClipName.myFunctionName();

Any suggestions?

Calling A Movie Clip To The Stage
Hay all,

Okay i learned how to do this in school like 6 months ago, but i totally forget how. Little help.

I have to make the MC exported for action script i know that. then its like"

loadMovieNum("Mymovie",4)

but i cant get this to work right and i think there has to be some sort of x/y values in there somewhere to.

Thanx All

Help Calling Function From Movie Clip
Basically myset up is this, in the main timeline on the first frame I load the function fadeBGAudio and the mp3, now when I reach a certian frame on the main timeline, my menu which is in a movie clip loads (menu_mc). In the menu are several buttons any one of which I need the fade sound call to operate from.

This is my fade sound code. How can call the fucntion from with in my menu_mc?

Code:
// variables for sound object
var bgVol = 100;
var bgVolMin = 0;
var bgVolMax = 100;
var bgVolInc = 5;
///////////////////////////////////////////////////
// this function fade the background music down or up
function fadeBGAudio(upDown, sndObj) {
this.onEnterFrame = function() {
if (upDown == 1) {
// Fade the audio up
bgVol += bgVolInc;
if (bgVol<=bgVolMax) {
sndObj.setVolume(bgVol);
} else {
sndObj.setVolume(bgVolMax);
delete this.onEnterFrame;
}
} else {
// fade the audio down
bgVol -= bgVolInc;
if (bgVol>=bgVolMin) {
bgsound.setVolume(bgVol);
} else {
bgsound.setVolume(bgVolMin);
delete this.onEnterFrame;
}
}
};
}

/*
// call function to fade IN the BG audio
fadeBGAudio(1, bgsound);
// call function to fade OUT the BG audio
fadeBGAudio(0, bgsound);
*/


On my menu button in the menu_mc I have this:

Code:
on (release) {
//////////////////////
for (var i in _root) {
if (typeof (_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
///////////////////////////////
//stopAllSounds();
_root.fadeBGAudio(0, _root.bgsound);
_root.gotoAndPlay(1);
}

Calling Movie Clip With Actionscript
following a sample fla i found and can't seem to call a movie
clip to play on button release. one question i have is, can you call a movice clip that is in the library or do i have to drag it onto the stage somewhere? using the tellTarget handler does the movie clip need to have linkage defined for me to be able to call it?


nevermind figured it out

thanks for the help

[CS3] Using [AS2] Calling Out A Movie Clip From The Library
Okay, I did a search and didn't find the answer i'm looking for. Maybe I don't know what i'm looking for (on so many levels).

so here's my problem:

i have a cloud in my library and not on my stage (could be if i need it to be). i also have a movie clip that infinitely generates random numbers from 1 to 100. When different numbers come up a creature on the stage does different things.

what i'd like to do is everytime my radom generater hits, say 50, to have a new cloud appear on my stage in a random location (i'll then later make it float across the stage).

i sent up the linkage to export of action script with the identifier of "cloud".

so far this is what i have:
//randomizer runs and...
if (randomNumer == 50)
{
randomXpos = Math.ceil(Math.random() * 100);
randomYpos = Math.ceil(Math.random() * 100);

"cloud"._x = randomXpos;
"cloud"._y = randomYpos;
}

i know that this part is wrong:
"cloud"._x = randomXpos;
"cloud"._y = randomYpos;

but i'm sure don't know what right is! lol
thanks!

Calling Function In Movie Clip
Hi, I'm tired now of searching about it, I'm gonna ask it this way :


First: Can we do?
Second: if yes, how?


What I'm trying to do is creating function into a movieClip.
Like :
function foo(message:String)
{
trace(message);
}

And call it externally like :
_root.myMC.foo("Hello World");

PS : ho, and I put this function at layer1 first frame of the movie clip, where should I put it?


Because after this I'm gonna have to duplicate this MovieClip and call functions to do action on it... Like populating the menu, etc.

Any idea? Thanks

Calling A Random Movie Clip
Ok, I need to call a random movie clip out of say 10 clips to be displayed in a seqence every time the swf is loaded. Anybody got a script or tutorial? I'm new to this whole actionscript thing.

Calling Undefined Movie Clip
i dont know the syntax for this (if it is at all possible)

if i take user input from two buttons, and store them as vars...
inputA = "blue";
inputB = "red";

based on this user input...can i then access the corresponding movie clip (i will have many in my scene) with the name "bluered"?

obviously, this hasn't worked :

inputA+inputB._x=1000;

-i'm trying to be economical with code, as there will be many combinations of colours and many movie clips in the scene.

Calling AS2 Interactive Movie Clip In AS3
Hello,

I have an interactive movieclip called "AS2Clip" which was programmed in AS2. So when this movieclip is loaded within an AS3 application, does the AS2 native code still functions as it would if it was loaded within an AS2 Application?

I would highly appreciate your wisdom on this.

Thanks.

Calling A Movie Clip From A Button
Hi

I am trying to call a movie clip when the user clicks on a button.
I have attached

on (release) {
    point1.attachMovie(respon_001,point1a,1);
}

to the button

point1 being instance name of maovie clip
respon_1 being linkage name of maovie clip
point1a being the new name (not sure what this is for ???)
and 1 being the depth

I suppose another way round it would be to simply go from the button to an empty frame with the movie clip in, but i would rather not do it that way

cheers


Calling A Button Within A Movie Clip
I'm using movieClipLoader to load swfs into my main page and everything works fine as long as all of my buttons are not within a movie clip. How do I get my movieClipLoader to respond to buttons within a movie clip?

Here's the code of tried that is not working:

ActionScript Code:
movieClip.movieClip2.button.onRelease = function () {
    _level0.myMCL.loadClip("contact2.swf", 5);
};

Calling Movie Clip From Different Frame....
Hi all,
I have a situation that can be done in two diffent ways but none of those work how I liked it....I would really appreciate all your help.

Here is my problem:
1) I have a frame with 5 buttons, when users click on a button, I've called it to _root.myMovieClip.gotoAndStop(2); --> the problem is that, there is a back button the that MovieClip and i would like to know how to initiate the back button to go back to the frame where I have 5 buttons.

2) The same problem can be be done in another way, I have 5 buttons in Frame 1...when users click on a button, I call it to MovieClip.gotoAndStop(2) from Frame 2,, that way I can use the Back button easily. The problem is that I do not know how to write AS that can call movie clip from different Frame.

I would like to ask for your help. Thank you so much. I hope this is not confused anyone.

Thanks,
Ngoc

Calling A Function In Loaded Movie Clip
I have a movie with two frames. The first frame has the following code.

_root.createEmptyMovieClip("Nat1Holder",1);
loadMovie("Nat1.swf","Nat1Holder");

This frame loads the movie successfully.

In the next frame, I would like to call a function that is in the loaded movie "Nat1Holder".

My code in the second frame is .......

_root.Nat1Holder.populatefield();

This doesn't work though! Is it possible to call a function in a loaded movie?

Thanks

Calling To A Different Scene, Inside A Movie Clip
I've created a movie clip, then inserted buttons in it. How can I make those buttons open up a different scene???

Issues With Calling Sounds In A Movie Clip
Ok, Heres the nuts and bolts of it

i am currently working on a game that has sounds working fine in them when i attach them using actionscript, but the nature of the sounds and my own personal vedetta against wasting cpu cycles has put me into a position where i took a bunch of sounds and put them into a movie clip, that way i could tell if a certian sound is playing via which frame it is in..sounds simple correct..

one of my issues deals with calling the score of the game, the score can be love, 15, 30, 40, adv, - , or deuce

the score is computed when someone scores a point and then it calls this

_root.Sounds.gotoAndPlay("Pre-Score"+math.ceil(math.random()*2));

so, from this you can tell that i have a movie clip called Sounds on the stage, and that it has a label called Pre-Score1 or Pre-Score2. This is not the problem, it will play the sound located in either label that it needs to play at the end of the sound, in a keyframe will encounter this

// at the end of this saying we want to go to the player who's serving's score
_root.playScore = 1
if(_root["player"+_root.playerServer].score == "deuce" || _root["player"+_root.playerServer].score == " - " || _root["player"+_root.playerServer].score == "adv"){
if(_root["player"+_root.playerServer].score == "deuce"){
randomnum = math.ceil(math.random() * 3);
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score)+ randomnum);
}
_root.playScore = 0
}else{
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score));
}

this declares a varible for wether or not the score has been completely played yet, then asks if it is any of these conditions, which it skips over when needed, the big problem is encountered here

}else{
_root.Sounds.gotoAndPlay(String(_root["player"+_root.playerServer].Score));
}

i'm trying for the script to go and play the label in which relies to the score

all the labels in the Sound Movie clip are correctly spelled, and it seems that it is always taking the arguement for gotoAndPlay to be a frame number...i have no clue why

if you can understand any of this and might have an answer, feel free to reply, thanks in advance

any clarification will be given upon request

Calling Javascript From Inside Movie Clip
Hi, guys and gals.
Hope you are cool.
I also hope that someone can help me where my teacher can't.
I have a button inside a movie clip on my main timeline. On the button I am trying to use a GetURL to call a javascript function.
I have tried this script:
on (release) {
getURL("_root.javascript:UpDownSteroid()");
}
This script opens a new page, which is an improvement, but it never finds the javascript.
Please help, as I am tearing my hair out!
Thanks
Carly

Calling Javascript From Inside Movie Clip
Hi, guys and gals.
Hope you are cool.
I also hope that someone can help me where my teacher can't.
I have a button inside a movie clip on my main timeline. On the button I am trying to use a GetURL to call a javascript function.
I have tried this script:
on (release) {
getURL("_root.javascript:UpDownSteroid()");
}
This script opens a new page, which is an improvement, but it never finds the javascript.
Please help, as I am tearing my hair out!
Thanks
Carly

Calling A Scene From Inside A Movie Clip?
Hi

I have a Movie clip on my main stage. This movie clip contains all my buttons for my website. How can I make the buttons call another scene from inside this movie clip?

Can some1 help me out here?

If ur not sure what i mean, I will try and re explain it

PLease help me

Calling Button Inside Movie Clip
I'm using movieClipLoader to load swfs into my main page and everything works fine as long as all of my buttons are not within a movie clip. How do I get my movieClipLoader to respond to buttons within a movie clip?

Here's the code of tried that is not working:
ActionScript:
movieClip.movieClip2.button.onRelease = function () {
_level0.myMCL.loadClip("contact2.swf", 5);
};


Here is the file containing the code
Here is the file the button links to
And finally, here is the file where my movie clip loader script is located

Empty Movie Clip Calling Images From XML
Hi everyone

I have a main file which calls the external SWF file on mouse over actions.

Within those External SWFs the images are coming through the XML file one by one. Each time the movie clip which was empty initially, loads the image from the local folder according to the path coming from the XML, but how can i show the loading bar before each image loads so in this way even if some one is using low bandwidth internet speed he can see atleast some loading bar instead of blank area.

I have attached the files in a zip folder so that any one can understand the whole thing. Any help would be really appreciated.

Thanks
F.

Calling Variable From Inside Movie Clip
Hi
I'll try to explain the situation as best as i can.
I have _global.name; set on the first frame of the scene and the system would then ask me to input my name in an input text field then store my name in the name variable. This input text field is inside a movie clip and I have a button in the movie clip that have these actionscript :
on (release) {
name;
_parent.gotoAndStop("map");
}

Map is the label I put in the scene btw.
And in the "map" label, I have a button that will display my name when I click on it. So I will have a dynamic text field named "nameoutput" and the button have these actionscript :
on (release) {
nameoutput = +name;
}

I dont have any clue what went wrong..
Help pls..

Dynamically Calling Movie Clip Instance
Hi there,

I'm trying to reference an instance of a movie clip without using the exact name. This is hard to explain so I'll give you the example:

I have 6 movie clips: (mc_movie1, mc_movie2, mc_movie3...etc)
I also have 6 buttons. when I press button two for example variable 'button_pressed' is set to 2.

Now, I'm trying to affect the movie clips depending on which button is pressed.

so what I want to know is how to write, for example : mc_movie(button_pressed)._x =100;
....where the (button pressed) value will mean this action will affect mc_movie2
if it was a string it c would be: "this is string number" + button_pressed +" of 6"... so how can i achieve this when it's an instance name?

very hard to explain, hope you guys understand and can help!!
cheers

Dynamically Calling Movie Clip Instance
Hi there,

I'm trying to reference an instance of a movie clip without using the exact name. This is hard to explain so I'll give you the example:

I have 6 movie clips: (mc_movie1, mc_movie2, mc_movie3...etc)
I also have 6 buttons. when I press button two for example variable 'button_pressed' is set to 2.

Now, I'm trying to affect the movie clips depending on which button is pressed.

so what I want to know is how to write, for example : mc_movie(button_pressed)._x =100;
....where the (button pressed) value will mean this action will affect mc_movie2
if it was a string it c would be: "this is string number" + button_pressed +" of 6"... so how can i achieve this when it's an instance name?

very hard to explain, hope you guys understand and can help!!
cheers

Calling A Movie Clip In Multiple Scenes
Ok i have 5 scenes in my flash project and in each scene there is a movie clip off the stage so you cant see it and a button that calls the movie clip onto the stage with the following code:





on(release){
_root.music_control._x = 700;
_root.music_control._y = 300;
}

the movie clip changes the music playing and the volume of the music but the problem is, if i turn the volume bar down to half in scene one then go to scene 2 and try to turn the volume back up, my volume slider is already on full. this is because i have to put the movie clip into each scene.

is there a way i can call the movie clip when i'm in scene 2 from scene 1?

i don't know if anyone will understand what i'm trying to explain but i tried to explain it as simple as possible.

Calling A Function In A Duplicated Movie Clip
I have a movie clip, navLink_mc, on my timeline. In that movie clip is this function:

Code:


function test(){
trace("it worked");
}



From my original timeline if I run navLink_mc.test(); then the function runs. However, if I create a duplicate of the movie with

Code:


duplicateMovieClip(this.navLink_mc,"myCopy",this.getNextHighestDepth());


then running myCopy.test(); doesn't do anything.

Calling Function From Button Within Duplicate Movie Clip
Could someone help me as I was bangin my head against this brick wall all yesterday!

This code works at the moment, but I have a button within the duplicate movieclip thisItem that I want to call the function (openLink) for the thisItem in question.

myXML = new XML();
myXML.ignoreWhite = true;
//myXML.load("menu.php");
myXML.load("menu.xml");

function handleLoad(status) {
status ? makeMenu() : trace("Error parsing XML.");
}
myXML.onLoad = handleLoad;

function makeMenu(){
myItem = "clip";
myTrack = "tracks"; myX = 0;myY = 0;


for ( i=0; i<myXML.firstChild.childNodes.length; i++) {
title = (myXML.firstChild.childNodes[i].attributes.id);
linkmp3 = (myXML.firstChild.childNodes[i].attributes.linkmp3);
this.attachMovie(myItem, title, i+10000000000);thisItem = this[title];
thisItem.title = (title);
thisItem.linkmp3=(linkmp3);
thisItem._X = myX; thisItem._Y = myY+=(thisItem._height);
_level0.holder.count = i+1;
_level0.holder.clipheight = (thisItem._height);

#thisItem.onRelease=function(){
openLink(this.linkmp3); # //this I want on the button download!!
}
}
}

function openLink(linkmp3){
if (linkmp3!=null){
getURL(linkmp3,"_blank"); }else {
trace ("Link does not contain a URL");}
}

Here's the files

tracks.zip

Any help much appreciated.

Calling Local Variables Inside Of A Movie Clip...
I'm using Action Script 2 with MX 2k4 and I was wondering how to call local variables that I declared inside of a movie clip...

The action script that needs to call the vars is located on the first movie clip, which contains another movie clip.

This is the code I have:

code: if (this.MOVIECLIPNAME.VARIABLE = "true"){
//code
}

Any help would be much appreciated.

[CS3] Calling Parent Frame From Inside A Movie Clip - Help
I have a movie clip on the stage (scene1) and in that movie clip i have a button. Now when i click the button, frame 1 in scene1 (the parent frame/scene) should play. How do i do that?

Thanks.

Problem With Calling A Movie Clip Frame From A Button.
I Can't Get My Button, Just To The Left Of The Head, To PLay The Movie Clip Called "Tear" Upon Release. I Am Just A Beginner But I Really Can't Do It.

The File Is On My Webspace:
http://myweb.tiscali.co.uk/exhumed/HelpMe.fla

I Have Tried:

on(release){
gototAndPlay("Tear",2);
}

But I Think That It Will Be Looking For trhe Scene Tear Instead Of The Movie Clip. And:

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

But That Doesn't Seem To Work Either.

Thanks.
Michael.

Calling A Specific Frame Within A Loaded Movie Clip
I know it's possible using the goto commands to call specific frames, and I'm wondering if it is possible to call a movie to the _root level and then target a loaded clip, then a frame inside said clip?

ex: inside mc1, you want to click a button to follow this path - go to the _root, load mc2, but load it at frame 2.

I hope that makes sense.

Calling A Frame From The Maintimeline From Inside A Movie Clip.
I am have a stop action on the main timeline. from there i have a button that jumps and stops at the next frame where a movie clip plays. inside this movie clip, at the last frame, i want a button which when released will go to the next frame which is labeled Step2 in the main timeline, but i am having a tough time figuring out the right path.

any help would be appreciated. i tried the

on (release) {
gotoAndStop("Scene 1", "Step2");
}


but for some reason it stays within the current MC timeline instead of going to the main timeline

Calling A Movie Clip From A Link In The Text Area
hi guys,

is it possible to call a movie clip from a text area, you see i have this text area with some links like mailto among others, what i need is, can a link in the text area call a movie clip and play it on stage

thanks.

Going Nuts...calling Functions Inside Movie Clip..
hey all,

i need some help with calling a function from within a movie clip.

i wrote a function that is with a movie clip, something like this:
-----------------------------------------
function didYouRegister () {
if (userLevel == 1) {
loadMovieNum ("http://www.cnn.com", "blank");
} else if (userLevel == 2) {

}
loadMovieNum ("http://www.cbc.ca", "blank");
}

-------------------------------------------------

now, when the movie is loaded i need flash to figure out if the user has registered. in the main time line on the action script layer,i have this line of code, which should kick the user the cnn.com (according to the fucntion "didYouRegister") :

userLevel = 1;


now this is the line of code i have, also in the main timeline in the action script layer, that is supposed to call the function:

callFunction.didYouRegister();

The "callFunction" is the name of the MC that is holding the function called "didYouRegister"


So after all this, i cannot get the fucntion to be called.
Can anyone point me in the right direction?
Thanks so much.

Calling Movie Clip Onto Stage From Library Using Action Script
I have a large project and need to call a series of movie clips onto the stage using buttons with built in action script. I do not want to physically place the movie clips onto the stage. Any help is greatly appreciated!

LL

Calling A Parents Timeline Function From Nested Movie Clip
ok ... i am going to ask what i think is a rather dumb question on my behalf. I've come straight from using actionscript 1 to actionscript 3. I tried searching so I apologise if this question has been answered before. But nothing I found seemed like what I was trying to do. I am use to using OOP with other languages so the transition has been somewhat ok but the thing i dont understand is why i can't do something like this:

1. I create a movie clip (clip_nested) nested within another movie clip (clip_top).
2. I create a function on the main timeline of clip_top called tryMe()
3. I try to call this function from within the nested clip and it gives me an error in the compiler that "1120: Access of undefined property clip_top.

way i called it is:


Code:
this.parent.tryMe();
Why won't this work? Also, if i wanted to call this object from the top level clip..how would i do this?

..i tried something like this:


Code:
this.clip_nested.addEventListener(event:MOUSE_OVER, functionToDealWithThat);
why will this also fail? I am not using classes for this at this point.

cheers for any help!!
stace

Targeting A Frame Label In A Movie Clip From A Button In A Separate Movie Clip.
I have two separate movie clips placed on a timeline-MovieclipA and MovieclipB. I have a button in MovieclipB clip that wants to target a frame label located in the MovieclipA timeline. Can someone help me?

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