I bought a template and am attempting to reverse engineer the
code written for Flash 6 and ActionScript 1.0 without really
knowing ActionScript very well to start with. I would like to
update the code to ActionScript 3.0 and a later version of Flash so
that I can use the effect with updated features, but when setting
the publish preferences to Flash 8, the code simply does not work.
It doesn't fail or cause syntax or even runtime errors. It simply
does nothing at all. It works fine when publishing for Flash 6 but
not in Flash 8 or beyond. Is there something obvious to the
veterans out there that you can point out to me? When tracing the
code, the variable Object.environment.dotCount returns "undefined"
but I'm not sure how to define it without reinitializing it,
thereby defeating the purpose...
The code should produce the effect demonstrated at
http://www.ohmyflash.com/effect/201.html