_parent. Ques
im trying to load an external jpg. and the file name of this jpg is the name of the mc 2 levels above the command. if u dont understand this is thi code im trying to use
Code: x = _parent._parent._name; loadMovieNum("x".jpg, 1);
i also tried putting th eparent crap in the load move itself like this
Code: loadMovieNum("_parent._parent._name".jpg, 1);
and its still not working. any one able to give some advice
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-21-2002, 08:22 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F8] Flash Popup In _parent Or _parent._parent
Hi,
I'll explain what I'm trying to do first and then say how my fevered mind is trying to do it.
I want a page that has loadable dynamic text (whic I can do).
Within that text I want to be able to link (in anyway at all) to a flash (not javascript etc) popup. And I want to load dynamic text into that flash popup based on at least one variable that can be passed to it.
Right, this is the twisted route I've taken so far.
Set up a web page for my sister, this has pages for biography and news etc.
Within those pages I created a javascript popup, which was nice.
Then someone at work showed me Flash and the past two weeks have been spent trying to recreate the web page in Flash.
I got lots of tutorials that showed me how to load text dynamically (which my sister will be able to handle, as shes not a techie, that isn't a slur in the highly unlikely event she reads this:) ).
Then I saw some templates which had some fancy Flash popup with transparency. They really fit in with the look of the web site I'm setting up. Great, i thought, I'll do that.
But how to link a popup? Well I'd already seen someone putting a swf file in the dynamic text so I created a button in it's own swf file that when clicked attached a movie file with the popup in it (I followed askthegeezer 's post on setting up a transparent dragable popup).
It looked good but there are some problems with it...
The popup only appears in the dynamic text field not across the whole page, I guess this is because the dynamic text field is the parent of the swf that holds the button and the popup.
Also it appears to resize the popup based on the dynamic text field.
And I'm having problems getting each popup to appear in a reasonable place.
Finally I'm having to create a new swf for each link I want. Not a problem at the moment as it's only got three links.
Any help will be greatly appreciated.
Not sure how relevent the code is as I could be doing this completely wrong but I'll upload them anyway
Firing Function In _parent._parent
I have 1 main mc that holds three seperate mcs. I'm trying to fire a function on the nav of one of the mcs from a "content" mc, passing in the button name/id from this content mc. I can trace to parent but the trace of the function within _parent._parent is undefined.
Anyone have any suggestions, code chunk is below?
Code:
//code on button within a content mc trying to trigger the code in the nav mc.
this._parent._parent.productNavHolder.navRel(this._parent._parent.productNavHolder.btn3);
// trace comes back undefined
trace(this._parent._parent.productNavHolder.navRel);
Nav Ques
Hey guys I seem to remember a thread regarding how to make this kinda of NAV :
http://dopepope.com/ntps/Build_onff/
Anyone remember the thread or have a link on a tutorial to dup that kind of load jpg and have the window resize automatically...thanks all
AttachMovie Ques
Hi -
I'm using the code below to bring mcs from the Library to the stage. It works fine until I tried to add the x,y at the end.
I thought there was a way to include _x and _y coordinates to the same statement as the attactMovie. Is there?
TIA the correct way to accomplish this.
jl
Attach Code
mc_btn2.btn2.onRelease = function():Void {
attachMovie("Q2WithGame","Q2Game",this.getNextHighestDepth,[_x=45,_y=110]);
};
Simple AS 1.0 Ques
AS 1.0
I have this code in a keyframe on the main timeline:
var score = 0;
if (score == 2500){trace("winner")}
Othe stage in the maintimeline i have a dynamic text field I labeled "score" in the var box. The instance name is "pts" but i wasnt sure if i needed an instance name anyway here. The score box works fine as far as keeping score but when it reaches 2500, I dont get my trace. What am I missing? Thanks
-Chris
Stupid Ques
hello new be ere (welsh) i got a prob wanderin if some1 could help im tryin to get a news page that updates ive got this off yahoo
this
so now tryin to use it but flash does ntlike it im prob doin some thing stupidly wrong now on the verge of not botherin
PLEASE HELP
Attaching MC Ques
hi.. anyone out there can give me a tutorial which teaches attaching a MC to another MC?? urgent..
Stupid Ques
hello new be ere (welsh) i got a prob wanderin if some1 could help im tryin to get a news page that updates ive got this off yahoo
this
so now tryin to use it but flash does ntlike it im prob doin some thing stupidly wrong now on the verge of not botherin
PLEASE HELP
Flash Ques
please can you explane me how can I make this file like on this site:
http://www.t-s-k-b.com .You go on this site and press SAKUBA WORKS and then button Painting/Drawing
I would like to make a picture gallery like in Painting/Drawing: So how I can make when the mause on the button to show small image of the picture and when I press the image to open the picture how is on the site(not in a new window)?
Please tell give me advice how could I make it!
thank you
Another Loading Ques
Is it possible to make the movie load let's say... only the 1st 2 frames of movie that has 8?
Button Ques
Ok real dumb ques..I have this animation..u can dl it from here: www.zeroxposur.com/test/nav.fla
So what I want to do is have 5 buttons fade in ..onto the bar as it finishes its animation..but I dont know how to do it.. Can anyone point me in the right direction. Thanks
Easy AS Ques.
ok so I have a flash doc..theres a an MC called target on mainstage that has the entite site in it (doing a fullscreen centered website)..now I have MC nav buttons on the stage (inside target). Inside one of the nav buttons I have a line of AS that says
ActionScript Code:
this.onRelease = function(){
_root.target.loadMovie("bioresume.swf", "loader");
}
Now im not sure If im doing that right..but what i want to happen is; after u release the button, load the ext swf into the empty MC called "loader". But what seems to be happening is it loads the ext swf but everything else on the site disappears. See I originally had this as my AS cause i thought this made sense but it ends up not doing anything:
ActionScript Code:
this.onRelease = function(){
loadMovie("bioresume.swf", "loader");
}
So if anyone knows what I did wrong, much appreciation. Heres the site link if u want a visual:
www.josephsernio.com/test
Easy As Ques.
Ok for some reason the end of this code doesnt work.. on release, i want it to take me to frame 2..and it wont...btw this a movie clip that has button properties through AS:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
gotoAndStop(2);
}
MC Loader As Ques.
im working with the moviecliploader AS..so a button loads an ext SWF and also has a percentage loader .. so on my mainstage i have a loader mc (instance name "loader")and a holder mc (instance name "holder")..heres my AS on the main timeline:
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target,loaded,total) {
loader.percent.text = Math.round((loaded/total) * 100) + "%";
}
mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = "";
}
mcl.addListener(mclL);
Now i have another MC that houses about 20 or so buttons..so within the buttons MC i have say this for one of the buttons:
b4sub.onRelease = function() {
_root.loader._visible = true;
_root.mcl.loadClip("LevisCampaign.swf",holder);
And unfortunetly it doesnt to load the ext. swf..did I code the _root incorrectly?
Thanks for your help.
Fscommand Ques
Hi all, I was working with fscommand, when it struck me what FSCOMMAND stands for.
"Future Splash Command"
Can anybody confirm this, or am I mad, lol
Later
ORANGE900
LoadVariables Button Ques
Hello all. I have this code attached to a button calling up a different text file to a dynamic text field and it works fine, except I'm having to hit the button "twice" for it to work. Can't figure out why. Can someone enlighten me please?
code:
on (release) {
scrolltext = scrolltext1;
loadVariables ("scrolltext1.txt", scrolltext1);
}
Thanks in advance
Easy - Pong AI Ques.
Ok just to see if I could do it(never really got into game programming) I tried to make a pong game everything works so far but I have a problem with this:
Flash code:
PHP Code:
onClipEvent(enterFrame) {
if(_global.cspeed == 0) {
}else{
if (this._y != _root.ball._y){
if(_root.ball._y < this._y){
this._y -= _global.cspeed;
}else if(_root.ball._y > this._y){
this._y += _global.cspeed;
}else{
this._y = this._y;
}
}
}
}
The problem is that instead of moving smoothly up the screen it looks like it s shaking up and down really quickly, but I would like it to be smooth.
Please help.
Movie Clip Ques
Hey i just started doing flash yesterday and i am doing a text fade
I made the motion tween and and everything and when i go to control and play everything is smooth but when i go to test movie nothing it just stays the same and doesnt fade :> plz help me
Movie Clip Ques
Hey i just started doing flash yesterday and i am doing a text fade
I made the motion tween and and everything and when i go to control and play everything is smooth but when i go to test movie nothing it just stays the same and doesnt fade :> plz help me
Quick Mask Ques
Im sure this is an easy one.. on the foofighters website http://www.foofighters.com When U click a button that flourish/swashy graphic looks like it is unwinding or growing rather. I would like to get the same effect.. Its obviously a mask of some sort. I know who to mask, im just figuring its a mask that is animated somehow. Anyone have an idea? Appreciate any insight into this. Peace
-R
Quick Actionscript Ques.
Ok so im building a portfolio website and basically if you click on the art image it goes tothe next art image..I have it set up so the art images are buttons and when u click it, it is coded to goto next scene..On one scene however the art image is a movieclip (fading effect)...now how do you write the actionscript so if you click on the movieclip it goes to the next scene? I dk im right but...my guess is to put the MC within a button symbol? But I dk. Thanks guys.
UI Text Input Ques.
Ok so Im making a form in flashmx2004..I drag out onto the stage the UI compnent textinput box..now I want to make this box multiline but it doesnt give me the option to do so. Do I have to make input boxes in a different way?
Motion Guide Ques
Hi all,
Is it possible to create a motion guide, so the object connected to the motion guide is always in the centre of the screen.
What I mean is, if we were trying to go from point A to point B
we could see the full journey of the object travelling along motion guide in the centre of the screen.
A-------->--------->-------->------B
The sort of thing I mean is included, but with no motion guide instead, the car remains in the centre of screen and is able to move around the track which in turns moves the the track below.
Thanks for your time, sorry for the broken language. Hope you can help.
--------------
FLA = MM2004
Is There Such A Thing Like _parent._parent?
Is there code that lets you drill out more than one movie at a time? For example, _parent backs you out one level, where _root takes you all the way out no matter how far into movie clips you are. Is there something I can say that basically says _parent._parent instead of going all the way to _root and then drilling all that back in just to get to a movie? Thanks
<> QUICK QUES RE:Positioning After Dupe
Hi Im using a while loop and the dupliacteMovieClip() to dupe a certain number of my Mc's. I want to postion each duped Mc after its created with setProperty but I cant figure out how to do this within the same loop.
It complains in output box:
Symbol=playlist_Mc, Layer=Layer 2, Frame=1: Line 9: Expected a field name after '.' operator.setProperty(_root.playlist."box" + count, _y, vertpos);
Obviously I cant do the <"box" + count> bit, but how else can i do it?
(see code below)
Code:
onClipEvent(load){
var vertpos = 46;
var count = 0;
//create
while(count!=4)
{
duplicateMovieClip(_root.playlist.box, "box" + count, 1);
-->this doesnt work//setProperty(_root.playlist."box" + count, _y, vertpos);
trace(count);
count++;
}
//position
}
-Rich
Pleez Help With Random Keyframe Ques.
I have four different movie clips on four different keyframes (2-5) the first key frame has a clip with an invisible button over it. WHat I would like to achieve is onMouseover of the button in the first frame......I would like the playhead to randomly gotoAndStop on of the other frames (2-5). To give the illusion of random movement. The on mouseout return to the first keyframe. any help greatly appreciated....either a .fla I can study or some AS would be great.
Probably Simple LoadMovie Ques. For JPEGs
I have a target MC that I want to load some JPG's into in my Flash Movie. The Target MC's dimensions are 650x500px. The JPG's are the same. When I attempt to load them, I can notice that something has changed in the tone of the movie clip (I had the target MC a grey color then that color disappears) but the JPG does not load.
I tried a smaller JPG, like 1/4 the size, and it loaded OK. ANyone have a suggestion?
Action Script Ref Code Ques
Hello i keep getting this this action script error when i attempt to render this swf could some one explain what this error message means ......i am not sure what the variables are looking for ....... the version is Flash 8 - the action script is below and the error message is below that.......
#include "lmc_tween.as"
//classes are loaded on this frame
var state:com.collection.State = new com.collection.State(this);
// start program
var main:com.collection.Main = new com.collection.Main(this)
//
bg_img.tween("_alpha",100,1,"linear",.5)
stop()
Error message (below)
**Error** Scene=Scene 1, layer=actions, frame=5:Line 1: Error opening include file lmc_tween.as: File not found.
#include "lmc_tween.as"
**Error** Scene=Scene 1, layer=actions, frame=5:Line 3: The class or interface 'com.collection.State' could not be loaded.
var state:com.collection.State = new com.collection.State(this);
**Error** Scene=Scene 1, layer=actions, frame=5:Line 5: The class or interface 'com.collection.Main' could not be loaded.
var main:com.collection.Main = new com.collection.Main(this)
Total ActionScript Errors: 3 Reported Errors: 3
Action Script Ref Code Ques 2.0
Hello please see this link it is a follow up to the thread i created before....i am stil trying to figure this error out when i generate the flash swf it works but not properly... below is a link to what the swf looks like there are buttons that should show and i get this message (shown below) in the flash error box that says (output) when i hit ctrl+enter to generate the swf.... any suggestions...?
b1,b2,lgText,redText,arrow,a:link,a:hover
yo
http://www.amjaydesign.com/mainCol.html
http://board.flashkit.com/board/showthread.php?t=744878
Simple Ques About Blue Border Box
I'm using flash 8. When you draw something or import a picture flash 8 puts the blue border box around it. Well mine is gone. If I draw something and click on it it is a broken shape. How do I get the blue border box back?thanks
Loading Clips Into Levels? -quick Ques
Hi, I need a quick bit of code or at least somebody to give me an idea on how to actually have a clip load itelf into a specific level depending on the value of a variable. I want to do this as my duplicateMovieClip() code is putting MC's on higher levels than other elements (other Mc's) in my movie, and one of these elements in perticular needs to be the 'highest'.
I tried using setProperty() as below but it doesnt work, flash complains (I gather it doesnt consider '_level' as a property?)
Code:
setProperty(need2BHighest_Mc, _level, highestLevel);
Any help appreciated
Html Code Inside Flash Ques
I have a client who wants me too put some html inside the flash actionscript. He's not sure it will work and I'm not sure if it's possible or how to do it. Here's the code any suggestions thanks
<form action="/gift/save/1234" enctype="multipart/form-data"
method="post">
<input name="file" type="file" />
</form>
_parent._parent ?
Hi all,
Looking for a quick answer...would really appreciate any help...
How do I call the parent clip of a parent clip in dot syntax?
Ie: How do I reference two mc's 'up' the chain?
Thanks all.
J
_parent
HELP!! I just put in what should be a simple preloader but it wont move on after it reaches a hundred percent...
perc = Math.round((_parent.getBytesLoaded()/_parent.getBytesTotal())*100);
xperc = perc/100;
barlength = 200;
if ((perc == 100) and (bar._width == barlength)) {
_parent.gotoAndPlay(2);
} else {
nperc = perc+"%";
bar._width = barlength*xperc;
bar._x = -100+(bar._width/2);
}
The actionscript dictionary says the _parent command is only available on flash4 (that cant be true). I am sure it is something simple...
Specifying _parent
Hi -
I am having trouble specifying which level a button is talking with. I have a movie named "one.swf" that is loading "two.swf" into a blank clip. My trouble occurs when I publish the buttons inside of "two.swf" generate an error.
I'm sure this is because they are talking to the root and not to "two.swf". Do I need to specify this in the tellTarget section of my code? If so what is the correct syntax?
on (rollOver) {
tellTarget ("/scrollingtext") {
nextFrame();
}
gotoAndPlay("down1");
}
Thanks for your help. And sorry for my incompetence.
J
_parent
hi,
i'm trying to make a button inside a mclip take me to a frame on the main timeline. i know i should use the _parent thing but i don't really know how...
please help!
thanx
This._parent
I am reading the book, Actionscript for FLash MX- Definitive Guide by Colin Moock and I just finished making a quiz. Here is the code some of the code I used, and where my question is.
choice1_btn.onRelease = function () {
q2answer = 1;
gotoAndStop("quizEnd");
};
//Code executed when button 2 is pressed.
choice2_btn.onRelease = function () {
q2answer = 2;
gotoAndStop("quizEnd");
};
//Code executed when button 3 is pressed.
choice3_btn.onRelease = function () {
q2answer = 3;
gotoAndStop("quizEnd");
};
The quiz works fine with this code. In the book though it tells me to put
choice3_btn.onRelease = function () {
this._parent.q2answer = 3;
this._parent.gotoAndStop("quizEnd");
};
but with this code, when I press the buttons, they don't move to the next part. Can anyone tell me why this is and maybe explain to me what the "this._parent" does.
Need _parent Help,,,PLEASE
Hi, thanks for reading this..
l have a main movie which l have called core.swf
then l have a second movie which is called section1.swf.
In the section1.swf is a thumbnail viewer made in a seperate movie clip which loads a new image on the main timeline once selected in section1.swf. l'm using frame labels on the main timeline e.g "one" "two" "three"
The following code works when i test the move seperatley.
the code for each thumbnail is..
//Thumbnail MC Actionsript//
on (rollOver)
{
gotoAndPlay("on");
}
on (press)
{
gotoAndStop("press");
}
on (release)
{
gotoAndStop("release");
_root.gotoAndPlay("one");
}
on (rollOut, dragOut)
{
gotoAndPlay("off");
}
Now when l load the section1.swf into a container clip on the core movie the thumbnails selector doesn't work, the thumbs are wiewable but when you click a thumbnail the corresponding image wont load into the section1.swf.....Is this a _root problem? l have tried _parent in the above code, but it still doesn't work......Pulling my hair out now....Going bald
Hoping someone can help me...
_parent._parent._parent._parent._parent.
I've got a swf file that contains a movieclip (let's call this movieclip 'Jefferson'). inside this movieclip, at the last frame, it has a code to go to a different frame in another movieclip. Let's call this second movie clip Jackson.
Now Jackson is located in a different swf file that loads the Jefferson movie clip.
So my problem lies in the code in jefferson that tells jackson to play. it works fine if i put _root.jackson.gotoandplay.... but i can't do that, because the swf file that contains jackson is loaded into another swf file. that's 3 swf files total. how many parents do i put? or is there a better way? i've tried up to _parent._parent._parent._parent and it still doesnt play. I hate this parent and root business flash does.
_parent._parent?
I'm trying to make text appear 2 levels above a MC.
This is the code I'm using, but it's not working. Is this an incorrect use of _parent?
on (release) {
with (_parent._parent) {
gotoAndPlay("conference page");
}
}
[F8] As2 _parent >>> As3 ?
I have a as2 to as3 migration issue. I get an error when using
_parent.prevFrame();
in as3. _parent function is no longer supported, so how can I make the same function work in as3.
Help appreciated.
Bets wishes
theredtitan
[F8] _parent Help
What Im trying to do is "remotely get the parent" of a variable. What I mean is this.
I have a mc, with an unknown instance. I know that you can just add this code directly to the movieclip.
PHP Code:
on (release) {
trace(hi._parent);
}
But what if I want to add it to another movieclip/button, not the actual movieclip/button with the parent variable I am trying to find. So like have a button that traces the parent of ANOTHER movieclip?
_parent.
Lets say i have a "main.swf" and i load a movie clip "BIO" on lvl 3 and from MC "BIO" i want to make a button that tells the "main.swf" to "gotoAndPaly(27)" is this possible.. maybe by using "_parent." ??
Using This._parent
I'm trying to fit this game i'm making into one movieclip so it's easier to insert into a flash based website. The script i have so far for the main character is as follows. (The big movieclip i'm fitting evertyhing into is called "main" and with the current script, if the main character touches the "win" or the "wall" mc, nothing happens)
Attach Code
onClipEvent (load) {
power = .35;
radius = 7.5;
yspeed = 0;
xspeed = 0;
friction = 0.95;
gravity = 0.1;
thrust = 0.75;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
if (!_root.main.wall.hitTest(_x-9, _y, true)) {
xspeed -= power*thrust;
}
}
if (Key.isDown(Key.RIGHT)) {
if (!_root.main.wall.hitTest(_x+9, _y, true)) {
xspeed += power*thrust;
}
}
if (Key.isDown(Key.UP)) {
if (!_root.main.wall.hitTest(_x, _y-9, true)) {
yspeed -= power;
}
}
if (Key.isDown(Key.DOWN)) {
if (!_root.main.wall.hitTest(_x, _y+9, true)) {
yspeed += power;
}
}
if ((_root.main.wall.hitTest(_x, _y+9, true)) or (_root.main.wall.hitTest(_x, _y-9, true)) or (_root.main.wall.hitTest(_x+9, _y, true)) or (_root.main.wall.hitTest(_x-9, _y, true))) {
_root.main.play();
}
if ((_root.main.win.hitTest(_x, _y+9, true)) or (_root.main.win.hitTest(_x, _y-9, true)) or (_root.main.win.hitTest(_x+9, _y, true)) or (_root.main.win.hitTest(_x-9, _y, true))) {
_root.main.gotoAndPlay(13);
}
xspeed += gravity;
yspeed *= friction;
_y += yspeed;
_x += xspeed;
}
_parent. Help
hi, im a bit confused with the ._parent function...i sort of know how to use it, yet i dont. the thing is..in the AS dictionary it says:
quote:
Example
In the following example, the movie clip desk is a child of the movie clip classroom. When the following script executes inside the movie clip desk, the playhead will jump to Frame 10 in the Timeline of the movie clip classroom.
_parent.gotoAndStop(10);
well in my case, the external swf is a child of my main MC right?
so when i put the AS code "_parent.gotoAndPlay(2);" into my external (child) MC, it should go on and play the second frame in my mainMC, the parent...right? but it does the opposite, it plays frame 2 in the child......have got this all wrong?
the code on my preloader in the external swf i think i have done it right so that it _parent.gotoAndplay(2)...well here is the code:
Code:
onClipEvent (load)
{
total = _parent.getBytesTotal();
}
onClipEvent (enterFrame)
{
loaded = _parent.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total)
{
_parent.gotoAndPlay(2);
}
}
Code:
the button code is:
Code:
on(release)
{
loadMovie("pic.swf", _parent.container);
}
the website is @ : http://www.medisan.remikstudios.com/
COMMENTS ON THE SITE WOULD BE NICE TOO...CRITIQUES
Help With _parent
Hi,
this is my first post, most of the other problems i have had have been already answered so thanks for that! This is my first proper flash site so excuse my bad coding!
Here's my problem, i have a movie which has other submovies contained within it. One of these movies is a menu movie containing buttons, i want these buttons to control the content in the main movie.
I tried using:
Code:
on(release)
{
_parent.photos._xscale="50";
}
in order to reduce the width of the movie 'photos' but to no avail.
Here is a link to the .fla as it's starting to even confuse me now!
Totally appreciate any help that anyone can give me
thanks, foofighter
Getting Around _parent
so i am learning AS3.0 but lack of global stuff is giving me headache.
I have a bitmapdata that is part of the main class (the one that is the flash movie) and i want a subclass to draw to it.
Code:
package{
import grassBlade;
public class grass extends Sprite{
private var canvas:BitmapData;
public function grass(){
canvas = new BitmapData(stage.stageWidth,stage.stageHeight,true,0x00000000);
var bmp:Bitmap = new Bitmap(canvas);
addChild(bmp);
....
blades[i]=new grassBlade(col,amp,lenght,period);
....
}
...
}}
and the other class glassBlade
Code:
package {
class grassBlade extends Sprite{
....
public function grassBlade(c:uint,a:Number,l:Number,p:Number)
{
...
private function onTimer(e:TimerEvent):void{
var circle:Sprite = new Sprite();
.....
(..... some how i want to draw circle into canvas via canvas.draw(circle))
}
}
Instead Of ._parent?
I'm in flash 8 -
This is probably a super noob question, but I can't figure it out...
I have a button that is calling an action up in the parent of my movie.
It works fine, but here is my code
_parent._parent._parent._parent.gotoAndPlay("11b") ;
I know there has got to be a way to do this instead of
_parent._parent._parent._parent.
I've tried giving the movie it is referring to an instance name - such as
_noob.gotoAndPlay("11b");
but no luck
I looked for an answer in the forums, but no luck. If someone could point me to a tutorial, or shoot me an answer I would GREATLY appreciate it!
Thanks!!!
_parent
Ok I am totally confused on how to use parent. I have code inside of a movieclip and I want to access another movieclip 1 level up
I tried parent.speaker, speaker(parent) ..nothings working
|