var t= this.getNextHighestDepth();
THAT'S IT :p)
Mike you went to the point,
working fine in Flash8....
thank you both
Mike and Janis...
Ricardo
----- Original Message -----
From: "Mike Mountain" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Monday, November 27, 2006 12:20 PM
Subject: RE: [Flashcoders] Flash8: Duplicate Movie problem
Sorry
var t= this.getNextHighestDepth();
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Mike Mountain
Sent: 27 November 2006 15:15
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash8: Duplicate Movie problem
Whichever way you want to do it, in flash 8 you need to
instantiate "t"
Try adding:
var t= line.getNextHighestDepth();
To the begging of this
line._y += 4;
line.duplicateMovieClip("tope"+t, t);
if(line._y > 75) {
stop();
}
Or:
var t=0;
To the beginning of the original
Cheers
M
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Ricardo Portilho
> Sent: 27 November 2006 09:01
> To: [email protected]
> Subject: [Flashcoders] Flash8: Duplicate Movie problem
>
> 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
_______________________________________________
[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