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








The Meaning Of _root


Let's say you have three scenes: main (scene1), scene 2 and scene 3. Does "_root" refer only to the timeline of main, or does each scene have it's own "_root" - which can then be referred to by a mc within it.

Or another way: if you say "_root" within a mc within scene 3, is it going to look at the main(scene1) timeline - or the scene 3 timeline?

a basic question but thanks...
vp




FlashKit > Flash Help > Flash ActionScript
Posted on: 12-10-2001, 10:29 AM


View Complete Forum Thread with Replies

Sponsored Links:

What Is The Meaning Of _root
I knew that _root is refer to the root of a flash document.

however I read some actionscripts written by others , I saw for example

_root["xxxxxx"+i]
_root["xxxxx"].img
_root["xxxxx"].tt

what are the meaning of these statments ?
what are the .img , .tt ?
a _root array ? (I guess and seems they are not)

View Replies !    View Related
What Is The Meaning Of....?
good day members
i would like to do a geust book by flash 5
but there is a word PHP i have to use it

so can any one help me to explain to me the meanig of this word
is it a language special for designing a site?
or what please?


thanks alot

View Replies !    View Related
What's The Meaning Of This: /:
Recently I downloaded an fla. file from flashkit that had the following actionscript (part of Flash 5 I believe, dunno.)

loadVariables("scenic.txt", "/");
/:sectiontext = "HOME";
/:sectnum = "1";
subtext = "SCENIC FILM ON THE WEB";
play();


What does the forward slash + colon mean?
Like this: /:

(and why is forward slash a parameter in the
loadVariables method shown on the first line?)

View Replies !    View Related
What's The Meaning?
Hi, could you explain me exactly what does this mean:

loadMovie(_parent.ihost + _parent.brand + ".swf", "brand_mc");

And, maybe how to make it work through my site

Is it possible to asign a default url like (www.site.com/movies) and then load some variables to load the category and the movie file number?

View Replies !    View Related
Meaning?
MyListener = new Object();
MyListener.onKeyDown = function(){
Trace(“got the keydown”);
}
Key.addListener(MyListener);

Do anyone know what the purpose of these script and when we use it?

View Replies !    View Related
Your Meaning
I write fast landscape engine on flash. Now it`s have some flashing deffects, but with correction of rough motion and setting up some objects, like a trees dimensions, little men and different crafts it will be much better. Just look at the...
http://natahaus.ifolder.ru/4156376

View Replies !    View Related
Meaning Of Trace(
if (_currentFrame==45) {
trace("The movie is now on 45");
} else {
trace("The movie is not on 45");
}

may someone plaeas just explain the meaning and function of trace(

View Replies !    View Related
Meaning Of Errors
i have this error and im not sure what it means. could someone tell me if you know.

1151: A conflict exists with definition aLabels in namespace internal.



also is the like a website that has example errors with possible meaning relating to flash actionscript 3.0.

if so that would be a great help.

thankyou for your time.

View Replies !    View Related
$ Before Variable Name... Meaning?
Hi,

I've noticed in a couple of examples scattered around the web that some developers use a "$" character before some class variables.

e.g.:

Code:
class blah {public var $myVar:Number;...rest of class here...
}
Does this actually mean anything? or is it just some strange PHP stylie nomenclature? It might be a really stupid question, and I've got my coat ready to make a sharp exit if it is...

wideeye

View Replies !    View Related
What Is The Meaning Of SerInvterval
good day members
i started using flash mx

and i have thsi question

setInterval

what is the meaning of it,
and what is the job for it in flash mx

View Replies !    View Related
What Is The Meaning Of SerInvterval
good day members
i started using flash mx

and i have thsi question

setInterval

what is the meaning of it,
and what is the job for it in flash mx

View Replies !    View Related
[F8] Word And Their Meaning Quiz
Hi eveybody
I have about 200 word and their mean : english to Arabic put into an arry
arry of Enlish word and an array of Arabic meaning
what I what is to make a multiple answer quiz where a choose a random word from the English list , and display three word from the Arabic list one of them is the correct answer
hope I made myself clear
thanks you for your help

View Replies !    View Related
What Is The Meaning Of ? Marks In This Code
dat0 = "???????????/Azerbaijan Republic/0";
dat1 = "???????·?????/Islamic State of Afghanistan/0";
dat2 = "????????/United Arab Emirates/0";
dat3 = "????????/Republic of Armenia/0";
dat4 = "???????/Republic of Yemen/0";
dat5 = "??????/State of Israel/0";
dat6 = "??????/Republic of Iraq/0";
dat7 = "???·???????/Islamic Republic of Iran/0";
dat8 = "???/India/0";
dat9 = "?????????/Republic of Indonesia/0";
dat10 = "??????????/Republic of Uzbekistan/0";
dat11 = "?????/Sultanate of Oman/0";
dat12 = "?????????/Republic of Kazakhstan/0";
dat13 = "?????/State of Qatar/0";
dat14 = "???????/Kingdom of Cambodia/0";
dat15 = "???????/Republic of Cyprus/0";
dat16 = "???????/Kyrgyz Republic/0";
dat17 = "??????/State of Kuwait/0";
dat18 = "????/Georgia/0";
dat19 = "?????????/Kingdom of Saudi Arabia/0";
dat20 = "???·??????/Syrian Arab Republic/0";
dat21 = "?????????/Republic of Singapore/1";
dat22 = "??????????????/Democratic Socialist Republic of Sri Lanka/0";
dat23 = "????/Kingdom of Thailand/0";
dat24 = "????/Republic of Korea/0";
dat25 = "?????????/Republic of Tajikistan/0";
dat26 = "???????/People's Republic of China/0";
dat27 = "???????????/Democratic People's Republic of Korea/0";
dat28 = "????????/Turkmenistan/0";
dat29 = "??????/Republic of Turkey/0";
dat30 = "???/Japan/0";
dat31 = "??????/Kingdom of Nepal/0";
dat32 = "?????·???????/Islamic Republic of Pakistan/0";
dat33 = "??????/Kingdom of Bahrain/0";
dat34 = "????????????/People's Republic of Bangladesh/0";
dat35 = "???????????/Democratic Republic of Timor-Laste/0";
dat36 = "????????/Republic of the Philippines/0";
dat37 = "??????/Kingdom of Bhutan/0";
dat38 = "????·???????/Negara Brunei Darussalam/0";
dat39 = "???????????/Socialist Republic of Viet Nam/0";
dat40 = "?????/Malaysia/0";
dat41 = "???????/Union of Myanmar/0";
dat42 = "????????/Republic of Maldives/1";
dat43 = "?????/Mongolia/0";
dat44 = "????·??????/Hashemite Kingdom of Jordan/0";
dat45 = "??????????/Lao People's Democratic Republic/0";
dat46 = "???????/Republic of Lebanon/0";
dat47 = "???????/Australia/0";
dat48 = "???????/Republic of Kiribati/1";
dat49 = "??????/Independent State of Samoa/1";
dat50 = "??????/Solomon Islands/1";
dat51 = "???/Tuvalu/1";
dat52 = "?????/Kingdom of Tonga/1";
dat53 = "??????/Republic of Nauru/1";
dat54 = "????????/New Zealand/0";
dat55 = "???????/Republic of Vanuatu/1";
dat56 = "????????????/Independent State of Papua New Guinea/0";
dat57 = "??????/Republic of Palau/1";
dat58 = "???????/Republic of Fiji/1";
dat59 = "??????????/Republic of the Marshall Islands/1";
dat60 = "????????/Federated States of Micronesia/1";
dat61 = "?????????/Republic of Iceland/0";
dat62 = "??????/Ireland/0";
dat63 = "????????/Republic of Albania/0";
dat64 = "??????/Pincipality of Andorra/1";
dat65 = "???????/Republic of Italy/0";
dat66 = "?????/Ukraine/0";
dat67 = "????????/Republic of Estonia/0";
dat68 = "?????????/Republic of Austria/0";
dat69 = "??????/Kingdom of the Netherlands/0";
dat70 = "???????/Hellenic Republic/0";
dat71 = "???????????????????????/United Kingdom of Great Britain and Northern Ireland/0";
dat72 = "????????/Republic of Croatia/0";
dat73 = "????????/Republic of San Marino/1";
dat74 = "?????/Swiss Confederation/0";
dat75 = "????????/Kingdom of Sweden/0";
dat76 = "????/Spain/0";
dat77 = "????????/The Slovak Republic/0";
dat78 = "????????/Republic of Slovenia/0";
dat79 = "????·??????/Serbia and Montenegro/0";
dat80 = "??????/The Czech Republic/0";
dat81 = "???????/Kingdom of Denmark/0";
dat82 = "????????/Federal Republic of Germany/0";
dat83 = "???????/Kingdom of Norway/0";
dat84 = "??????/State of the City of Vatican/1";
dat85 = "????????/Republic of Hungary/0";
dat86 = "?????????/Republic of Finland/0";
dat87 = "???????/French Republic/0";
dat88 = "????????/Republic of Bulgaria/0";
dat89 = "????????/Republic of Belarus/0";
dat90 = "??????/Kingdom of Belgium/0";
dat91 = "????·???????/Bosnia and Herzegovina/0";
dat92 = "????????/Republic of Poland/0";
dat93 = "????????/Portuguese Republic/0";
dat94 = "?????·???????????/The Former Yugoslav Republic of Macedonia/0";
dat95 = "??????/Republic of Malta/1";
dat96 = "?????/Principality of Monaco/1";
dat97 = "???????/Republic of Moldova/0";
dat98 = "???????/Republic of Latvia/0";
dat99 = "????????/Republic of Lithuania/0";
dat100 = "???????????/Principality of Liechtenstein/1";
dat101 = "??????????/Grand Duchy of Luxembourg/0";
dat102 = "?????/Romania/0";
dat103 = "?????/Russian Federation/0";
dat104 = "?????????????/Democratic People' s Republic of Algeria/0";
dat105 = "???????/Republic of Angola/0";
dat106 = "???????/Republic of Uganda/0";
dat107 = "????·??????/Arab Republic of Egypt/0";
dat108 = "????????????/Federal Democratic Republic of Ethiopia/0";
dat109 = "??????/State of Eritrea/0";
dat110 = "??????/Republic of Ghana/0";
dat111 = "?????????/Republic of Cape Verde/1";
dat112 = "??????/Gabonese Republic/0";
dat113 = "????????/Republic of Cameroon/0";
dat114 = "???????/Republic of The Gambia/0";
dat115 = "??????/Republic of Guinea/0";
dat116 = "?????????/Republic of Guinea-Bissau/0";
dat117 = "??????/Republic of Kenya/0";
dat118 = "???????????/Republic of Cote d'Ivoire/0";
dat119 = "?????/Union of Comoros/1";
dat120 = "??????/Republic of the Congo/0";
dat121 = "????????/Democratic Republic of the Congo/0";
dat122 = "????·??????????/Democratic Republic of Sao Tome and Principe/1";
dat123 = "???????/Republic of Zambia/0";
dat124 = "?????????/Republic of Sierra Leone/0";
dat125 = "??????/Republic of Djibouti/0";
dat126 = "?????????·????/Socialist People's Libyan Arab Jamahiriya/0";
dat127 = "????????/Republic of Zimbabwe/0";
dat128 = "???????/Republic of Sudan/0";
dat129 = "????????/Kingdom of Swaziland/0";
dat130 = "????????/Republic of Seychelles/1";
dat131 = "????????/Republic of Equatorial Guinea/0";
dat132 = "???????/Republic of Senegal/0";
dat133 = "?????????/Somali Democratic Republic/0";
dat134 = "??????????/United Republic of Tanzania/0";
dat135 = "??????/Republic of Chad/0";
dat136 = "?????????/Central African Republic/0";
dat137 = "????????/Republic of Tunisia/0";
dat138 = "??????/Republic of Togo/0";
dat139 = "???????????/Federal Republic of Nigeria/0";
dat140 = "???????/Republic of Namibia/0";
dat141 = "????????/Republic of Niger/0";
dat142 = "???????/Burkina Faso/0";
dat143 = "???????/Republic of Burundi/0";
dat144 = "??????/Republic of Benin/0";
dat145 = "???????/Republic of Botswana/0";
dat146 = "?????????/Republic of Madagascar/0";
dat147 = "???????/Republic of the Malawi/0";
dat148 = "?????/Republic of Mali/0";
dat149 = "????????/Republic of South Africa/0";
dat150 = "?????????/Republic of Mozambique/0";
dat151 = "?????????/Republic of Mauritius/1";
dat152 = "??????·???????/Islamic Republic of Mauritania/0";
dat153 = "??????/Kingdom of Morocco/0";
dat154 = "???????/Republic of Liberia/0";
dat155 = "???????/Republic of Rwanda/0";
dat156 = "?????/Kingdom of Lesotho/0";
dat157 = "???????/United States of America/0";
dat158 = "??????·?????/Antigua and Barbuda/1";
dat159 = "??????????/Republic of El Salvador/0";
dat160 = "???/Canada/0";
dat161 = "???????/Republic of Cuba/0";
dat162 = "????????/Republic of Guatemala/0";
dat163 = "????/Grenada/1";
dat164 = "????????/Republic of Costa Rica/0";
dat165 = "?????/Jamaica/0";
dat166 = "??????????·????/Saint Christopher and Nevis/1";
dat167 = "????????????????????/Saint Vincent and the Grenadines/1";
dat168 = "??????/Saint Lucia/1";
dat169 = "???????/Dominican Republic/0";
dat170 = "?????/Commonwealth of Dominica/1";
dat171 = "??????·??????/Republic of Trinidad and Tobago/1";
dat172 = "????????/Republic of Nicaragua/0";
dat173 = "??????/Republic of Haiti/0";
dat174 = "??????/Republic of Panama/0";
dat175 = "????/Commonwealth of The Bahamas/0";
dat176 = "?????/Barbados/1";
dat177 = "????/Belize/0";
dat178 = "?????????/Republic of Honduras/0";
dat179 = "???????/United Mexican States/0";
dat180 = "?????????/Argentine Republic/0";
dat181 = "??????????/Oriental Republic of Uruguay/0";
dat182 = "????????/Republic of Ecuador/0";
dat183 = "?????????/Co-operative Republic of Guyana/0";
dat184 = "????????/Republic of Colombia/0";
dat185 = "???????/Republic of Suriname/0";
dat186 = "?????/Republic of Chile/0";
dat187 = "????????/Republic of Paraguay/0";
dat188 = "?????????/Federative Republic of Brazil/0";
dat189 = "?????·???????/Bolivarian Republic of Venezuela/0";
dat190 = "??????/Republic of Peru/0";
dat191 = "???????/Republic of Bolivia/0";
dat192 = "??·??(????????)/The West Bank and Gaza Strip/1";
dat193 = "????(??)/Republic of China (Taiwan)/1";
dat194 = "???????/Hong Kong Special Administrative Region/1";
dat195 = "????????/Macao Special Administrative Region/1";
dat196 = "????????/American Samoa/1";
dat197 = "???????/Commonwealth of the Northern Mariana Islands/1";
dat198 = "???/Guam/1";
dat199 = "?????/Cook Islands/1";
dat200 = "????/the Antarctic Continent/1";
dat201 = "????????/New Caledonia/1";
dat202 = "??????????/French Polynesia/1";
dat203 = "??????/Gibraltar/1";
dat204 = "??????/Faroe Islands/1";
dat205 = "??????/Islas Canarias/1";
dat206 = "???·????????(????)/Sahrawi Arab Democratic Republic (Western Sahara)/1";
dat207 = "?????/Reunion/1";
dat208 = "???/Aruba/1";
dat209 = "??????????/Netherlands Antilles/1";
dat210 = "???????/Guadeloupe/1";
dat211 = "???????/Greenland/1";
dat212 = "?????/Bermuda/1";
dat213 = "??????/Commonwealth of Puerto Rico/1";
dat214 = "???????/Martinique/1";
dat215 = "?????????(???????)/Falkland Islands and Dependencies (Islas Malvinas)/1";
dat216 = "????????/French Guiana/1";

View Replies !    View Related
MEANING Of ERROR MESSAGE
clip events are permitted only for movie clip instances
onClipEvent(enterFrame) {

i keep getting this output message --- can't figure out what it means.

View Replies !    View Related
BeginGradientFill Matrix Meaning
well the topic says all, I would like to know what does the matrix transformation parameters mean, since on the flashMx help it´s quite short it´s description.

thanks in advance
greetings,
Polaco

View Replies !    View Related
What Is Meaning Of Resolution Versus Size?
Would someone please refer me to a place where I could learn about the relative meanings and relationships of resolution and size and what they mean in the different media?

I need a lesson in the basics. Questions I have keep surfacing, and sometimes a little knowledge is a dangerous thing. A pixel is one dot; a screen size may be said to be 600 x 400. So that means what?
It is 600 pixels across by 400 verticle? And what does that have to do with resolution? Does the 600 x 400 display the same on a 15" monitor, a 19" monitor, a TV screen, in a flash movie, on a photograph, a CD, etc...?

Thanx,
Brian

View Replies !    View Related
Help Needed To Decipher Code Meaning?
Hi there, I have downloaded a free .fla of a rather tacky site, however I have come across a button with code I cannot understand.

Could someone please let me know what this code does?

I have a rough idea that when the button is pressed it will display a contact page however is "contact" a frame tag or an external .swf? and also I do not understand what the_global.navEngine is?


Any assistance or comments greatly appreciated


on (press)
{
_global.navEngine.showPage("contact");
}

View Replies !    View Related
Whats The Meaning Of The Above Code Or What It Does, Also Please Explain What '?' Si
I was refering the following code

pw = (pageXML.firstChild.attributes.width) ? Number(pageXML.firstChild.attributes.width) : 300;

whats the meaning of the above code or what it does, also please explain what '?' sign in code means

View Replies !    View Related
What Is The Meaning Of Backslash In Front Of A Variable Name?
What is the meaning of backslash in context like this:
var x
Flash 8 throws an error "Identifier expected" or "Unexpected ''
encountered"

View Replies !    View Related
The Meaning Behind Root, Parent, This And Global
Hey guys.
Having been at this forum for a while now i've noticed many times that the use of _root is not recommended. instead its recommended that you use this instead.

My understanding of "this" is that it refers to the object itself....

could someone please explain the meaning behind root, parent, this and global as i am not sure and at the moment i am simply using _root for everything...

cheers guys :)
JacoX

View Replies !    View Related
PreLoading Movieclips In The Background (meaning They Aren't Seen)
Hello all,

I was looking at this website: http://www.magwerk.com/

and I noticed that when you click to read a magazine it loads ALL the pages of the magazine one by one in the background.. until the magazine is fully loaded. That way the user won't have to wait for the WHOLE magazine to load before being able to read it.

I basically want to do the same with my project. I want to load the movie clips from an XML file and load them one by one in the background.

Can someone point me in the right direction.

PS. I'll be using FLASH 6 Player.

PSS. But I'll be upgrading the site to FLASH 8 player in a few months.

View Replies !    View Related
How Do I Handle A HTTP 301 Status Code? Meaning, How Do I Detect A Redirect?
i posted another thread similar to thi, but i know the problem now and need more specific help.

i have the following URL:

http://stereogum.com/mp3/Giant%20Dra...h%20Father.mp3

i try and call a URLRequest on it to play it in the mp3 player like so:


Code:
theURL = "http://stereogum.com/mp3/Giant%20Drag%20-%20Oh%20Father.mp3";
newSong:URLRequest = new URLRequest(theURL);
theMP3.load(newSong);
theMP3.play();
and it does not work. why? enter the URL into your browser. it gives a 301 redirect code and brings you to this URL instead:

http://download.stereogum.com/mp3/Gi...h%20Father.mp3

ok, but.. AS3 seems to have absolutely no idea this happened. furthermore, if trace out the data i get from the original address in AS3 using this code:


Code:
var pageLoader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest(theURL);
pageLoader.addEventListener(Event.COMPLETE, traceData);
pageLoader.load(request);

function traceData(event:Event):void {
trace(pageLoader.data);
}
i dont even get the 301 with the correct redirect URL. or maybe i am, but it's in the HTTP header? if thats the case, how the hell do i view that?

basically, if you perform a basic GET request on that original URL in telnet, you get a perfectly nice looking 301 code with the redirect URL to downloads.stereogum.com. obviously firefox and any browser handles this automatically.

how can i handle this from AS3 so that if i get a 301 code, i can parse out the redirect URL and access that instead? ugh.

View Replies !    View Related
Flashmx-Im Trying To Make It So That When _root.lazer Collides With _root.bad It Goto
Im trying to make it so that when _root.lazer collides with _root.bad it gotoandplays("Explode"); im using this script

onClipEvent (load) {
if (this.lazer(_root.bad)) {
this.gotoandplay("Explode");

My fla is attached.

View Replies !    View Related
_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 ???

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
_root.xyzxyz What This _root Means?
What is the meaning of _root. What does it represent.

View Replies !    View Related
_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

View Replies !    View Related
_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();

View Replies !    View Related
_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();

View Replies !    View Related
_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.

View Replies !    View Related
_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

View Replies !    View Related
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

View Replies !    View Related
_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!

View Replies !    View Related
What Is The Meaning Of [object Object]
I just tries to trace the contents of an array that is populated with data from an XML. This is something like what i've tried

trace(linkStars[n]);

That return the result [object Object]

What does it mean [object Object] Infact i'm not much familier with OOPs concepts.
Any body can explain this.

View Replies !    View Related
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

View Replies !    View Related
If (this._url = _root._url && _root:leiaSala) {
SORRY ABOUT MY ENGLISH!

WHAT MEANS THIS LINE

if (this._url != _root._url && _root:leiaSala) {

IN SPECIAL THE :

I'M NEED TO EXPORT SWF IN AS 2.0, AND THIS "OPERATOR" IS DEPRECATED.

THANKS

View Replies !    View Related
[F8] From Text "_root.home.score" To Variable _root.home.score ?
Hej

How can i convert this string "_root.home.score" to a varialbe, so i can use it for actionscripting

View Replies !    View Related
"_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---

View Replies !    View Related
_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);

View Replies !    View Related
_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

View Replies !    View Related
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???

View Replies !    View Related
_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

View Replies !    View Related
_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::::::::::::

View Replies !    View Related
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??

View Replies !    View Related
_root
Where is the _root command in the actionscript menu

View Replies !    View Related
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

View Replies !    View Related
_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

View Replies !    View Related
_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

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved