----- Original Message ----- From: "cheftimbob" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, September 27, 2006 8:46 PM Subject: [flexcoders] Problem with IFrame
> I'm following one of the examples for displaying HTML in a flex > application. It uses an IFrame. When I add this to my code: > > <mx:Panel title="Content" width="100%" height="100%" paddingTop="1" > paddingBottom="1" paddingLeft="1" paddingRight="1"> > <IFrame id="iFrame" width="100%" height="100%" > urlSource="http://www.yahoo.com" initialCount="20"/> > <mx:ControlBar> > <mx:CheckBox id="cbVisible" label="IFrame Visible" selected="true" > click="iFrame.visible=cbVisible.selected"/> > </mx:ControlBar> > </mx:Panel> > > The IFrame line throws and error 'type was not found or was not a > compile time constant'. > > The example came from: > http://coenraets.com/viewarticle.jsp?articleId=95 I can't read the source of the example, but I believe that a new mxml iframe component was created, so to use it you must also have that component. There isn't a native iframe component. Paul > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

