PDA

View Full Version : Component loses properties, traces...


Breakfast
04-18-2005, 05:17 PM
So I've got my movie in which I have developed my component, which extends MovieClip (it doesn't do anything UI related) and that works fine.

I've got a bunch of traces running in the ActionScript file and one on each side of the initialization process in the movieclip to which the .as file is attached.

When I run it in the original movie it works out fine- everything runs as expected. When I add the exported component to a different movie I get the traces that happen before and after the actionscript file is initialized but I don't actually see any of the traces from the actionscript file. I also find I can't see any of the properties I configured as inspectable in the property inspector.

Any idea what I'm doing wrong?

Breakfast
04-20-2005, 11:16 AM
I've still got the same problem, kind of, but now I have noticed that when I add the component to a new .fla file it runs the init() method then but when I compile and run the flash file it still ignores the actionscript from the .as file, just running a trace that is in the root of the component movieclip. I also can't see any of the parameters I have created in the Component Definition window.

Anyone got any ideas about what is going on here?