i am not getting any errors, i did notice ur missing a paranteses.
<mx:ViewStack id="myVS" height="100% " width="80%">
<mx:Canvas width="100%" height="100%">
<mx:HTML id="myHTML" location="{st}" height="100%" width="100%" />
</mx:Canvas>
</mx:ViewStack> 



----- Original Message ----
From: hworke <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 12, 2008 7:18:54 PM
Subject: [flexcoders] meaning of the this AIR error message


Hi,

I was trying mx:HTML inside a viewstack and got this error
message:

============ ========= ========= ========= ========= ========= ====

TypeError: Error #1034: Type Coercion failed: cannot convert
mx.controls: :[EMAIL PROTECTED] to mx.core.Container.

Here is my code:

============ ========= ========= ========= ========= ========= =====

<mx:ViewStack id="myVS" height="100% " width="80%">
<mx:Canvas width="100%" height="100% 
<mx:HTML id="myHTML" location="{st} " height="100% " width="100%" />
</mx:Canvas>
</mx:ViewStack> 

============ ========= ========= ========= ========= ========= ======

What is the meaning of this error message and does it
mean that we cannot put a mx:HTML inside a viewstack?

Regards...





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to