To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flex and AIR

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-24-2009, 10:31 AM   #1
rrutter81
Member
 
Join Date: Jul 2000
Location: Atlanta
Posts: 84
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?
rrutter81 is offline   Reply With Quote
Old 11-24-2009, 11:18 AM   #2
rrutter81
Member
 
Join Date: Jul 2000
Location: Atlanta
Posts: 84
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
rrutter81 is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flex and AIR

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:42 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.