Hi Sherif thanks a lot for all the help. Finally it worked but only project-->clean did not help; I had to reboot my computer.
Regards.... --- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > ya it works, maybe try Project-->Clean. > > > ----- Original Message ---- > From: hworke <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Thursday, February 14, 2008 4:31:05 AM > Subject: [flexcoders] Re: meaning of the this AIR error message > > > > Hi Sherif thanks a lot for your reply and also > for trying the code. I see the is a missing bracket. > But I guess I missed this when I copied it and > sent it to you guys. I checked my code and there > was nothing missing... It is possible that my > flex builder some how got corrupted!!! What exact > version are you using? I am using Molestone 4 Beta > 3. Please do me another favor. Could you please > run the following code for me and tell me if it runs > fine and whether you can navigate through the view > stack using the two keys... > > Regards.... > > ++++++++++++ +++++++++ +++++++++ +++++++++ +++++++++ +++++++++ + > > <?xml version="1.0" encoding="utf- 8"?> > <mx:WindowedApplica tion xmlns:mx="http://www.adobe. com/2006/ mxml" > width="100%" height="100% "> > > <mx:Script> > <![CDATA[ > [Bindable] > public var st:String = "http://www.adobe. com"; > ]]> > </mx:Script> > > <mx:Canvas width="100%" height="100% "> > <mx:HBox width="100%" height="100% "> > > <mx:Panel width="18%" height="100% " layout="absolute" > > <mx:Button x="24" y="52" label="index- 0" > click="myVS. selectedIndex= 0"/> > <mx:Button x="24" y="95" label="index- 1" > click="myVS. selectedIndex= 1"/> > </mx:Panel> > <mx:ViewStack y="25" id="myVS" height="100% " width="100%" > > <mx:Canvas width="100%" height="100% "> > <mx:HTML id="myHTML" location="{st} " height="100% " > width="100%" /> > </mx:Canvas> > <mx:Canvas id="ancan" height="100% " width="100%" > > <mx:Panel x="10" y="10" width="320" height="224" > layout="absolute" > > </mx:Panel> > <mx:Panel x="338" y="10" width="313" height="224" > layout="absolute" > > </mx:Panel> > <mx:Panel x="10" y="242" width="641" height="218" > layout="absolute" > > </mx:Panel> > </mx:Canvas> > </mx:ViewStack> > </mx:HBox> > </mx:Canvas> > > </mx:WindowedApplic ation> > > ++++++++++++ +++++++++ +++++++++ +++++++++ +++++++++ +++++++++ + > > --- In [EMAIL PROTECTED] ups.com, Sherif Abdou <sherif626@ ..> wrote: > > > > 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 <kanpsack@ .> > > To: [EMAIL PROTECTED] ups.com > > 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 > > > > > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs >