Jeff, I’m either blind or not clever
enough. J Can you try once more to explain or maybe submit a complete code example?
Again:
In my situation the MXML Component to
popup is a <mx:TitleWindow/>. I assume Flex automatically generates a
class TitleWindow for it.
So my statement to open the PopUp is:
win = TitleWindow(PopUpManager.createPopUp(this, LoginForm , true));
Trying to access properties with
win.XYZ
method did not work.
Second question: In the code example which you have submitted your
window top popup is of class “views.dataEntry.ConfirmScreen”. How
did you do that? Put the MXML Component in a folder
/views/dataEntry/ConfirmScreen.mxml ?
Regards
Ralf Rottmann | Director Sales & Marketing | VoicInt Telecommunications
GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED]
-------------------------------------------------------------------------------------------------------
Take a look at my post from 9:14pm yesterday.
====
At 09:14 PM 12/2/2005, you wrote:
Cast
the Title Window to the class of your component, for instance, from
something I'm working on:
win=ConfirmScreen(PopUpManager.createPopUp(this,views.dataEntry.ConfirmScreen,
true));
win.prod = prod;
win.title = title;
At 11:29 AM 12/3/2005, you wrote:
Jeff,
Do you know how to pass parameters into PopUps?
Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]
-----Original Message-----
From: [email protected]
<[email protected]>
To: [email protected] <[email protected]>
Sent: Sat Dec 03 17:23:30 2005
Subject: Re: [flexcoders] More questions regarding PopUp Windows in
Flex 2.0
From inside the component which is popped up, I'm using
removePopUp(). It
is occasionally throwing a run time error, and I'm not sure why, but I
worked around that like this:
private function doClose(){
try{
PopUpManager.removePopUp(this);
} catch(e:Error){
}
}
our old friend try/catch
I havent tried anything about the title bars transparency. perhaps there
is a style that can be set?
At 08:20 AM 12/3/2005, you wrote:
>On the same topic, is there anyway you can stop the title bar being
>transparent?
>
>And does PopUpManager.removePopUp work for you?
>
>At the moment im using a little hack and just setting window.x = -10000
>when its closed because removePopUp throws an error (Null is not a
>property or similar)
>
>thanks,
>
>Martin
>
>
>Jeff Tapper wrote:
> > Cast the Title Window to the class of your component, for instance,
from
> > something I'm working on:
> > win
> >
>
=ConfirmScreen(PopUpManager.createPopUp(this,views.dataEntry.ConfirmScreen,
> > true));
> > win.prod = prod;
> > win.title = title;
> >
> > At 07:45 PM 12/2/2005, you wrote:
>
>
>--
>Flexcoders Mailing List
>FAQ:
><
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives:
><
http://www.mail-archive.com/flexcoders%40yahoogroups.com >
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
>SPONSORED LINKS
>< http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ
>Web
>site design development
><
http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>Computer
>software development
><
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ
>Software
>design and development
><
http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw
>Macromedia
>flex
>< http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>Software
>development best practice
>
>
>----------
>YAHOO! GROUPS LINKS
>
> * Visit your group
> "<
http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
> *
> * To unsubscribe from this group, send an email
to:
> *
> <
mailto:[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>
> *
> * Your use of Yahoo! Groups is subject to the
> <
http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide
today!
http://us.click.yahoo.com/I258zB/QnQLAA/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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED
LINKS
Web
site design development Computer software
development Software design and
development
Macromedia
flex Software development
best practice
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
SPONSORED LINKS
YAHOO! GROUPS LINKS