_root In Path
Flash MX 2004 Exporting to Flash Player 6
I am trying to add a variable to a URL path and I can't seem to find the right code to do it. Below is what I thought it should look like, which although not working may help to give you an idea as to what I am trying to do.
_root.importIN.WindowIN.Nadine.Import1.loadMovie(" '_root.examplevariable'/30/image1.jpg");
all help very welcome.
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-18-2006, 02:56 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
_root.path="http://www.sitename.com/path/FlashSite/"; Script Issue While Online
Hi there,
I inserted _root.path="http://www.sitename.com/path/FlashSite/"; in the beginning of my action script (2.0). This script accessing contents from an access database, which is working fine, when I tested from my local system folder. But no content from database is displaying while it tested from my localserver (127.0.0.1/path/FlashSite) or from online server.
From a search I found it might be the issue with "Network Access Warning". Is there any other reason? If this is the reason, then how can I resolve it?
For example, how should I replace this -
setTimeout( function(){ _root.content01.content02.gotoAndStop("cont_a");}, 1000 );
Thanks in advance
Shine
Variable Path Name --> Path=_root
instName="inst1";
path="_root";
Element.prototype.setVisible = function(){
[path+"."+instName]._visible=true;
}
I am trying to build a variable path to an instance. Normally I would do something like this[var]._x, but this doesn't work with _root.
Any ideas?
_root.path="http://www.sitename.com/path/FlashSite/"; Problem While Online
Hi there,
I inserted _root.path="http://www.sitename.com/path/FlashSite/"; in the beginning of my action script (2.0). This script accessing contents from an access database, which is working fine, when I tested from my local system folder. But no content from database is displaying while it tested from my localserver (127.0.0.1/path/FlashSite) or from online server.
From a search I found it might be the issue with "Network Access Warning". Is there any other reason? If this is the reason, then how can I resolve it?
For example, how should I replace this -
setTimeout( function(){ _root.content01.content02.gotoAndStop("cont_a");}, 1000 );
Thanks in advance
Shine
Path From Nested M/c To _root;
I can't believe I'm stuck on this, it seems like it should be really easy but here goes.
I'm trying to send my movie back to the main timeline from a nested movieclip but can't get the code to work.
I basically have a path like this: MainTimeline>MC1>MC2
and I've tried various lines of code in the end frame of MC2 to send the playhead back to the beginning (_root) eg:
_root.play();
_root.play('MainTimeline')
_root.gotoAndPlay(1);
_parent._parent.gotoAndPlay(1);
It seems that all of the above are simply being ignored as MC2 just loops round and round. I'm sure that all the above lines should work, can anyone tell me what I'm doing wrong?
Thanks
How Do I Add Onto _root Target Path?
Hi there, this seems like an embarrasing question to ask...
I'm trying to use the " telltarget" action, but I forgot how to add onto the _root target path, since my movie clips don't show up under _root in the Insert Target Path window. Am I missing something obvious?? Pls help! thanks~
_root Path Using Variable?
basically i've got a inbox type gig set up, and when you log in, php checks the passwords, and sends the first ten message's information back to the flash file, using a loop such that the subject of the first message would be 1_subject, the second 2_subject, and so on.
in the swf, when you click inbox, it creates 10 dynamic "message" movieclips in a loop, where the first would be "message1", the second "message2", etc. inside each clip is a code that strips "message" away, leaving just the number (x=1, x=2, etc), but it's in string format, if that matters...
when i try the following:
subject = "_root."+x+"_subject"; //it actually prints "_root.1_subject" instead of the actual subject for message one
or
subject = _root.x+"_subject"; //it prints "undefined_subject"
anybody know how i should fix this??
thanks for the help
_root + Path Conundrum..
Hi, I'm designing a CD-ROM which will run at a show WITHOUT an internet connection. What I want to do is have an about page with my details on it and a button which launch either a copy of my whole website (files on the CD) or my own CD-ROM exe file (also on the CD)..
Is this possible to do in flash with the GETURL action? If so, how do I code it so no matter waht the drive letter on the CD drive is, it will run (ie: _root + path syntax)?
I'm sorry but this is kind of urgent as the CD-ROM must be out by beginning of next week, Any help would be greatly appreciated..
Cheers,
Paul @ basepoint designz LTD..
basepoint designz LTD www.bpdesignz.com
Path From Movie Inside _root
I'm pretty new at this and I have a problem that I don't seem to be able to solve.
I'm trying to jump from one movie (movie1_mc) inside the _root to another movie also in the _root (movie2_mc) and go to a particular frame in it (5)
This is the line of code at the end of the "movie1_mc"
_root.movie2_mc.gotoAndPlay(5)
Can anyone help?
Thanks in advance
[F8] Issue With _root Path? Swf Loading Into Swf
Hi,
Let's try again
I'm a bit stuck on this one.
Gparis suggested that might be a path problem but I don't seem to find a way to solve it. I tried including the _lockroot into the code but it didn't work.
My files preview fine individually but when loaded into the front page the first one loads ok then the other ones only load 2 items in the vertical navigation area. Why???
My files are as follow:
main - frontpage.swf
swfs - template1, template2, template3, template4.swf
I've attached so you can see what's happening.
Please give me a hand on this one. I'm really stuck.
Tks
danirob
Target Path...._root, _parent....Help?
Hey Everyone:
I'm stumped? I'll try and explain this as simple as I can and I have also (hopefully) loaded the scaled down .fla file I'm trying to develop. Basically its this. The movie clip (mc) opens and loads three things, one is a button called press, one mc called "Box", and another blank mc that contains a mc called "po". Now when I click the "Press" button" it unloads the "Box" movie clip and it is supposed to start the "po" mc moving it into frame #2 of the po mc. The problem I am having is, I'm sure, how I am targeting the "press" button to move to frame #2 of the "po" mc.
This is the really simplified version of the actual movie. What I am trying to do is have the box come into the scene and then four buttons come in. Each button, when pressed unloads the "Box" and then an animated mc takes its place. When you press either the same button or another one the current button closes and another opens to take its place. The problem I am having is that when they open and close the closed ones stay on top of the opened ones. I'm trying to load the animations in the "blank" mc so that I can utilize the "swapDepth" code when I press the buttons to bring the current button animation to the front. I'm using tell target to open and close a specific mc. That's the idea I'm thinking of anyway.
If you are really interested in seeing what the hell I mean I also posted the whole Movie at http://www.aull.com/flash/ so you get the idea. I've loaded the .fla up in a zip file but it's too big for the forums so I have posted it here http://www.aull.com/flash/test_intro.zip Any help or ideas would be appreciated. I just need to get my target path statement correct, I'm sure of that. Then I can work with the rest of it. So far as I can get it is this when the mc button "press" is clicked.
on (press) {
_parent.box.unloadMovie(0); // unloads box
tellTarget ("_parent.po") { // should start the po mc
play();
}
}
Target Path...._root, _parent....Help?
Hey Everyone:
I'm stumped? I'll try and explain this as simple as I can and I have also (hopefully) loaded the scaled down .fla file I'm trying to develop. Basically its this. The movie clip (mc) opens and loads three things, one is a button called press, one mc called "Box", and another blank mc that contains a mc called "po". Now when I click the "Press" button" it unloads the "Box" movie clip and it is supposed to start the "po" mc moving it into frame #2 of the po mc. The problem I am having is, I'm sure, how I am targeting the "press" button to move to frame #2 of the "po" mc.
This is the really simplified version of the actual movie. What I am trying to do is have the box come into the scene and then four buttons come in. Each button, when pressed unloads the "Box" and then an animated mc takes its place. When you press either the same button or another one the current button closes and another opens to take its place. The problem I am having is that when they open and close the closed ones stay on top of the opened ones. I'm trying to load the animations in the "blank" mc so that I can utilize the "swapDepth" code when I press the buttons to bring the current button animation to the front. I'm using tell target to open and close a specific mc. That's the idea I'm thinking of anyway.
If you are really interested in seeing what the hell I mean I also posted the whole Movie at http://www.aull.com/flash/ so you get the idea. I've loaded the .fla up in a zip file but it's too big for the forums so I have posted it here http://www.aull.com/flash/test_intro.zip Any help or ideas would be appreciated. I just need to get my target path statement correct, I'm sure of that. Then I can work with the rest of it. So far as I can get it is this when the mc button "press" is clicked.
on (press) {
_parent.box.unloadMovie(0); // unloads box
tellTarget ("_parent.po") { // should start the po mc
play();
}
}
Proper _root. Path With Variable Names?
so, if that subject line made sense, i've got a function that creates a textfield, however, i'm having trouble referencing the textfield because it's a variable. i need help on the proper syntax when a variable is involved in the _root path
i.e.
function doTextField(name,layer,x,y,width,height)
{
_root.mc_intro.createTextField(name,layer,x,y,widt h,height);
//now i want to configure the texfield but i don't know how to reference the name properly because "name" is actually a variable and it seems, using this syntax, it would look for layer actually called "name"
_root.mc_intro.name.embedFonts = true;
_root.mc_intro.name.multiline = true;
_root.mc_intro.name.selectable = false;
_root.mc_intro.name.wordWrap = true;
}
[MX04] Locking _root Path So When I Change Mc's _x Value It Is Relative To Parent Mc
Hey all,
I'm loading an external swf into a 'holder' swf using the loadMovie() command. This works find. My problem is that the external swf has actionscript in which a mc's _x value is changed. When loaded into the holder swf, instead of changing the _x value from the 0 point of the external file, it does it in relation to the holder's.
I've done a little research and tried to play around with the _lockroot command, but I can't seem to get it to work. I've tried putting it on the first fram of the loaded swf and targeting it from the holder swf, and neither has worked.
Is there another way of getting around this; it will be easier for some coding I have to do later on if the holder is the _root.
Any help would be great,
Greenham.
"_root" Is The Only Thing Showing Up In "insert Target Path" Window
Hey guys,
I've got a button in a movieclip that, when pressed, I want to control the timeline of another movieclip (instance name: video).
I enter the following code on the button and it does nothing:
on(release) {
video.gotoAndPlay(2);
}
Now I suppose the path is wrong but, when I click on the "Insert Target Path" icon in the actions panel, the only thing that shows up in the window is "_root". It doesn't matter which movie clip I am in, when I click the "Insert Target Path" icon, all that shows up is "_root".
There is a heck of alot more to my movie than that, where are all the movieclips? The "video" instance is nested 3 movieclips deep. I've tried entering the path manually too, but it don't work. What am I doing wrong?
Thanks very much!
artane
_root.play() / _root.gotoAndPlay() Not Working
Hi,
I am working on an interactive movie, the movie consists of a number of small movie clips. I need each clip to play and when it reaches it’s end stop and tell the main time line to move to next frame, on that frame the next MC will [play and do the same.
I am trying to use this script for the last frame of the movie:
_root.play()
I also tried “_root.gotoAndPlay()” and “_root.nextFrame()
It doesn’t seem to work.
Anyone has any idea why ???
Loading .swf To _root And Performing Actions On _root
Hello, I have a loader which should load a movie which should be placed on the _root so that all of it's actions will still work. also, i need to perform some actions on the _root which is specified in my loader. f.eks. say I load my movie at _level0 and then I trace "movieLoaded" all the time.
And I use flash MX
This _root And That _root, Parents, Children, LoadMovie...
I'm building a showcase to show a bunch of my work. Let's call my work "children" and the showcase file the "parent".
A lot of the children files have some actionscript that references functions and variables on the root level. However, when those files are loaded into the parent file, the root is now the root of the parent file, not the child file.
SOME of the stuff, I've been able to remedy by opening each flash file and copying and pasting all that crud into the shell flash movie.
Unfortunately, not all of my wizardry is working, and hey, who knows what's wrong. Since the individual files each have functionality that works on it's own, is there some way of telling those children files to look at the root ONLY on their own file, or, as soon as the swf is loaded, the root is changed?
How can I avoid this in the future?
ALSO, is there some way to globally override the "getURL" function call so any and all clicks are now dead links?
_root.link / _root.page Help
hi gang, ive got a flash template im trying to edit for a friend, id say im fairly good at flash ive made alot of sites with actions but having trouble with this.
the problem i have got is the _root.link=
this is the action script:
on (release) {
if (_root.link <> 8) {
_root["page"+_root.page].gotoAndPlay("w2");
_root.link = 8;
_root.page = _root.link;
}
}
(there was more but that was just controling the button animation, ive just posted this to keep it simple , for me atleast)
what im having trouble doing is working out where the route is?
i want to be able to creat another movie and link it
eg:
on (release) {
if (_root.link <> 9) {
_root["page"+_root.page].gotoAndPlay("w2");
_root.link = 9;
_root.page = _root.link;
}
}
how would i lable the movie to be '9' where would i do this, i have looked and ive had no joy, some help would be good, if u need more info from me please do ask
_root._root[eelmine].nextFrame(); ?
if a condition is true, then:
_root.(MC with instance name that is the value of "_root.eelmine").nextFrame();
is this correct?
_root._root[eelmine].nextFrame();
_root._root[eelmine].nextFrame(); ?
if a condition is true, then:
_root.(MC with instance name that is the value of "_root.eelmine").nextFrame();
is this correct?
_root._root[eelmine].nextFrame();
Using Eval Function And Variable In A Path (target Path)
Hello,
I have to reprogram some of my website and it calls to conjugate strings in a way that's beyond my understanding. Please help me with some suggestions. Kind regards.
the original code is:
code:
if (_global.useCount<10) {
//hide
var diff = 10-_global.useCount;
for (diff; diff>0; diff--) {
eval(String(11-diff))._visible = false;
}
}
There are buttons named 1 to 10 and this turns off the ones that are not used. Now I want to nest those buttons in subclip "buttonsRow", instead of having them on main timeline. How do I rewrite that code to make it work with new path?
I have already tried the "associative array" method, but it don't really know how to pack the whole eval function in there. I've tried many combinations, like:
code:
this.buttonRow[eval(String(11-diff))]_visible = false;
//or
this.buttonRow["eval(String(11-diff))"]_visible = false;
//or
buttonRow[eval(String(11-diff))]._visible = false;
//or
buttonRow["eval(String(11-diff))"]._visible = false;
//or
buttonRow[eval(11-diff)]._visible = false;
// or
buttonRow[8]._visible = false;
//the last one at least turns off button 8, lol
Some of those return syntax error and some just don't work. Anyone have any ideas? Thank you again.
Cannot Export An Avi Of Motion Along A Path When Path Is Specified With Action Script
Hello!
I have the following problem: I am using Flash 8 Professional to produce a series of avi files showing the motion of a dot along different paths. Whenever I use the drawing tools to draw the path everything is all right: I can export both a swf and an avi file showing the motion. The problems start when I use action acript to specify the path: then a swf can be exported, but not an avi file (Flash acts as if it is exporting but the avi file produced shows only a stationary dot). Can anybody help me?
_root._root.testbox?
I have this small problem.
I have 2 swfs(main.swf and links.swf)
I then load links into main. In links I loadvar using php and sql.
I fetch links from my sql databas and print it in php.
But it doesnt work when I load links into main.
It only works when I view links.swf directly.
Example:
links.php
databas connection etc etc
mysql query etc etc
print"&name=$name";
print"&link=$link";
print"&status=DONE";
in flash(links.swf)i then have this:
status = "LOADING";
loadVariablesNum("links.php", 0, "POST");
if (status eq "LOADING") {
gotoAndPlay (_currentframe-1);
} else {
gotoAndPlay (2);
}
I have 3 dynamic boxes called:name,link and status.
and a stop() on frame 2.
So how do I get this to work? I´m sure you guys know the answer to this.
I also have another question.
When I look at the links.swf directly only the first post appears and I want the whole list so that the user/visitor can scroll the link list. How do I loop that in flash or is it in php/sql It should be done and if so,, how would the php code look like.
Would this work?
$query="select * from links";
$result=mysql_query($query);
$name=mysql_result($result,"name");
$name=mysql_result($result,"link");
print"&name=$name";
print"&url=$link";
print"&status=DONE";
How do I then make the name linkable?
I can only have one dynamic box in the flash right?
So that the name flashkit is the link to flashkit.
Please help me with the above,, really need to get this to work.
_root._parent.? Problem With "_root" Etc
I have been using flash for some time now and understand basic actionscript. However only just recently(last few days), i have gone onto more advanced stuff like cursors (advanced for me )
Well i am making a flash movie that incorporates all of my testings for people to see.
I am current;y working on a movie where the cursor is a knife, and when the cursor goes over this picture of someone, the knife (cursor) should go to and play the second frame of the knife (cursor) which has added blood.
I.e, when the mouse goes over the picture, the knife becomes a picture with blood, so in effect you are stabbing the picture. (don't worry, i'm not a sadist!)
At the moment my movie is like this...
drag drag2
(pic) (knife)
^ ^
| |
<<drag_mc>>
^
|
Scene 1 -----> navigation...
(root?)
Description: The scene one has two movies in it, "navigation" (which is OK) and the "drag_mc". The "navigation" is fine so i won't go into that. The "drag_mc", then has two movie clips in it, "drag" and "drag2".
I assume that to make the "drag2"(cursor) go to frame 2 when it hovers over "drag"(picture) that the "drag" should have a on(rollover)
command. I've put in the command, but i'm having troubles linking that to the "drag"'s frame 2.
I have just messed about with _parent and stuff, but never understood it.
Please could someone help me here, and/or tell me exactly how the _root and stuff works??
P.S. the on (rollover) is actionscript for the drag movie, and not in the movie if you get what i mean....
---newbie in distress---
EDIT: the picture did not come out as planned, but it is still readable. Just remember that the two movies ("drag" and "drag2") are placed in the "drag_mc" movie
A Button In A MC In Frame 1 Of _root Hiding An MC In Frame 2 Of _root?
Hi. I have a button, "auroraB" in a movie clip "startupMC" which is in frame 1 of _root. There is another MC, "scenic" in frame 2 of _root.
The button "auroraB" is clicked and takes the user to frame 79 of the MC in frame 1. From there the user clicks another button to go to frame 2 of the _root.
How do I get it to hide MC "scenic" in frame 2 of _root when the button "aurroraB" is clicked? Thanks
_root.send1.text = _root.total3.text;
Ok I have this script in a Movie Clip! First frame has
_root.send1.text = _root.total3.text;
2nd frame
gotoAndPlay(1);
So it updates!
Both send1.text and total3.text are input text fields in Flash! When I test this out it works fine but when I get it up online it doesn't work! The information in total3.text doesn't get sent to send1.text!! Also note both have Var titles asigned to them! Let me know if you can figure out what's wrong! Thanks!
Wrong Path Given, What Path To Use?, And Why?
Since the beginning of my Flash time, i never solved the 'giving path' problem in Action Script.
Most of the time my paths work, but sometimes they only work in an empty .fla file and not in my homepage.fla file with the code in another scene.
This time it's the code in the timeline (layer: actions, frame 2, scene: control_panel_sc, .fla file: homepage.fla):
stop();
ccbTime.addItem("tidfme2");
I tried naming the path to:
this.ccbTime.addItem("tidfme2");
super.ccbTime.addItem("tidfme2");
_root.ccbTime.addItem("tidfme2");
_parent.ccbTime.addItem("tidfme2");
_global.ccbTime.addItem("tidfme2");
_level.ccbTime.addItem("tidfme2");
_leven0.ccbTime.addItem("tidfme2");
this._root.ccbTime.addItem("tidfme2");
even adding the scene name to it:
this._root.control_panel_sc.ccbTime.addItem("tidfm e2");
etc. (thus the above paths again + scene name)
All paths above don't work, meaning, i can't see the value in a component ComboBox, though in an empty .fla file i do see this value.
Because you can't help me out without actually seeing the .fla file, i uploaded it:
(every link is the same file, so just choose one URL).
http://pcxpert.dyndns.org/homepage.fla
http://pcxpert.dyndns.org/homepage.zip
http://www.uploading.com/?get=YQ0G1UIC zip version
http://www.uploading.com/?get=VWE6WZKO .fla version
http://members.lycos.nl/johnwhello/homepage.fla
http://members.lycos.nl/johnwhello/homepage.zip
ftp://pcxperting:flash@pcxpert.dyndns.org/homepage.fla
ftp://pcxperting:flash@pcxpert.dyndns.org/homepage.zip
Also, you're authorized to change any file at ftp://pcxperting:flash@pcxpert.dyndns.org (the future pcxperting.com that is made by and made for pcxperts)
Convert "_root" To _root
anyone know how to convert a string "_root" to the path specifier _root???
The Object() converstion function doesn't seem to be doing the trick..
hmmm
any help would be appreciated
cheers
"_root.MCname" + "_root.MCvalue"
Hallo,
how can I grab the value contained within a MC name, e.g.:
Code:
duplicateMovieclip(_root.myMC, "_root.myMC"+someIntegerVariable, level);
_root.myMC+someIntegerVariable._x = 100;
It happens that the parser cannot parse the second row, since
"Left side of assignment operator must be variable or property".
My target is to make the sum of two instance names as a single instance name.
thank you very much!
s---
AS3 - Path Problem ? Var In Path Problem Not Working
hitrect1_mc.buttonMode = true;
hitrect2_mc.buttonMode = true;
hitrect3_mc.buttonMode = true;
hitrect4_mc.buttonMode = true;
hitrect1_mc.addEventListener(MouseEvent.CLICK , cl1);
hitrect2_mc.addEventListener(MouseEvent.CLICK , cl1);
hitrect3_mc.addEventListener(MouseEvent.CLICK , cl1);
hitrect4_mc.addEventListener(MouseEvent.CLICK , cl1);
function cl1 (e:MouseEvent):void{
xa=e.currentTarget.name.charAt(7);
for (i=1;i<=xa;i++){
targets = "bar"+String(i)+"s_mc";
trace (targets);
soundrect_mc.targets.gotoAndStop(2);
}
well it traces bar1s_mc if it's exact as the code.
if i remove soundrect_mc.targets.gotoAndStop(2); it traces all targets.all 4 of them.How do i make flash recognize "targets" as a path to a movie clip ?
_root?
hello
i have a clip inside a clip.. and in THAT clip i have a button that want to close the MAIN clip to be removed from the main time line.. it is located there....
doesent work with :
on (release) {
removeMovieClip (_root.news);
_root
Help I've got some flash 5 code that I have to edit yet I don't know flash 5 code well enough.
The problem is that all the code is referencing the _root directory, but I need to put it into another file. Now when I was using flash 4 code I would simply use relative references, but I don't know how to move outside of a file in flash 5. For Flash 4 I would go ../blah.
How can I do this???
Please help
What Is _root?
i have a movie with many Mc controlled by tell target action in it.now i want to add preloader scene to this movie.when i add the scene ,it works fine but in the movie some buttons in the MCs have goto _root and play <frame no.> these button send the movie to preloader,why???
what is root for the flash player---the maintime line of the scene it is right now OR maintime line of the first scene???
_root.a._x Eq -271 {
if (_root.a._x eq -270) {
stop ();
} else if (_root.a._x ne -270) {
gotoAndPlay (21);
}
Can someone tell me what's wrong with this if anything?
It should be working.. i dont get it..
-Paradoxz
_root
I'm reading and reading and I still don't understand for what is the _root on Flash.
And I neither understand the function of with (I used Tell Target).
Bye::::::::::::
Help With '_root'
Erm, I got this from a previous post....
_root.MUSIC.gotoAndPlay("MUSICOFF")
What would I do if I wanted it to be the same but to level 7??
_root
Where is the _root command in the actionscript menu
If _root ?
Hello friendly flashers,
I have a new problem.;-)
Here is the idea.
It has to be a check for a button. And then goto the correct frame.
if it's onframe 1 goto frame 40
on (release) {
tellTarget ("_root") {
gotoAndPlay (40);
if (_root) {has to check frame 2
tellTarget ("_root") {
gotoAndPlay (41);
}
}
}
}
Hope you understand my question.
Thanks in advance
J
_root Help
i'm desiging a website for my friend. on request, i made all buttons in a movie clip that have pull down buttons. a nifty trick, but i cannot get the buttons to work properly.
i use normal mode, and it hasn't worked properly. i've heard that to function, it needs the _root. command, but i have fooled around with it and am better off asking for some real help. if you could get one button to work, i could copy/paste/edit for the others.
i'd like the buttons to work when pressed. the content is on scene1.
please help
stews
_root. What? Please Help
hey flashers,
ok, i have a movie clip, inside the movie clip is a button that when clicked, is supposed to load a movie into a blank movie clip on the main timeline. its not working as you probably figured. I gave the blank movie clip on the main timeline an instance name of "dtext". the action script i have for the button is this.
Code:
on (release) {
loadMovie ("dynamic text box.swf", "dtext");
}
i know it has something to do with that .root command, but i cant figure it out. where does the root command go, and is there anything else i am doing wrong? please help.
Jacob
_root?
I want to go down multable levels in movie clips.
and i thought you use root and give each movie an instance name. so like
_roor.movie1.movi2.gotoAndPlay(5);
but it does not do anything, am i writing the code wrong
_root.?
what's the difference b/w for example -root.gotoAndPlay() and gotoAndPlay()?
Something Other Than _root ?
I'm that annoying guy who asks questions about every little detail without trying it himself, but this time, i swear, i have a legit question.
I'm using some script to fade out a sound...i found a post here that was WAY helpful. One problem though. I'm using: _root.interClip.s.setVolume(25); This works when fading sounds in the same scene. BUT, i want to fade a sound from another scene. is there something other than _root I need to be using?
Thanks!!!
|