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

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

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: http://www.macromedia.com/2005/mxml"; click="doClose()" panelAlpha=".75" closeButton="true"> Its more opaque than the default, bu

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 th

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

2005-12-03 Thread Jeff Tapper
>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 y

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

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

2005-12-03 Thread Ralf Rottmann
CTED] --- 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

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

2005-12-03 Thread Jeff Tapper
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

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

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 To: flexcoders

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 ha

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

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

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 so I guess I don't have to cast, or? Again, my current code is something like

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 coupl

[flexcoders] More questions regarding PopUp Windows in Flex 2.0

2005-12-02 Thread Ralf Rottmann
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