z_mapping vs. Flash Player 7
Hi folx,
this one's got nothing to do with the recent posts, it's just a small but very helpful hint I got from Strille. I was wondering why all z_mapping codes (e.g. those of Strille and BlinkOK) won't work if "Publishing Preferences" is set to "Flash Player 7" (I'm using Flash MX 2004 Professional). Seems as if FP7 has a "major" problem with the z_mapping code - all older players worked fine.
But things are far more easier than I thought: Strille (thanx a lot to him... ) gave me the reason and a solution too: FP7 cannot add to undefined variables - they have to be set to zero first. That means adding the following line to the 6th frame (before _root.onEnterFrame = main):
xPos = yPos = rotation = lean = skyOffset = fr = speed = 0;
to the source code (here I'm talking about Strille's codex, http://www.strille.net/works/misc/z.../z_mapping.html).
Works perfectly!
Thanx again to Strille and BlinkOK who replied immediately to my mails - you helped me a lot!
Sorry if this information was already evident for some of you - I spent two days of searching the boards for a problem solution... ;)
Flash on,
Lindyz