Well Janis,
old fashion way, indeed, but works fine, at least in FlashMX,
yours:
line._y += 4;
line.duplicateMovieClip("tope"+t, t);
t++;
if(line._y > 75) {
stop();
}
shows the same problem when in Flash8 AS2,
but, thank you for try
obs:
/// will produce many MovieClips with same name, wich will cause tageting
issues ///
yes, but it is exactly as I need, cause no "issues" , because is a "quite
light" animation
thank you Janis.
Ricardo
----- Original Message -----
From: "Janis Radins" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, November 27, 2006 6:10 AM
Subject: Re: [Flashcoders] Flash8: Duplicate Movie problem
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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