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.
FlashKit > Flash Help > Flash MX
Posted on: 06-27-2007, 05:33 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Problem Accessing Movie Clips Inside Of Loaded Swfs
Hey All;
Here's what I am having problems with. In swf movie A I have a movie clip on the stage with the instance name SQUARE. In swf movie B I load in swf movie A by using the following:
this.createEmptyMovieClip("world_mc", 999);
loadMovie("A.swf", world_mc);
Now... the following line of code gives me undefined:
trace (world_mc.SQUARE);
Why? Can I not access the movie clip SQUARE once swf A is loaded into swf B?
Thanks.
Accessing Clips Inside Clips Of Dynamically Generated Clips
Make sense?
So here's the code I'm working with. For loop generates clips containing clips. I need to access a specific clip (look_back) within the parent clip generated by the loop. Not sure how to do this.
Thanks // help appreciated
HTML Code:
var spacing1:Number = 10;
var lookA:Array = new Array();
function buildLooks(lookNum:Number) {
var looks:MovieClip = new MovieClip();
addChild(looks);
looks.x = 644;
looks.y = 64;
////////////////////
for (var i:Number = 0; i < 4; i++) {
var look:MovieClip = new Lookmc();
look.y = i*(look.height + spacing1);
look.name = "look"+i;
looks.addChild(look);
lookA.push(look);
lookA[i].look_title_txt.text = externalXML.look[lookNum].product[i].titles;
lookA[i].look_copy_txt.text = externalXML.look[lookNum].product[i].copy;
var url:String = externalXML.look[lookNum].product[i].image;
var urlReq:URLRequest = new URLRequest(url);
var lookImg:Loader = new Loader();
lookImg.load(urlReq);
lookA[i].addChild(lookImg);
var proLink:String = externalXML.look[lookNum].product[i].link;
var request:URLRequest = new URLRequest(proLink);
lookA[i].addEventListener(MouseEvent.MOUSE_OVER, onBtn0_Over);
lookA[i].addEventListener(MouseEvent.MOUSE_OUT, onBtn0_Out);
lookA[i].addEventListener(MouseEvent.CLICK, onBtn0_Click);
}
}
var activeBtn:MovieClip;
function onBtn0_Over(evt:MouseEvent):void {
trace(evt.target);
evt.target.look_back.alpha =0; // failed attempt
}
function onBtn0_Out(evt:MouseEvent):void {
evt.target.look_back.alpha =0; // failed attempt
}
function onBtn0_Click(evt:MouseEvent):void {
navigateToURL(request, "_self");
}
Movie Clips Inside Move Clips. How To Control?
I have an object in this case a foot with toes on it. the toes animate as well as the whole foot moving with the nails on it. I have instance names assigned for all the mc's problem is that the toes are buried about 3 layers down inside the foot_mc so they will move with the foot as well. When I assign a function to them the error compiler does not know where the nails are . What is the best way to fix or re-do this layout?
I am a total newbie to Flash and AS3, so any help would be great
I FIGURED IT OUT.
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!!!
Nested Movie Clips Coordinates
I have MC1 and MC2
MC2 is place inside MC1
I am having problems getting _root.mc1.mc2._x to respond correctly to the coordinate system for the main movie.
I'm not sure of the correlation.
Dynamically Place Movie Clips At Using X&y Coordinates
I am attaching a movieclip (mc1) on the stage. This mc has another mc2 nested within it which has a button nested inside of it. The button has an action that attaches another clip (mc3) on the stage.
I can specify mc1's location but when I attach mc3 it gets placed at the top left of the stage.
(I have specified the X and Y values)
Help!!!!
Relative Coordinates Between Nested Movie Clips
First post here, thanks for the resources all.
What I need to know, and this may not even be possible, is if I can get the coordinates of a movie clip in relation to the stage of another clip in a different level of the Display Object.
For example, I have two movie clips next to each other on the same layer. One clip can detect the others location via
//Sprite 1
checkx = sprite2.x;
Now, say sprite2 has a nested clip, spriteNest, at some arbitrary location within sprite2. The following
//Sprite 1
checkx = spriteNest.x;
will yield spriteNest's x coordinate relative to its parent stage. That is to say, if I move sprite2 over 100 pixels to the right, spriteNest.x will remain the same.
I know you already know that, I'm getting to my point now.
Is it possible to detect spriteNest's location relative to the same coordinate plane that sprite1 and sprite2 reside on? That is, if sprite2 moves, so can I detect the new position of spriteNest.
Yes, simply adding the coordinates to each other works, but not when sprite 2 is rotating.
I know it's possible via a system of trig equations to derive its location, but being relatively new to AS3.0 (I am a long time vet of as2) I thought the sweet new DOM might have a clever, or even glaringly obvious way of doing this.
Thanks in advance for any help.
Accessing Movie Clips
Please help....
I bought the 'Javascript Bible' and have also looked briefly around this site, but neither seems to address calling movie clips.
Basically, I'm wondering how do I call a MC from the main timeline via actionscript??? For example: if I have a folder named 'movie clips' and a MC named 'mc_Misc' .... from the root movie, how do I call this MC so that when I click a button, the MC will tween upward from behind another image. (I'm trying to make a menu system so that when you click a button it moves a 'sub-menu' into the scene.)
Thanks for the help!!!!!! :-)
Something VERY.. But Very Strange About Movie Clips Coordinates Whilst In HTML
Hi ppl,
Maybe one of you came across this issue coz its been drivnig me nuts. I wrote a ticker script which moved 2 text fields one next to the other and when one of them was outside the stage he was positioned on the other side of the text field that was visible.
The logic worked just fine in Flash but not when the movie was embedded in HTML. After some debugging and tracing I've notinced that whilst a movie clip's initial x pos in Flash was 10 for exampel, the same movie clip's x pos was -60 when the movie was embedded in HTML.
I thought it might have something to do with global/local issues but the text fields are positioned on the root and the it works just fine in Flash but for some strange reason the numbers change when in HTML.
Does anyone have any idea how and why something like this would happen??
Cheers,
McMurphy
Accessing A Movie Clips Array ...
in MX, I have a random number of movie clips inside a parent clip. is there any way to use a numeric incrementer to loop through the parent clips array of clips, and return any of those mc's properties??
Example (this script currently is what's failing)
Code:
for (j=0;j<=this.length;j++) {
trace(this[j]._name);
}
Any input appreciated!
thanks
Quasi
Accessing A Movie Clips Variable..?
I have trawled this site most of the day, and just can't seem to find what im looking for. It's probably so simple.. but for the life of me i can't understand.
What i am doing is i have a php page, that loads a variable into the embed and param section of html.
I have finally loaded this into flash, and got that working..
I created an empty movie clip call target_mc (ala help docs in flash)
Code:
this.createEmptyMovieClip("target_mc", this.getNextHighestDepth());
I have then added the loadVariables code, and retrieved the code back from php i want
Code:
loadVariables(myURL,target_mc,"POST");
I modified the code from help docs to display the return reading from the php file... into a text box
Code:
function checkParamsLoaded() {
if (target_mc.done == undefined) {
trace("not yet.");
} else {
trace("finished loading. killing interval.");
trace("-------------");
for (i in target_mc) {
tBox.text = tBox.text + i; // + " : " + target_mc[i];
}
trace("-------------");
clearInterval(param_interval);
}
}
param_interval = setInterval(checkParamsLoaded, 100);
I just can't figure out how to display the code from the return value of the movie clip.. ive tried...
tBox.text = tBox.text + _root.target_mc[vFileName];
tBox.text = tBox.text + _root.target_mc["vFileName"];
tBox.text = tBox.text + _root.target_mc['vFileName'];
tBox.text = tBox.text + _root.target_mc.vFileName;
Please help...
Thanks
Martin
Accessing Movie Clips Function
Pretty simple question but I can't get a straight answer in any search.
I have a movie clip called whtebrd and inside of it is a function called addLines. How can I run the function from root? Does it matter if the function sits on the 5th frame of whtebrd's timeline?
I tried this.whtebrd.addLines() but nothing happens.
Thanks in advance.
Accessing Movie Clips On The Second Frame
hey,
a friend of mine asked a question and now I'm curious. He has a movie clip that's on the second keyframe and wants to access if from an external .as file, but it doesn't seem to see it. he solved it by declaring the movie clip in the first frame and hiding it until the second frame. but i was wondering if there was a more elegant solution. thanks, later.
Accessing Nested Movie Clips
i've got a movie clip i export from my library using addChild() ... I'm curious... how do i access the nested movie clips within? here's my code:
Attach Code
var theNav:MovieClip; //nav movie clip
theNav = new myNav;
theNav.x = 150;
theNav.y = 250;
this.addChild(theNav);
Accessing Information Off Movie Clips
Hi there!!,
I have just started using Flash MX and not a very good scripter. The problem I face is that off accessing a movie clip in the scene. The situation is like this
I have a movie clip in which content is got through the use of variables...to make it simpler....I click on a button in order to access a variable with some information to be displayed in the movie clip. I am quite used to the Tell Target option that was available in Flash 5 but I am unable to find the Tell Target option in Flash MX. Can someone help me access the information in the variables in the movie clip..
Thanks in advance
Movie Clips Inside Of Movie Clips
I'm having a dilemma using movie clips inside of movie clips, and I'm sure you can do this, right?
I'm creating my website, and all the actionscript is coded the way it should be. What I have is the first movie clip (we'll call it "clip1" with buttons, and when you click the buttons, they are supposed to move clip1 to a certain frame, and this works fine. But it is also supposed to move "clip2" (which is inside of clip1) to a certain frame as well, and this does not work. Here is the code for the button as follows:
on(release) {
clip2.gotoAndPlay(80); //move clip2 to certain frame
this.gotoAndPlay(60); //since buttons are inside clip1
}
I've also tried this with frame labels and that does not work either. If you want, I can post the project for you to take a look at and I appreciate all the help you can offer. Thanks!
Accessing External Movie Clips From HTML
I have a primary movie clip that is serving as a preloader for two other movie clips. These are being loaded as external MCs into the preloading MC.
I'm having trouble getting HTML to communicate with either of the external MCs, however. I need an HTML button I have to tell one of the two external MCs to go to a certain frame. Previously, when I wasn't using the preloader at all, this was no problem via javascript:
movie.TGotoFrame("/mcRegistrationContainer", 1);
movie.TPlay("/mcRegistrationContainer");
In the above two lines, mcRegistrationContainer is a movieclip belonging to one of the two external MCs that the preloader loads.
I can't figure out how to work through the preloader now to that external MC.
I am using Flash 8. Any help, ideas, or suggestions would be greatly appreciated!
-dbh
Accessing Buttons Withing Movie Clips
Hi -
Is it possible to create a movie clip instance and within this have a button?
For example. I have a movie clip exampleMovie_mc, which has 2 frames. Within this movie clip is exampleButton_bt. When the user rolls over the button it goes to frame 2 of the mc, when the user rolls out it goes back to frame 1.
I've searched through the forum and can't seem to find an answer to my problem. I've tried including actionscript within the mc, and I've tried including it at the root of my movie. And nothing is working. Can someone help??
I cant currently post what code I've used as I am on a different computer, but if it's needed I can post it later on.
Thanks in advance,
Helen
Accessing Children Of External Movie Clips
Hi,
I'm using MovieClipLoader.loadClip() to load external swf files as MovieClips into my project. I also want to modify parts of those external movie clips before showing them (hiding parts or colorizing them), but it looks like I can not access the child movie clips in those external loaded clips. Iterating over all children for example shows that there are none, although there are. Any ideas?
Accessing Nested Movie Clips In Class
I have a nested movie clip linked to a class file. I can trace the children with the for loop but I can't figure out a way to access it's attributes. this.(whatever) works for the parent MovieClip (feedback_mc) but I cannot get to the nested movie clips (icon_mc & text_mc). Any suggestions would be greatly appreciated. Thanks in Advance
Code:
class feedback extends MovieClip
{
private var _sText:String;
private var _nIcon:Number;
function feedback() {
for (var children in this)
{
trace(children); // prints icon_mc & text_mc
}
trace(_parent.content.icon_mc._y); // prints undefined
trace(this._y); // prints the Y of the Parent Movieclass
}
}
Accessing Nested Movie Clips Via Actionscript
I have a movieclip that has some animation frames in it, and another movieclip nested inside of it. I have exported each of these movieclips and have given them linkage names.
Here is the code I am using to attach the movies clip to the stage
mc = _root.createEmptyMovieClip(sInstanceName,depth);
mc.attachMovie(linkage,sInstanceName,depth);
now shouldn't I be able to access the nested movieclips by doing:
mc.sInstanceName.nestedclipInstanceName ???
Accessing Movie Clips Of Imported SWFs
Hi everyone,
I'm new to AS3 (well, AS in general really) and I'm working on a small Flash piece for a client. I thought it would be straightforward, but I've got a couple of questions for you experts.
I'm writing an AS3 app that will read in a SWF which was created in Flash 8, I believe. The SWF simply contains a couple of movie clips and just one frame. All I want to do is load this SWF and change the fill color of each of its movie clips.
I have the Loader functionality working just fine, but I'm unclear how I access the movie clips of the SWF. It appears to be of type AVM1Movie when I load it and I believe there are limitations with how an AVM2Movie can interact with it. I'm hoping what I want to do is basic enough and that this is possible.
Any advice is appreciated.
Thanks!
Jason
Accessing Movie Clips Of An External SWF File
Hey, I was wondering if it's possible to access movie clips that exist inside an external SWF file. For example. I've got a swf file called menu, and inside that i've got a series of components, such as the list compenent, sliders, buttons, etc. I was wondering if it's possible for me to load that menu into another flash document, and allow those buttons to control elements of my new scene. I've got the menu loaded into my new fla file fine, but I just can't figure out how to access all the various buttons that I've got in the menu file. Thanks for any help you might be able to provide.
edit: Hmmm... just got it working. Just had to add .content between my loader variable and the button I was trying to access in my swf file.
Accessing Duplicate Movie Clips W/n An Iteration
I need to itinerate over a list of duplicated movie clips and I can't manipulate the duplicate movie clips as I'd like. For example:
Code:
while (i<myRec) {
i++;
duplicateMovieClip("myMC", "myMC"+i, i);
setProperty("myMC"+i, _x, _root.myMC._x);
setProperty("myMC"+i, _y, _root.myMC._y+myArray[i]);
"myMC"+i.myMCtext.text = "myText";
};
I can't access "myMC"+i.myMCtext.text = "myText"
Any ideas on how to access these fields within an iteration.
Thanks.
Control Movie Clips Inside Main Movie
Please help me! Maybee it's a stupid question?
I'm trying to create an animated movie. I created 4 movie clips inside my main movie (10 frames in each movieclip) I would like to play first movie clip when it's finished start to play the second, then third, fourth.... and I placed each movieclip in the single frame on the timeline. But when I played movie I only see the last (fourth) movieclip and don't see first 3 clips. Maybee somebody can help me with ActionScripting, or maybe can tell me where I can find some information.
Thanx.
How To Stop All Movie Clips Inside A Movie Clip
Is there a way to do stop/pause all the movie clips inside a Big movie clip?
I wanna control the movie clips as well with a slider. Yes i can control the Big movie clip yet i couldn't control those movie clips lie inside that Big movie clip.
Anybody can help ?
Access Movie Clips From Inside Another Movie Clip
Hi!
I have some objects (movie clips) on my stage on different layers, but all in the first frame of a layer. And now I want to access this movie clips from inside another movie clip, which is also on the stage like the others.
So my question is: How can I access this movieclips so that I can do for example <movieclip_outside>.gotoandplay("in"); or something like this.
Greets, Tschouba
Edited: 02/09/2008 at 11:09:30 AM by Tschouba
[help As2] How To Access Movie Clips' _y Inside A Movie Clip
i got a school flash project where i need to access the _y properties of many movie clips buttons that set with name like sel 1 sel2 sel 3 and so on
the problem is i have 2 sets of those, one on the main timeline which i can access with "for" looped _root["sel"+i]._y and one which is inside another movieclip
problem is i don't know how to access the later using for loop can someone help me with that?
this is the script that i used to access the _y on the _root.selx
Code:
for (i=1; i<numberOfButtons+1; i++) {
if ((mySelection == i)&&(this._y != _root["sel"+i]._y)) {
this._y = _root["sel"+i]._y;
}
}
anyone can help? please *begging*
Probs Accessing Variables In Duplicate Movie Clips
Hi,
I've got a problem trying to access variables from within duplicate movieclips.
I have used the notation
this["bn" + n].textBox
to access and set the value of a text field within the movie clip but cannot seem to do this with straight variables whether I am using smart movie clips or the variable is simply in the first frame of the duplicate movie clip.
Can somebody please help.
Accessing Properties Of Progammatically Generated Movie Clips
Hi everyone, I'm new to Actionscript so this might be a real simple question—Here is a piece of code that dynamical creates a set of movie clips:
ThumbNailPage.attachMovie("mcThumbBackground", "tback" + thumbIndexer, pageDepth+thumbIndexer);
how can I now access "tback" + thumbIndexer without a literal reference such as: "trace(tback5._x);"
Or can I set "tback" as an array?
Any help would be appreciated.
Problem With Accessing Arrays That Are Embedded In Movie Clips
Hello everyone,
My problem is as such...
on the layer 1 of frame 1, i duplicated a movie clip in a for() loop (and yes, I exported it for actionscript).
whithin the initial movie clip I typed this code:
onClipEvent(load){
//load Variables
myColor = new Array()
myHello = "hi"; //this was used to help me test for errors
}
within the _root.onLoad function of Layer 1: Frame 1, as mentioned, I created duplicate movie clips and assigned values to each movie clips array with no problem, I could even trace certain array values from within the _root.onLoad function...
however, when I tried to trace array values from the Layer 1: Frame 1 _root.onEnterFrame function , I couldn't access the movie clips arrays (even if I made them global arrays), they always traced undefined, the weird thing is, I could trace the myHello value from the _root.onEnterFrame function.
Does anyone have an answer as to why this may be happening? or know how I can get the values to be recognized from within the _root.onEnterFrame function?
Any and all help would be greatly appreciated, thanks!
Accessing True Xy Values Of Nested Movie Clips
How can i access the x and y values of a movie clip in relation to the stage if it is inside another movie clip that rotates? I need this so that appropriate rotation values can be found for it in relation to the mouse.
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!
Creating And Accessing Multiple Soundtracks Without Repeating Movie Clips
Hi,
I am currently developing a kids educational CD-Rom with Flash MX.
I want the end user to be able to chooose their language on a screen at the beginning (just after the splash screen).
Is there any way of using actionscript to set a flag or something so that all subsequent movie clips will select their audio from a specific folder. (In other words, if the user selects German, can the same movie clips play with all the audio taken from the files in the "German audio" folder?)
Any help here would be greatly appreciated, thanks.
B
How Do I Open New Movie Clips Inside My Movie?
i want to open and close movie clips in my movie through buttons in my menu. is it possible that i can open these new clips into the main movie?
theres two ways i want to do this, one, loading at a certain frame, and the other loading thru a button
please give me some help! thanks!
danny
Loading Movie Clips Inside A Another Movie
hi everyone.
i hope that you are all having a great morning and i would really like some help.
i have a scrollpane with some logos on, on top of these logos are button, when i have pressed the buttons i would like to action to load a new movie clip onto the main timeline to show more information on the logo clicked......basically on release i would like to show a movie clip on the stage, and when you click on another one of the logos i would like the last on to disappear and to be replaced by the other one.
if anyone could help me i would really appreciate it, cheers everyone.
mr blair
Loading Movie Clips Inside A Another Movie
hi everyone.
i hope that you are all having a great morning and i would really like some help.
i have a scrollpane with some logos on, on top of these logos are button, when i have pressed the buttons i would like to action to load a new movie clip onto the main timeline to show more information on the logo clicked......basically on release i would like to show a movie clip on the stage, and when you click on another one of the logos i would like the last on to disappear and to be replaced by the other one.
if anyone could help me i would really appreciate it, cheers everyone.
mr blair
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 Functions And Clips In A Loaded Swf..thats Inside A Mc
I have a little issue.
I can access the mcs and such of a loaded SWF by using
Code:
loader.content.myMC
but I have put the loader instance inside a movieclip
so i have a for loop
for(blah){
l:Loader = new Loader():
l.load(blah);
c:loaderContainer = new loaderContainer();
c.name = "c"+i;
c.addChild(l);
}
result is c0, c1, c2, etc
then i got
function dosomthing(){
c2.????? i tried loader.content .. tried c2.content. nothing.. any ideas how to access that loaders content thats inside that specific mc?
}
Buttons Inside Movie Clips>>
so i've got a draggable m/c with buttons within it, and those buttons within set this m/c to a certain x/y coordinate on release. but i also need this button thingy within the m/c to go to a frame label on the main stage (same scene). its not working! the x/y portion of the script works fine, just not the goto portion.
any ideas?? thanks.
Buttons Inside Of Movie Clips?
I have created a movie clip which has four buttons inside..I cant get the buttons to do anything. when I edit them it wont let me put in any scripts...
what am I doing wrong?
Buttons Inside A Movie Clips
I've created a button that contains a movie clip on the 'over' stage, that movie clip also contains a button, does flash allow me to do this?
Buttons Inside Movie Clips
How can I make button inside a movie clip go to another part in the movie clip, dumb question but I need to know, thanks
Buttons Inside Movie Clips?
I want to get buttons inside a movie clip to do mouse events. I tried placing the actions on the buttons inside the movie clip but once i put the movie clip into a scene the buttons won't work.
WHAT AM I DOING WRONG?!?!?!?!
Buttons Inside Movie Clips
-to start i make an action script layer and tell it to stop on the first frame
-then I insert a second scene,make an image on one layer ,and make an action script layer that tells it to stop
-Next I make a simple button
-then I make a movie clip. I put the simple button into the movie clip, enable simple buttons and assign the following script to the button
on (release) {
gotoAndPlay ("Scene 2", 1);
}
-finally I put the movie clip into the first scene
what I am trying to do is make a toolbar that can move be clicked on to go another part of the script then go back the the same point without having to use Html. I have flash 5 and MX so if you know of another way of doing this please tell me. It's allright if it involves HTML I was just trying to stay away from it.
Buttons Inside Movie Clips
I am relatively new to Flash MX and have hit a problem with nested buttons. In order to manipulate the visibility of a button, I have nested it in a movie clip. The problem is when I attach a gotoAndPlay action to the button inside the clip, it is not doing anything when I test the movie, even though I have used the frame label in the action. I am wondering whether I am getting confused about which layer is which and the correct path to put in the gotoAndPlay action. Or, perhaps there is an easier way to have control over visibility of buttons which won't require nesting? Can anyone help me with the correct script? It is important that the frame be printable as well, with all of those elements with visibility set to false not showing up in the printout.
|