[FMX] what does /: do?

simple question i belive, but im a noob at AC…
i cant find this on the reference or anywhere…still its needed in a code i found.

on (press) {
/:klick = 1;
}

what does the /: do?? why is it necessary? couldnt u u use a _global.klick instead? (when i tried to change to global i used trace to see if it worked and the global doesnt get any character set when i press mouse…why is that? )

appreciate any help!

-MZA

Looks like path referencing stuff to me. But it’s old, from Flash 4 or earlier. This form of referencing is deprecated in Flash MX so I don’t think it will work. IIRC, /:klick is the same as saying _root.klick. Try it out. Just keep in mind, however, that you will probably have to rewrite a lot of the code you got because some functions (and of course this referencing system) may not work with Flash MX.

-Al

yes indeed! That was it! Thanks! I still dont get why it didnt work with global var tho…but oh well…
Thanks again! :beam:

-MZA