That code is so retard, get moving away from flash 4 syntax, it's 2006 out
there!
Try this:
line._y += 4;
line.duplicateMovieClip("tope"+t, t);
t++;
if(line._y > 75) {
stop();
}
And frame loops are bad fasion btw. Use SomeMovieClip.onEnterFrame or
setInterval() for timed loop.
One more thing is that duplicateMovieClip("line", "tope", t); will produce
many MovieClips with same name, wich will cause tageting issues.
2006/11/27, Ricardo Portilho <[EMAIL PROTECTED]>:
Hello,
I am trying to use a simple duplicate movie in Flash8 AS2,
it works fine in FlashMX, but I can“t to "translate it" into AS2, Flah8:
movie clip Duplicate Line
Frame 1:
//obs: line is the mc instance name
setProperty("line", _y, getProperty("line", _y)+4);
duplicateMovieClip("line", "tope", t);
t = t+1;
if (getProperty("line", _y)>75) {
stop();
}
Frame 2 :
gotoAndPlay(1);
//end
thank you in advance,
Ricardo
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com