Hi
Can anyone tell me what's the BEST way to REMOVE a class linkage at runtime?
Thanks!
Jim Bachalo
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
...all improvisation is life in search of a style.
- Bruce Mau,'LifeStyle'
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,
Thanks Ian!
I think
delete _global.com.mycompany.mypackage.MyClass;
is close to what I need
bascially I have some movieclips manually place on the stage with class
linkages defnied in the library.
the MC's when instantiated perform the following initialize action:
get their inital _y
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
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
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
6 matches
Mail list logo