Re: [flexcoders] Popup component

2005-08-26 Thread Manish Jethani
On 8/26/05, Alberto Albericio Salvador [EMAIL PROTECTED] wrote:

 The question is: how can I modify the container or the helper class so
 that Index.mxml know it has to show this component in a popup window?
 
 My lame solution to this has been replacing this:
 
 view:Login id=login /
 
 with this:
 
 mx:Canvas id=login creationComplete=var popup =
 mx.managers.PopUpManager.createPopUp(_root, Login, true, {deferred:
 true, width:200, height:190, x:500, y:200});
 
 /mx:Canvas
 
 and thus loosing the cairngorm structure because Login.mxml must reside
 in the same directory than Index.mxml (using view:Login instead of
 Login does not launch any error but the whole app screen gets white )

I'm sorry I'm not familiar with Cairngorm, but it looks like you just
want to qualify Login with the package name.  i.e. foo.bar.Login
instead of Login.

Manish


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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




[flexcoders] Popup component

2005-08-24 Thread Alberto Albericio Salvador
Hi all,

I have a question:

When I use a main viewstack like this:

mx:ViewStack id=appView selectedChild=...
 view:Login id=login /
 view:MainScreen id=appView /
/mx:ViewStack

Where view:Login is basically a TitleWindow... how can I make this 
component to be a popup component?

This short is extracted from the cairngorm login example. The example is 
ok, but I would like to know how can I make this login to be popup so 
that the user can drag the window acrosss the main screen, just like the 
windows login behaves.

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hlf5ove/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124877010/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

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