A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] flash.media.Video

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2000
    Location
    Atlanta
    Posts
    93

    resolved [RESOLVED] flash.media.Video

    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?

  2. #2
    Member
    Join Date
    Jul 2000
    Location
    Atlanta
    Posts
    93
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center