VM1 requires that you wait a frame before certain methods of dynamically attached clips are available. The easiest way around this is to put a method configUI(); on frame 1 of the timeline in your clip and put that method in your class to do what you need to do.
And if any of y'all on Flashcoders think that's dirty, go on back to whatever language you came from. This here is Flash territory and we don't kin to you uppity Java types. Yee-haw! ;) The alternatives are: private var fCount:Number = 0; function ClassName() { this.onEnterFrame = function() { if (this.fCount++ > 0) { configUI(); } }; } function configUI() { // do whatever } OR private var frameInterval:Number; function ClassName() { frameInterval = setInterval(this, "configUI", 50); } function configUI() { clearInterval(frameInterval); // do whatever } _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com