Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-05 Thread Ralf Rottmann
Title: Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0








Jeff,

Works perfectly well. I will put it onto my blog. I have seen quite some confusion with PopUps in Flex 2 on the Web. Especially as deletePopUp has been replaced with removePopUp.

Maybe it would be a good idea to keep deprecated methods in the docs and point to their replacements?

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Sat Dec 03 18:15:12 2005
Subject: RE: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

In your example, the class is LoginForm (the mxml file with the title
window), so try this:
win = LoginForm(PopUpManager.createPopUp(this, LoginForm , true));

Your problem was that TitleWindow has no property named XYZ, but
(hopefully) your LoginForm does.

As you stated, my example uses a TitleWindow in a component in the
views/dateEntry directory named ConfirmScreen.mxml

At 11:50 AM 12/3/2005, you wrote:
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:
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
---

--
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Jeff Tapper
Sent: Samstag, 3. Dezember 2005 17:35
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

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: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
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 = -1
 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=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Web
 site design development
 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer

 software development

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Ralf Rottmann
Title: Re: [flexcoders] More questions regarding PopUp Windows in  Flex 2.0








Jeff,

Can you explain a bit more? Where in your statements is the cast? And: actually the first element in my component is a mx:TitleWindow so I guess I don't have to cast, or?

Again, my current code is something like this:

win=TitleWindow(PopUpManager.createPopUp(this,ConfirmScreen,
true));

If I try to access controls in ConfirmScreen.mxml by typing

win.FirstButton or win.LabelUsername etc. nothing works. Builder tells me that I am trying to access an undefined property...

Last but not least, how do you make a MXML Component being of class views.dataEntry.ConfirmScreen . Isn't the class automatically be generated and named by the Flex compiler. E.g. if I name the file LoginScreen.mxml isn't it simply class LoginScreen? Did you put your mxml component into a folder /views/dataEntry/ConfirmScreen.mxml ?

Please somebody shed some light on this... :-)





-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Sat Dec 03 03:14:07 2005
Subject: Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

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:
Hello again,

Trying to get a couple of PopUp Windows done in Flex 2.0 (Alpha) I wonder

- It seems as if the deletePopUp() method has been replaced by removePopUp().
- createPopUp() no longer accepts an initObj reference. It expects 3
parameters (parent, MXML Component class name and a Boolean).

While this.deletePopUp() works fine how can I exchange parameters with a
PopUp Window without the initObj? Creating public properties inside the
TitleWindow MXML Component *did not* work.
Here is the current code I use to open the PopUp Window.

pop = TitleWindow(PopUpManager.createPopUp(this, PopupDialog));



PopupDialog.mxml starts with:


 mx:Script
 ![CDATA[
 import mx.containers.TitleWindow;
 import mx.managers.PopUpManager;

 public var welcome:String = ;

 private function onClose(_e:Event):Void
 {
 PopUpManager.removePopUp(this);
 }
 ]]

 /mx:Script



However trying to access pop.welcome from the parent does not work. Not
can I access pop.LabelWelcome where LabelWelcome is the id of a Label
Control in PopupDialog.mxml.



I need directions! J



Ralf Rottmann




--
Flexcoders Mailing List
FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
site design development
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
software development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
design and development
http://groups.yahoo.com/gads?t=ms=Macromedia+flex=Web+site+design+development=Computer+software+development=Software+design+and+development=Macromedia+flex=Software+development+best+practice=5=166&.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
flex
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group
 http://groups.yahoo.com/group/flexcodersflexcoders 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 ~--
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Martin Wood
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 = -1 
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:


 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Ralf Rottmann
Title: Re: [flexcoders] More questions regarding PopUp Windows in  Flex 2.0








PopUpManager.removePopUp works fine for me. You gotta call it from within the component comprising the popup window.

However I still have no answer as to how to pass parameters in and out of a popup.

Anybody on the list has a clue about it? Note: Talking about Flex 2.0 here, where the initObj parameter in createPopUp() is gone.

Looking foward to any idea!

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Sat Dec 03 14:20:47 2005
Subject: Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

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 = -1
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:


 Yahoo! Groups Sponsor ~--
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper
 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 = -1
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.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com
 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
 
development best practice


--
YAHOO! GROUPS LINKS

*  Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders 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/
 




Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Ralf Rottmann
Title: Re: [flexcoders] More questions regarding PopUp Windows in   Flex 2.0








Jeff,

Do you know how to pass parameters into PopUps?

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
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 = -1
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.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
site design development
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
software development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
design and development
http://groups.yahoo.com/gads?t=ms=Macromedia+flex=Web+site+design+development=Computer+software+development=Software+design+and+development=Macromedia+flex=Software+development+best+practice=5=166&.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
flex
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group
 http://groups.yahoo.com/group/flexcodersflexcoders 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



  Visit your group "flexcoders" on the web.
  To unsubscribe from th

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper
quick answer on the titleBar transparency
set the panelAlpha style property to 100

mx:TitleWindow
xmlns:mx=http://www.macromedia.com/2005/mxml;
click=doClose()
panelAlpha=100
closeButton=true

At 11:23 AM 12/3/2005, you wrote:
 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 = -1
 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.txthttp:// 
 groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail 
 -archive.com/flexcoders%40yahoogroups.com
 
 
 
 
 SPONSORED LINKS
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+s 
 ite+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
  

 site design development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web 
 +site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
  

 software development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=W 
 eb+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
  

 design and development
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+d 
 evelopmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
  

 flex
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew 
 1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
  

 development best practice
 
 
 --
 YAHOO! GROUPS LINKS
 
 *  Visit your group
  http://groups.yahoo.com/group/flexcodersflexcoders 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.
 
 
 --




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

  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/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] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper




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: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
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 =
-1
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=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
Web
site design development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer

software development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
Software
design and development

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
Macromedia
flex

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware

development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group


http://groups.yahoo.com/group/flexcodersflexcoders 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 

Visit your group
flexcoders
 on the web. 
 
To unsubscribe from this group, send an email to: 


[EMAIL

RE: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Ralf Rottmann










Jeff, Im 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]
---











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Tapper
Sent: Samstag, 3. Dezember 2005
17:35
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] More
questions regarding PopUp Windows in Flex 2.0





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: flexcoders@yahoogroups.com
flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
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 = -1
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=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
Web
site design development

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer

software development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
Software
design and development

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
Macromedia
flex
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware

development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group
 
http://groups.yahoo.com/group/flexcodersflexcoders 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

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Sreejith Unnikrishnan

 quick answer on the titleBar transparency
 set the panelAlpha style property to 100

Should be a bug! But any non-zero value for panelAlpha renders the 
transparency to 100. Even 9 would work! :-)

Sree



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/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] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper
In your example, the class is LoginForm (the mxml file with the title 
window), so try this:
win = LoginForm(PopUpManager.createPopUp(this, LoginForm , true));

Your problem was that TitleWindow has no property named XYZ, but 
(hopefully) your LoginForm does.

As you stated, my example uses a TitleWindow in a component in the 
views/dateEntry directory named ConfirmScreen.mxml

At 11:50 AM 12/3/2005, you wrote:
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: 
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
---

--
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of Jeff Tapper
Sent: Samstag, 3. Dezember 2005 17:35
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

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: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
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 = -1
 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=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
   
  Web
 site design development
  
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
  

 software development
  
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
   
  Software
 design and development
  
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
   
  Macromedia
 flex
  
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper
According to the docs, the default value is 50, but if setting it to 0 
makes it non transparent, then that does sound like a bug.

Actually, in a quick test, I did set it to 0, and it is still 
transparent.  Not sure what you are seeing...

At 12:15 PM 12/3/2005, you wrote:

  quick answer on the titleBar transparency
  set the panelAlpha style property to 100

Should be a bug! But any non-zero value for panelAlpha renders the
transparency to 100. Even 9 would work! :-)

Sree



--
Flexcoders Mailing List
FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com
 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
 
development best practice


--
YAHOO! GROUPS LINKS

*  Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders 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 ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Jeff Tapper
Actually, on a closer read, it seems i misinterpreted.  it takes a value 
from 0 to 1, with a default of 0.5

Anything above 1 is interpreted as 1.

So, when I do this:
mx:TitleWindow xmlns:mx=http://www.macromedia.com/2005/mxml;
click=doClose()
panelAlpha=.75
closeButton=true

Its more opaque than the default, but not fully.  If there is any bug (im 
not convinced there is), its that it allows you to pass a value greater 
than 1.  Not sure how the compiler could possibly catch that though.


At 12:17 PM 12/3/2005, you wrote:
According to the docs, the default value is 50, but if setting it to 0
makes it non transparent, then that does sound like a bug.

Actually, in a quick test, I did set it to 0, and it is still
transparent.  Not sure what you are seeing...

At 12:15 PM 12/3/2005, you wrote:

   quick answer on the titleBar transparency
   set the panelAlpha style property to 100
 
 Should be a bug! But any non-zero value for panelAlpha renders the
 transparency to 100. Even 9 would work! :-)
 
 Sree
 
 
 
 --
 Flexcoders Mailing List
 FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp:/ 
 /groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mai 
 l-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com
  

 
 
 
 
 SPONSORED LINKS
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ 
 site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQhttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
  

 site design development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We 
 b+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwhttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
  

 software development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= 
 Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQhttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
  

 design and development
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ 
 developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
  

 flex
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; 
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwhttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
  

 development best practice
 
 
 --
 YAHOO! GROUPS LINKS
 
 *  Visit your group
  
 http://groups.yahoo.com/group/flexcodershttp://groups.yahoo.com/group/flexcodersflexcoders
  
 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/http://docs.yahoo.com/info/terms/Yahoo! 
 Terms of Service.
 
 
 --




--
Flexcoders Mailing List
FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com
 




--
YAHOO! GROUPS LINKS

*  Visit your group 
 

Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-03 Thread Sreejith Unnikrishnan






The
default value according to the docs is 0.5, not 50!
One too many drinks!

I now am sure there' no bug. What I was seeing is that when I set the
panelApha to 5, 50 or 100 it was all rendering the same ...
Figured out, the value should be between 0 and 1. Some kind of
'not-used-to' assignment!
0 - fully transparent
1 - fully opaque
100, still opaque!

Jeff Tapper wrote:

According to the docs, the default value is 50, but if setting it to 0 
makes it non transparent, then that does sound like a bug.
  
Actually, in a quick test, I did set it to 0, and it is still 
transparent. Not sure what you are seeing...
  
At 12:15 PM 12/3/2005, you wrote:
  
  quick answer on the titleBar transparency
  set the panelAlpha style property to 100

Should be a bug! But any non-zero value for panelAlpha renders the
transparency to 100. Even 9 would work! :-)

Sree


  







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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  













Re: [flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-02 Thread Jeff Tapper
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:
Hello again,

Trying to get a couple of PopUp Windows done in Flex 2.0 (Alpha) I wonder

- It seems as if the deletePopUp() method has been replaced by removePopUp().
- createPopUp() no longer accepts an initObj reference. It expects 3 
parameters (parent, MXML Component class name and a Boolean).

While this.deletePopUp() works fine how can I exchange parameters with a 
PopUp Window without the initObj? Creating public properties inside the 
TitleWindow MXML Component *did not* work.
Here is the current code I use to open the PopUp Window.

pop = TitleWindow(PopUpManager.createPopUp(this, PopupDialog));



PopupDialog.mxml starts with:


   mx:Script
 ![CDATA[
   import mx.containers.TitleWindow;
   import mx.managers.PopUpManager;

   public var welcome:String = ;

   private function onClose(_e:Event):Void
   {
 PopUpManager.removePopUp(this);
   }
 ]]

   /mx:Script



However trying to access pop.welcome from the parent does not work. Not 
can I access pop.LabelWelcome where LabelWelcome is the id of a Label 
Control in PopupDialog.mxml.



I need directions! J



Ralf Rottmann




--
Flexcoders Mailing List
FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com
 




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
 
development best practice


--
YAHOO! GROUPS LINKS

*  Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders 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 ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/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/