PDA

View Full Version : An unexplained operator


dkproject
05-18-2001, 01:02 AM
This is the silliest question... sorry :)

I was going throght the "Actionscriped movement" Tutorial (#18) and found a ":" operator. Since it's not covered in the ActionScript Dictionary I was wondering if anybody knows what it's about.

Thanks!

Jesse
05-18-2001, 04:11 AM
It's coverred in my paths tutorial. Jesse:1 MM: 0 :)

Actually it's an obsolete bit of code. In Flash 4 we had to give a colon before a variable name in paths, but in Flash 5 we can (and most do, including me most of the time) use dots coz it's easier. Sometimes I use colons still, to make it obvious that I'm manipulating a variable and not an MC.

Cheers

Jesse

dkproject
05-18-2001, 03:06 PM
Jesse: 2 MM: 0 Me: 0

Thanks a lot for the explanation. I went throuhgt your paths tutorial before without noticing the colon. This time I did. Maybe it was the rubber duck I did got this time. :)

Cheers!