Carl,

Everything in AS3 is classes, so you can't do anything without using
classes.
It's actually easier than attachmovie. Just make a

var newMC=new MovieClip();
this.addChild(newMC);

feels alot cleaner that
attachmovie("gf","gf"+_root.getNextHighestDepth(),_root.getNextHighestDepth());
doesn't it ;).

good luck!

Meinte

ps. you can checkout senocular.com , he has some excellent tutorials on AS3

On 7/25/06, eka <[EMAIL PROTECTED]> wrote:

Hello :)

read in french :

-

http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-partagee-sous-flash-9

attachMovie is remove in AS3 :) Use [embed(source="....")] metadata and
create the instance with new MyClass and addChild() method :)

eKA+ :)


2006/7/25, Carl Welch <[EMAIL PROTECTED]>:
>
> I just downloaded the demo of Flash 9 / as3 and I noticed you can't
> use attachmovie anymore. I've found some new methods on google but it
> seems like the only way I can do it is by using classes. Is there
> another way to handle an attachmovie equivilent without using a class
> in as3?
>
> thanks.
>
> --
> Carl Welch
> http://www.carlwelch.com
> [EMAIL PROTECTED]
> 805.403.4819
> _______________________________________________
> 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

Reply via email to