I'm sure its a PopUpManager problem. i took Peter Ent's download and 
added the following in his SampleApp.mxml

<mx:Button click="trythis()"/>
<mx:Script>
<![CDATA[
 import mx.managers.PopUpManager;

 private function trythis():void
 {
  var pop:Object = mx.managers.PopUpManager.createPopUp(this, 
LoginPopUp, true); 
//my LoginPopUp - same as previously decribed, except i'm now using 
MinMaxPanel.mxml instead of myPanel.mxml
 }
]]>
</mx:Script>

but still same error

--- In [email protected], "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> i hit the 'send' too quickly!!
> i should've mentioned, my simple LoginPopUp.mxml component when 
used 
> in a test app doesn't have those runtime errors.
> eg.
> <mx:Application >
>  <LoginPopUp />
> </mx:Application>
> 
> only get the problem when using with PopUpManager.
> 
> --- In [email protected], "bhaq1972" <mbhaque@> wrote:
> >
> > Thanks Darron 
> > 
> > I've came across Peter Ents example. It was going to be my 
second 
> > choice way.........but now its going to be my first choice (its 
> been 
> > promoted)
> > regards
> > bod
> > 
> > --- In [email protected], "Darron J. Schall" <darron@> 
> > wrote:
> > >
> > > bhaq1972 wrote:
> > > > i'm getting 2 runtime errors when i do the following
> > > 
> > > Take a look at Peter Ent's post regarding "Component Tempaltes 
> in 
> > Flex 
> > > 2", it should help:
> > > 
> > 
> 
http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.c
> fm
> > > 
> > > -d
> > >
> >
>






--
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/

<*> 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/
 



Reply via email to