Hey guys.
well i have a main swf with this global variable set in frame one of scene two
_global.IsRunning = 1;
and from frame one of scene to u can load external swf's but what im wanting is the external swf's to skip to frame 2 of there animation if they are not loaded threw that swf's that contains that variable. What Happened to _global? | Taterboy.com: Graphics, Multimedia and :: The new event and child systems are really powerful, it just takes a little To show off the global variable class, I will add a locking variable that I http://www.taterboy.com/blog/2008/04/what-happened-to-_global/HOME |
[thelist] How to pass variables between 2 SWF movies - Christopher :: Do you mean that under a parent movie a child swf ends and initiates another child OR global variables (in particular variable scope). Arief Zaki wrote: http://markmail.org/message/az6p7m6cvpr7f2duHOME |
what i cant figure out is how i get the child swf's to check and see if that varible is running or not.
ne hints or something i can try.
Accessing a textfield in a movieClip from a child of that :: Jan 11, 2009 actionscript variable to php · Problem with checkbox cell-renderers · Accessing a textfield in a movieClip from a child of that movieclip http://actionscript3.blogs2k.com/2009/01/11/ActionScript 3 - accessing-a-textfield-in-a-movieclip-from-a-child-of-that-movieclip -AS3HOME | Design, Tech, and Random Nerdiness with Joel Davies:: create a variable called callme_req that defines the link for class URLRequest, . Tags: 423, actionscript, addChild, child, load, swf, unload, URLRequest http://kocu.creighton.edu/HOME |
thanks in advanced. im on msn now as chevron8653@hotmail.com if u require a further exsplination or to view the fla files because i do not know how to upload my flas on this site.
but hope someone can point me in the right direction of what i need to do.
thanks in advanced.
I think it would be something like (in the external SWFs):
if (_global.IsRunning == 1){
//place code to execute if running is 1
}else{
//place code to execute if running is NOT 1
}
ok the following code below works and all when it dosent detect my global variable in the parent swf it jumps straght to frame 2, below is the code
if (_parent.xtremerunning == 1) {
gotoAndStop("_loadmain");
} else {
gotoAndStop("_hint");
}
but i dont think i have the global variable on the parnt swf set up correctly cause it does the else statement even when i i load the child swf threw the parent one.
_global.xtremerunning = 1;
thats the global variable i have set up on the first frame of scene 2 on the parent swf.
is there ne thing else i need to do cause ive got it half working it obvously dosent detect the variable from the parent one.
thanks once again.
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|