hey TMK. thank you for your interest :)

i started working with FlashDevelop + mtasc and would like to compile my
projects solely via FlashDevelop. this way i would have the design team i
work with set up the symbols and stage with all the visual assets needed,
and set up linkageIDs to them. then i would be able to set up those symbols
functionality via external code.
i wouldnt mind linking classes to MCs using the symbols properties panel,
but FlashDevelop ignores those links. so using registerClass in Main i can
link linkageIDs to classes but that only works for dynamic attachments of MC
instances.

any ideas ?



im moved to working with FlashDevelop and mtasc and im looking for a way to
be able to compile my code solely via FlashDeveop, while i let the design
team

On 11/22/06, T. Michael Keesey <[EMAIL PROTECTED]> wrote:

Just curious--why do you want to do this?

On 11/22/06, Dani Bacon <[EMAIL PROTECTED]> wrote:
> anyone know if i can change the class registration of a MovieClip
instance
> that was placed on stage manually using AS2 code ?
> ive tried using Object.registerClass which works fine for any
dynamically
> attached MCs but all symbol instances that where already on stage did
> register with the new class.
>
> the code-
>
> class Main
> {
>
>     static function main()
>     {
>         _root.stop();
>
>         Object.registerClass("idTest", classes.someClass);
>         _root.attachMovie("idTest", "testname",
> _root.getNextHighestDepth());
>
>     }
>
> }
>
> this works and generates MC named "testname" registered to the class "
> classes.someClass". but any instance of MC with linkage id "idTest" that
was
> already on stage doesnt register with "classes.someClass". so how do i
get
> them to register ?
>
> TIA
_______________________________________________
[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

Reply via email to