Re: [Flashcoders] Q:Dynamically REMOVE a class linkage

2007-01-10 Thread Ian Thomas
Jim, Do you mean attach a movie clip while ignoring it's Linkage settings? In which case, at a guess you should be able to do something like this: Object.registerClass(MySymbol,MovieClip); before attaching the class. That ought to do it. If you're trying to unload a class (so, for example,

Re: [Flashcoders] Q:Dynamically REMOVE a class linkage

2007-01-10 Thread T. Michael Keesey
On 1/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: the problem is these movieclips are one after the other on the timeline so the associated class is constantly instantiated. On the same timeline layer? If they are keyframes of the same movieclip all on the same layer, than you just need

RE: [Flashcoders] Q:Dynamically REMOVE a class linkage

2007-01-10 Thread Steven Sacks | BLITZ
Does this make sense? No it doesn't. I surmise that you are making the variable static, either by declaring it as static variable or by setting it to a value when you declare it. Thus, it ends up shared across all instances of the class (static variables are class variables, dynamic variables

Re: [Flashcoders] Q:Dynamically REMOVE a class linkage

2007-01-10 Thread Ian Thomas
On 1/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: the problem is these movieclips are one after the other on the timeline so the associated class is constantly instantiated. Does this make sense? Not really, I'm afraid - I can't quite work out what you're up to. However, it sounds