-
[F8] Syntax Error
hi there,
I'm using this panorama picture template (http://www.flashkit.com/movies/Anima...9997/index.php)
and everything works fine when my publishing settings are set to flash 5,6,7 | AS1
why then does it throw up a syntax error when i export using flash player 8 when the AS is still set to 1?
the line in question which is being called up as a syntax error is:
Code:
dup = "body" add m;
the full piece of code is:
Code:
m = 0;
while (Number(m)<Number((/:myPanoramaDuplicates*2)-1)) {
m = Number(m)+1;
dup = "body" add m;
// Depth of this layer and depth of city layer CANT be the same. So in this layer I add 10 to the depth to make sure of that.
duplicateMovieClip("body", dup, Number(m)+10);
setProperty(dup, _x, Number(getProperty(dup, _x))+Number(m*getProperty(dup, _width)));
}
if anyone could tell me whats wrong with the code when exporting as flash player 8? thanks.
-
foo to you
Sorry for my bad english. Feel free to correct my mistakes
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|