Apr 4, 2002 #1 iostream71 Programmer Mar 13, 2002 229 US i saw this in front of variables in some examples
Apr 4, 2002 #2 SHARKY99 Programmer Oct 25, 2001 473 CA This means you're using "slash syntax" flash version 3 and 4 the / means you refer to the main timeline of the current level. You really should use the "dot syntax" (if you're using flash5) Hope it'll help ;-) Have Fun... Sharky99 >:O> Upvote 0 Downvote
This means you're using "slash syntax" flash version 3 and 4 the / means you refer to the main timeline of the current level. You really should use the "dot syntax" (if you're using flash5) Hope it'll help ;-) Have Fun... Sharky99 >:O>
Apr 4, 2002 Thread starter #3 iostream71 Programmer Mar 13, 2002 229 US hmm...i've seen the "/" refer to the path in older flash, but never in this manner. here's an example i saw: /:time0 = getTimer (); why put in front of a variable declaration if it refers to the timeline? Upvote 0 Downvote
hmm...i've seen the "/" refer to the path in older flash, but never in this manner. here's an example i saw: /:time0 = getTimer (); why put in front of a variable declaration if it refers to the timeline?
Apr 4, 2002 #4 SHARKY99 Programmer Oct 25, 2001 473 CA Ok, now i know more about your question. It simply means that you're declaring a variable that will reside on the main timeline of curent level. You have to do that sometimes to be sure you can always have access to it. Hope it'll help more ;-) Have Fun... Sharky99 >:O> Upvote 0 Downvote
Ok, now i know more about your question. It simply means that you're declaring a variable that will reside on the main timeline of curent level. You have to do that sometimes to be sure you can always have access to it. Hope it'll help more ;-) Have Fun... Sharky99 >:O>
Apr 4, 2002 Thread starter #5 iostream71 Programmer Mar 13, 2002 229 US could it be considered a global var then? Upvote 0 Downvote
Apr 4, 2002 #6 SHARKY99 Programmer Oct 25, 2001 473 CA Oups sorry i forgot to say it... It sure is, but you should stay away from the slash syntax like i told you unless you plan to die with flash4??? LOL Have Fun... Sharky99 >:O> Upvote 0 Downvote
Oups sorry i forgot to say it... It sure is, but you should stay away from the slash syntax like i told you unless you plan to die with flash4??? LOL Have Fun... Sharky99 >:O>
Apr 4, 2002 Thread starter #7 iostream71 Programmer Mar 13, 2002 229 US nope, never used flash 4; workin' with mx. i like the dot notation 'cause it's more like other object-oriented languages =) Upvote 0 Downvote
nope, never used flash 4; workin' with mx. i like the dot notation 'cause it's more like other object-oriented languages =)
Apr 4, 2002 #8 SHARKY99 Programmer Oct 25, 2001 473 CA So why are you askin about slash syntax???? Have Fun... Sharky99 >:O> Upvote 0 Downvote
Apr 4, 2002 Thread starter #9 iostream71 Programmer Mar 13, 2002 229 US lol, 'cause i didn't know what it meant Upvote 0 Downvote
Apr 5, 2002 #10 SHARKY99 Programmer Oct 25, 2001 473 CA I was just teasing you LOL But don't worry about it, if you open a flash4 movie your Mx should convert the script to dot syntax by itself. Knowing what it means isn't bad, wanting to use it is... Have Fun... Sharky99 >:O> Upvote 0 Downvote
I was just teasing you LOL But don't worry about it, if you open a flash4 movie your Mx should convert the script to dot syntax by itself. Knowing what it means isn't bad, wanting to use it is... Have Fun... Sharky99 >:O>