I have made a simple custom component, just a textfield with a background.
During runtime it seems to work fine but inside of the flash IDE it's completely messed up.
I followed the example from here:
http://studio.barliesque.com/blog/20...ent-custom-ui/
and what I have is not much different.
Firstly it doesn't size properly, it doesn't seem to use the setSize method.
Then it doesn't update when I change any of the parameters and sometimes it becomes invisible, I can still select it nothing shows up but the bounding box.
If I save and then reopen the FLA file the component is updated and looks the way it should.
I have added a setSize method and I have overriden the width and height getters/setters.
What am I missing? Is there anything else that needs to be added, maybe some kind of initilization method. Or is this just a bug becuase the component works perfectly fine when I run the swf.