Re: [Flashcoders] trivial or mysterious problem with component?

2006-08-13 Thread Haikal Saadh
Hmm. V2 components are meant to have empty constructors, with initialisation being performed in an init() method, which will be called by the component architecture when the time is right. Try moving your code in your constructer to init(); Costello, Rob R wrote: Dear all I have a strange

[Flashcoders] trivial or mysterious problem with component?

2006-08-11 Thread Costello, Rob R
Dear all I have a strange problem getting a V2 component to initialize I can copy code works that fine in one class, compiled into another class (and another swf), and it no longer works - just fails silently This is the essence of it : import mx.controls.Button; class Mysterious {