TypeError: Error #1034: Type Coercion failed: cannot convert flash.media::Video@2eff9f31 to mx.core.IUIComponent.
i have no idea why i cant addchild(video) without it throwing this error. Anyone else know what this could be?
Printable View
TypeError: Error #1034: Type Coercion failed: cannot convert flash.media::Video@2eff9f31 to mx.core.IUIComponent.
i have no idea why i cant addchild(video) without it throwing this error. Anyone else know what this could be?
ok this is a flex problem. Evidently I couldnt add my Video unless it was a UIComponent strictly. Even if the object was an extension of UI Component I would get the error.
var Holder:UIComponent = new UIComponent();
Holder.addChild(Vid); //Vid being a flash.media.Video
addChild(Holder);
very odd