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:
> 
> 
> 
> with this:
> 
> 
> 
> 
> 
> 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/
 




Re: [flexcoders] Popup component

2005-08-26 Thread Alberto Albericio Salvador
Manish,

I know how to throw a component in a popup window using the popup 
manager. I was not asking that but how to modify view/Login.mxml 
component so that it was launched in a popup window. Imagine the 
original piece of code is part of the Index.mxml file, and Login.mxml is 
under the directory pointed by namespace "view", Login.mxml is basically 
a container with a helper class attached.

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:



with this:

   
 


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 know cairngorm is not just a file organization policy but I get the 
feeling Im breaking it somehow, dont you think so?

Greetings

Manish Jethani escribió:

>On 8/24/05, Alberto Albericio Salvador <[EMAIL PROTECTED]> wrote:
>
>  
>
>>When I use a main viewstack like this:
>>
>>
>> 
>> 
>>
>>
>>Where view:Login is basically a TitleWindow... how can I make this
>>component to be a popup component?
>>
>>
>
>You use the PopUpManager's createPopUp method.  Check the archives for 
>examples.
>
>Manish
>
>
>
>--
>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
>
>
>
> 
>
>
>
>  
>


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



 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/
 




Re: [flexcoders] Popup component

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

> When I use a main viewstack like this:
> 
> 
>  
>  
> 
> 
> Where view:Login is basically a TitleWindow... how can I make this
> component to be a popup component?

You use the PopUpManager's createPopUp method.  Check the archives for examples.

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:


 
 


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 ~--> 
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.
~-> 

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