[flexcoders] TitleWindow titleBar with rollover state.
Hi everyone, Has anyone ever need to use TitleWindow as a pop up where the background colour of the titleBar changes colour when the user hovers the mouse pointer over the title bar? I tried to use a custom ActionScript background skin, but to no success. When I base my custom skin on ProgrammaticSkin, it has no listener for Mouse RollOver and RollOut event. And if I base my custom skin on UIComponent and override the updateDisplayList(), the Mouse RollOut event behaves like the MouseOut event, i.e. It gets dispatched even when the mouse pointer leaves its border and moves inside the titleBar. Anyone knows how to deal with this issue? Thanks in advance for reading my post. Any help is greatly appreciated. Yours, Ivan.
[flexcoders] TitleWindow Custom Components - A Problem
Hi, Let me describe the scenario: I'm using Hillen Coren's AutoComplete component to suggest choices for a user inside of a DataGrid ItemRenderer, which has been working fine in Flex 3.x for a year. One additional factor - this grid is popped up as part of a TitleWindow using PopUpManager. I'm now porting the application to Flex 4 and Parsley. That port is going great, but the AutoComplete component simply stopped working when part of this popped up Window. It works fine within the main app. Has anyone run into similar behavior? I've noticed 'interesting' stuff with TitleWindows in the past. Any advice appreciated Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] TitleWindow Custom Components - A Problem
Are you still using mx components or switching to spark? On 4/29/10 8:32 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Hi, Let me describe the scenario: I’m using Hillen Coren’s AutoComplete component to suggest choices for a user inside of a DataGrid ItemRenderer, which has been working fine in Flex 3.x for a year. One additional factor – this grid is popped up as part of a TitleWindow using PopUpManager. I’m now porting the application to Flex 4 and Parsley. That port is going great, but the AutoComplete component simply stopped working when part of this popped up Window. It works fine within the main app. Has anyone run into similar behavior? I’ve noticed ‘interesting’ stuff with TitleWindows in the past. Any advice appreciated Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c) -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] TitleWindow Custom Components - A Problem
Spark wherever I can. While investigating, I found that the component does work fine in a Spark TitleWindow. There must be some other factor, possibly related to Parsley, but I'm still working on it. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, April 29, 2010 12:58 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TitleWindow Custom Components - A Problem Are you still using mx components or switching to spark? On 4/29/10 8:32 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Hi, Let me describe the scenario: I'm using Hillen Coren's AutoComplete component to suggest choices for a user inside of a DataGrid ItemRenderer, which has been working fine in Flex 3.x for a year. One additional factor - this grid is popped up as part of a TitleWindow using PopUpManager. I'm now porting the application to Flex 4 and Parsley. That port is going great, but the AutoComplete component simply stopped working when part of this popped up Window. It works fine within the main app. Has anyone run into similar behavior? I've noticed 'interesting' stuff with TitleWindows in the past. Any advice appreciated Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c) -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] TitleWindow Show and Hide effects
Hello, In My Project I am Using many TitleWindows as popups via PopUpManager Create and remove popups methods. All is working fine. Now I would like to apply some effects like fade or zoom while the popup is being shown and removed and I would like to define those effects in a central location so that in case of refactoring the effect we have to change at only one place and all popups in application have same effect. Can Somebody guide me how can I achieve this ? Any readable material like book, howto, example, blog URL will be a great help Thanks and regards Raja
Re: [flexcoders] TitleWindow Popup Question(s)
Hi Dave, Your advise certainly helped. Thanks. What I did was the TitleWindow was used to display the data which is retrieved from the parent window. Although I find it odd that the TitleWindow when opened as a popup window does not seem to connect to the web service, whereas the parent window does not have any problem retrieving the data from the web service. Thanks again. Regards Angelo From: Dave Cates d...@redemptionmedia.co.uk To: flexcoders@yahoogroups.com Sent: Wednesday, 30 September, 2009 1:15:41 Subject: Re: [flexcoders] TitleWindow Popup Question(s) Hi, I’d reference a public set function within the title window itself. Works good for us since we use an MVC model and so don’t really want too much code within the TitleWindow view itself. Regarding the title itself. I do this by assigning a Bindable variable to the title in the main header of the title window. Then I can update the title by simply assigning values to that variable whenever I like. Hope that helps. Dave. From: Angelo Anolin angelo_anolin@ yahoo.com Reply-To: flexcod...@yahoogro ups.com Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT) To: flexcod...@yahoogro ups.com Subject: [flexcoders] TitleWindow Popup Question(s) Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe. com/2006/ mxml initialize=RunEveryPop( ); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle () :void { Alert.show(Titlewin dow.Title) ; // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks.,
[flexcoders] TitleWindow Popup Question(s)
Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; initialize=RunEveryPop(); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle() :void { Alert.show(Titlewindow.Title); // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks.,
Re: [flexcoders] TitleWindow Popup Question(s)
Hi, I¹d reference a public set function within the title window itself. Works good for us since we use an MVC model and so don¹t really want too much code within the TitleWindow view itself. Regarding the title itself. I do this by assigning a Bindable variable to the title in the main header of the title window. Then I can update the title by simply assigning values to that variable whenever I like. Hope that helps. Dave. From: Angelo Anolin angelo_ano...@yahoo.com Reply-To: flexcoders@yahoogroups.com Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT) To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow Popup Question(s) Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; initialize=RunEveryPop(); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle() :void { Alert.show(Titlewindow.Title); // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks.,
Re: [flexcoders] TitleWindow Popup Question(s)
Hi, I¹d reference a public set function within the title window itself. Works good for us since we use an MVC model and so don¹t really want too much code within the TitleWindow view itself. Regarding the title itself. I do this by assigning a Bindable variable to the title in the main header of the title window. Then I can update the title by simply assigning values to that variable whenever I like. Hope that helps. Dave. From: Angelo Anolin angelo_ano...@yahoo.com Reply-To: flexcoders@yahoogroups.com Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT) To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow Popup Question(s) Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; initialize=RunEveryPop(); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle() :void { Alert.show(Titlewindow.Title); // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks.,
Re: [flexcoders] TitleWindow Popup Question(s)
Hi Dave, This is what I was doing previously. I agree with you that the titlewindow popup should have quite a minimal set of codes in it. What puzzles me though is that I am unable to make a web service call from within the Popup window itself. Is it not possible for the popup window to make a backend (.NET) web service call? Thanks. From: Dave Cates dave.ca...@gmail.com To: flexcoders@yahoogroups.com Sent: Tuesday, 29 September, 2009 16:00:10 Subject: Re: [flexcoders] TitleWindow Popup Question(s) Hi, I’d reference a public set function within the title window itself. Works good for us since we use an MVC model and so don’t really want too much code within the TitleWindow view itself. Regarding the title itself. I do this by assigning a Bindable variable to the title in the main header of the title window. Then I can update the title by simply assigning values to that variable whenever I like. Hope that helps. Dave. Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe. com/2006/ mxml initialize=RunEveryPop( ); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle () :void { Alert.show(Titlewin dow.Title) ; // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks., From: Angelo Anolin angelo_anolin@ yahoo.com Reply-To: flexcod...@yahoogro ups.com Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT) To: flexcod...@yahoogro ups.com Subject: [flexcoders] TitleWindow Popup Question(s)
Re: [flexcoders] TitleWindow Popup Question(s)
Hmmm...why not dispatch an event from the title window back to the parent? Then in the parent launch whatever function you need to once it captures the event from the titlewindow. That way you also retain the controller/view relationship between them ;) From: Angelo Anolin angelo_ano...@yahoo.com Reply-To: flexcoders@yahoogroups.com Date: Tue, 29 Sep 2009 17:01:01 -0700 (PDT) To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TitleWindow Popup Question(s) Hi Dave, This is what I was doing previously. I agree with you that the titlewindow popup should have quite a minimal set of codes in it. What puzzles me though is that I am unable to make a web service call from within the Popup window itself. Is it not possible for the popup window to make a backend (.NET) web service call? Thanks. From: Dave Cates dave.ca...@gmail.com To: flexcoders@yahoogroups.com Sent: Tuesday, 29 September, 2009 16:00:10 Subject: Re: [flexcoders] TitleWindow Popup Question(s) Hi, I¹d reference a public set function within the title window itself. Works good for us since we use an MVC model and so don¹t really want too much code within the TitleWindow view itself. Regarding the title itself. I do this by assigning a Bindable variable to the title in the main header of the title window. Then I can update the title by simply assigning values to that variable whenever I like. Hope that helps. Dave. From: Angelo Anolin angelo_anolin@ yahoo.com Reply-To: flexcod...@yahoogro ups.com Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT) To: flexcod...@yahoogro ups.com Subject: [flexcoders] TitleWindow Popup Question(s) Hi FlexCoders, Just a little TitleWindow popup question. I want a function to be executed everytime my popup title window component is displayed. How do I achieve this? I tried in the title window using the initialize property like: mx:TitleWindow xmlns:mx=http://www.adobe. com/2006/ mxml http://www.adobe.com/2006/mxml initialize=RunEveryPop( ); but my function RunEveryPop only executes the first time the popup is displayed. Subsequent popups would not trigger the said function. I know I can declare a public function in the title window and simply call this function from the calling main application, but I am wondering if this is a good or recommended way in achieving this? Also, another question... How do I reference the title of the TitleWindow from within itself? Like for example: private function getTitleWindowTitle () :void { Alert.show(Titlewin dow.Title) ; // I Should be able to display the Title of the title window in an alert message. } Advice and inputs would be highly appreciated. Thanks.,
Re: [flexcoders] TitleWindow closeButton Color
I use this with a swf and works perfectly TitleWindow { closeButtonDisabledSkin: Embed(source=custom_skins.swf,symbol=CloseButtonDisabled); closeButtonDownSkin: Embed(source=custom_skins.swf,symbol=CloseButtonDown); closeButtonOverSkin: Embed(source=custom_skins.swf,symbol=CloseButtonOver); closeButtonUpSkin: Embed(source=custom_skins.swf,symbol=CloseButtonUp); } TH, C From: jmfillman jmfill...@verizon.net To: flexcoders@yahoogroups.com Sent: Tuesday, July 7, 2009 1:27:59 AM Subject: [flexcoders] TitleWindow closeButton Color Is there a style for the color of the closeButton in a TitleWindow? I can't seem to find it, but it seems odd to have black be the only option. Can't seem to embed an image for the closeButtonSkin either. Setting a style in CSS doesn't work, or...?? TitleWindow { closeButtonSkin: Embed(assets/ close.png ); }
[flexcoders] TitleWindow closeButton Color
Is there a style for the color of the closeButton in a TitleWindow? I can't seem to find it, but it seems odd to have black be the only option. Can't seem to embed an image for the closeButtonSkin either. Setting a style in CSS doesn't work, or...?? TitleWindow { closeButtonSkin: Embed(assets/close.png); }
[flexcoders] titlewindow skinned component
hi how can i skin or where can i get a custom title window component like the one found here http://www.adobe.com/devnet/flex/articles/marketing_platforms_06.html; thanks
[flexcoders] TitleWindow and CloseButton
Wath I want help with is: are there a another way to do this, private function thisCreationComplete(event:FlexEvent):void {trace('OverWriteWarning::thisCreationComplete'); for(var i:int = 0; titleBar.numChildren i; i++){ if(titleBar.getChildAt(i) is Button) { var butt:Button = titleBar.getChildAt(i) as Button; butt.buttonMode = true; } } }
RE: [flexcoders] TitleWindow and CloseButton
The button of a title window is located in the Panel component. You can directly access it thought the mx_internal::closeButton http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/ msgId=137608/stime=1235567809/nc1=4507179/nc2=3848640/nc3=4836036 variable. Just make sure to import the mx_internal namespace first. Yves
[flexcoders] TitleWindow with TabNavigator
Hi, I have a problem with the display of an options dialog (TitleWindow) that contains a TabNavigator and sizing of the underlying tabs. I've tried combinations of creationPolicy=all and resizeToContent=true on the navigator and don't seem to be able to get the effect i'm after what i'd like is for the titlewindow / viewstack to size to the largest width and height of all of the children in the stack. Unfortunately I can't set explicit widths and heights for these panels as all language and style details are externally loaded resources so there's also no way of telling from style to style / language to language which is the widest / tallest child. The closest i get is the dialog resizing to each child which seems a little messy. Any ideas? Guessing i'm probably going to have to subclass TabNavigator and/or ViewStack? Thanks Jason
Re: [flexcoders] TitleWindow with TabNavigator
Hi, Yes, this seems like the job for a subclass. The problem here is the ViewStack only measures the selectedChild. So there is no possibility of knowing anything about the other children until the child becomes the selected child. On the other hand, if you know you have all of your content loaded in each tab, I see no reason why you couldn't set creation policy to all. Listen to creation complete and loop through all the children of the view stack doing a; semi code var maxWidth:Number = 0; var maxHeight:Number = 0; var len:int = numChildren; for (var i:int = 0; i len; i++) { var child:IUIComponent = IUIComponent(getChildAt(i)); maxWidth = Math.max(child.getExplicitOrMeasuredWidth(), maxWidth); maxHeight = Math.max(child.getExplicitOrMeasuredHeight(), maxHeight); } var window:Container = Container(parent); var vm:EdgeMetrics = window.viewMetrics; // this takes into account titlebar and borderMetrics of the TitleWindow window.width = maxWidth + vm.left + vm.right; window.height = maxHeight + vm.top + vm.bottom; That needs to be in a TabNavigator subclass after you know for sure ALL children have been created. I don't know if that will work, but this is where I would start dealing with the same problem. Mike On Thu, Sep 4, 2008 at 7:06 AM, Jason Crummack [EMAIL PROTECTED]wrote: Hi, I have a problem with the display of an options dialog (TitleWindow) that contains a TabNavigator and sizing of the underlying tabs. I've tried combinations of creationPolicy=all and resizeToContent=true on the navigator and don't seem to be able to get the effect i'm after what i'd like is for the titlewindow / viewstack to size to the largest width and height of all of the children in the stack. Unfortunately I can't set explicit widths and heights for these panels as all language and style details are externally loaded resources so there's also no way of telling from style to style / language to language which is the widest / tallest child. The closest i get is the dialog resizing to each child which seems a little messy. Any ideas? Guessing i'm probably going to have to subclass TabNavigator and/or ViewStack? Thanks Jason -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] TitleWindow with TabNavigator
If you choose to try this, I forgot you need to include the ViewStack's viewMetricsAndPadding in the measurements before setting the parent window's width and height. Mike On Thu, Sep 4, 2008 at 8:15 AM, Michael Schmalle [EMAIL PROTECTED]wrote: Hi, Yes, this seems like the job for a subclass. The problem here is the ViewStack only measures the selectedChild. So there is no possibility of knowing anything about the other children until the child becomes the selected child. On the other hand, if you know you have all of your content loaded in each tab, I see no reason why you couldn't set creation policy to all. Listen to creation complete and loop through all the children of the view stack doing a; semi code var maxWidth:Number = 0; var maxHeight:Number = 0; var len:int = numChildren; for (var i:int = 0; i len; i++) { var child:IUIComponent = IUIComponent(getChildAt(i)); maxWidth = Math.max(child.getExplicitOrMeasuredWidth(), maxWidth); maxHeight = Math.max(child.getExplicitOrMeasuredHeight(), maxHeight); } var window:Container = Container(parent); var vm:EdgeMetrics = window.viewMetrics; // this takes into account titlebar and borderMetrics of the TitleWindow window.width = maxWidth + vm.left + vm.right; window.height = maxHeight + vm.top + vm.bottom; That needs to be in a TabNavigator subclass after you know for sure ALL children have been created. I don't know if that will work, but this is where I would start dealing with the same problem. Mike On Thu, Sep 4, 2008 at 7:06 AM, Jason Crummack [EMAIL PROTECTED] wrote: Hi, I have a problem with the display of an options dialog (TitleWindow) that contains a TabNavigator and sizing of the underlying tabs. I've tried combinations of creationPolicy=all and resizeToContent=true on the navigator and don't seem to be able to get the effect i'm after what i'd like is for the titlewindow / viewstack to size to the largest width and height of all of the children in the stack. Unfortunately I can't set explicit widths and heights for these panels as all language and style details are externally loaded resources so there's also no way of telling from style to style / language to language which is the widest / tallest child. The closest i get is the dialog resizing to each child which seems a little messy. Any ideas? Guessing i'm probably going to have to subclass TabNavigator and/or ViewStack? Thanks Jason -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: {Disarmed} Re: [flexcoders] TitleWindow with TabNavigator
Thanks mike managed to get things going had a little fight with the top bordermetric being eaten by the tabbar but other than that things seem to be working as i'd have hoped thanks for the tips. Jason Michael Schmalle wrote: If you choose to try this, I forgot you need to include the ViewStack's viewMetricsAndPadding in the measurements before setting the parent window's width and height. Mike On Thu, Sep 4, 2008 at 8:15 AM, Michael Schmalle [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, Yes, this seems like the job for a subclass. The problem here is the ViewStack only measures the selectedChild. So there is no possibility of knowing anything about the other children until the child becomes the selected child. On the other hand, if you know you have all of your content loaded in each tab, I see no reason why you couldn't set creation policy to all. Listen to creation complete and loop through all the children of the view stack doing a; semi code var maxWidth:Number = 0; var maxHeight:Number = 0; var len:int = numChildren; for (var i:int = 0; i len; i++) { var child:IUIComponent = IUIComponent(getChildAt(i)); maxWidth = Math.max(child.getExplicitOrMeasuredWidth(), maxWidth); maxHeight = Math.max(child.getExplicitOrMeasuredHeight(), maxHeight); } var window:Container = Container(parent); var vm:EdgeMetrics = window.viewMetrics; // this takes into account titlebar and borderMetrics of the TitleWindow window.width = maxWidth + vm.left + vm.right; window.height = maxHeight + vm.top + vm.bottom; That needs to be in a TabNavigator subclass after you know for sure ALL children have been created. I don't know if that will work, but this is where I would start dealing with the same problem. Mike On Thu, Sep 4, 2008 at 7:06 AM, Jason Crummack [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have a problem with the display of an options dialog (TitleWindow) that contains a TabNavigator and sizing of the underlying tabs. I've tried combinations of creationPolicy=all and resizeToContent=true on the navigator and don't seem to be able to get the effect i'm after what i'd like is for the titlewindow / viewstack to size to the largest width and height of all of the children in the stack. Unfortunately I can't set explicit widths and heights for these panels as all language and style details are externally loaded resources so there's also no way of telling from style to style / language to language which is the widest / tallest child. The closest i get is the dialog resizing to each child which seems a little messy. Any ideas? Guessing i'm probably going to have to subclass TabNavigator and/or ViewStack? Thanks Jason -- Teoti Graphix, LLC http://www.teotigraphix.com http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix, LLC http://www.teotigraphix.com http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] TitleWindow
Is it possible to add a push button or other controls to a TitleWindow to show it on the horizontal title line? Thanks
Re: [flexcoders] TitleWindow
It should be possible, All your doing is going to position it over the area where you want. Unless I am misunderstanding you. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: markgoldin_2000 To: flexcoders@yahoogroups.com Sent: Tuesday, September 02, 2008 5:25 PM Subject: [flexcoders] TitleWindow Is it possible to add a push button or other controls to a TitleWindow to show it on the horizontal title line? Thanks
Re: [flexcoders] Titlewindow resize problem
Alex, It gets clipped but I know its expanding because I have used resize effect to observe it in slow mo. Its like the renderer is having problem drawing part of the window region. Tried using the latest SDK/Flash Plugin. same thing. Screenshot of it looks like exactly : http://www. geocities.com/poweribo/clipped.png Should be like this: http://www. geocities.com/poweribo/clipped2.png It turns out that the problem was more of PopupButton issue. It behaves as expected if TitleWindow is not a child of popup. On a somewhat related note, there is another serious prob with PopUpButton when used with ViewStack. The value of popup attribute of PopUpButton mysteriously gets set to null when you navigating thru the view stack. I'm actually surprised the issue was closed in Adobe Bugbase bec they cant replicate it. - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 17, 2008 1:41:53 AM Subject: RE: [flexcoders] Titlewindow resize problem I don’t have time to set this up right now. Did it clip or did you get scrollbars? Should it clip or just layout differently? From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of ibo Sent: Wednesday, July 16, 2008 1:23 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Titlewindow resize problem Guys need help, I've spent a day trying to figure out whats the problem with with this app. Its about programmatically resizing a Titlewindow. When I'm assigning the TitleWindow a new value for width, a portion of the window seems to be clipped for no reason. Is this a bug? Is there a workaround for this? Or am I just doing it wrong? If you will check the demo, it works as expected bec I have set the viewStackDialogInde x to 2 (as initial value). But if you close the dialog box and press the popup window again, clicking on medium and large item wont expand the window anymore. The compiled app demo: http://www.geocitie s.com/poweribo/ TitleWindowTest. swf The code in question:--- - - - -- ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http: //www.adobe. com/2006/ mxml width=100% height=100% mx:Script ![CDATA[ [Bindable] private var viewStackDialogInde x:int = 2; [Bindable] private var dynamicWidth: int = 565; ! private function displayDateDialog( event:Event) :void { var item:Object = listOfThings. selectedItem; viewStackDialogInde x = item.dialog; if (item.dialog == 0) { dynamicWidth = 170; } else if (item.dialog == 1) { dynamicWidth = 380; } else if (item.dialog == 2) { dynamicWidth = 565; } } ]] /mx:Script mx:Model id=Shortcuts someItems someItem label=Small data=1 dialog=0/ someItem label=Medium data=2 dialog=1/ someItem label=Large data=3 dialog=2/ /someItems /mx:Model mx:PopUpButton id=popUpButton label=Please Select Item openAlways= true mx:popUp mx:TitleWindow id=titleWindow showCloseButton= false close=popUpButton. close() width={dynamicWidt h} height=280 verticalScrollPolic y=off horizontalScrollPol icy=off mx:HBox width=100% height=100% verticalScrollPolic y=off horizontalScrollPol icy=off mx:List id=listOfThings n! bsp; dataProvider= {Shortcuts. someItem} selectedIndex= 2 width=140 height=100% textAlign=left click=displayDateD ialog(event) /mx:List nbs! p; mx:VBox id=thisPane width=100% height=100% verticalScrollPolic y=off horizontalScrollPol icy=off mx:ViewStack id=myViewStack width=100% height=100% selectedIndex= {viewStackDialo gIndex} verticalScrollPolic y=off horizontalScrollPol icy=off ! ; mx:HBox label=aa width=100% height=100% verticalScrollPolic y=off horizontalScrollPol icy=off mx:Text text=This is Small/ /mx:HBox mx:HBox label=bb width=100% height=100
[flexcoders] TitleWindow
New TitleWindow comes with a white area inside. Is it possible to get rid of it completely? Thanks
[flexcoders] Titlewindow resize problem
Guys need help, I've spent a day trying to figure out whats the problem with with this app. Its about programmatically resizing a Titlewindow. When I'm assigning the TitleWindow a new value for width, a portion of the window seems to be clipped for no reason. Is this a bug? Is there a workaround for this? Or am I just doing it wrong? If you will check the demo, it works as expected bec I have set the viewStackDialogIndex to 2 (as initial value). But if you close the dialog box and press the popup window again, clicking on medium and large item wont expand the window anymore. The compiled app demo: http://www.geocities.com/poweribo/TitleWindowTest.swf The code in question: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% mx:Script ![CDATA[ [Bindable] private var viewStackDialogIndex:int = 2; [Bindable] private var dynamicWidth:int = 565; private function displayDateDialog(event:Event):void { var item:Object = listOfThings.selectedItem; viewStackDialogIndex = item.dialog; if (item.dialog == 0) { dynamicWidth = 170; } else if (item.dialog == 1) { dynamicWidth = 380; } else if (item.dialog == 2) { dynamicWidth = 565; } } ]] /mx:Script mx:Model id=Shortcuts someItems someItem label=Small data=1 dialog=0/ someItem label=Medium data=2 dialog=1/ someItem label=Large data=3 dialog=2/ /someItems /mx:Model mx:PopUpButton id=popUpButton label=Please Select Item openAlways=true mx:popUp mx:TitleWindow id=titleWindow showCloseButton=false close=popUpButton.close() width={dynamicWidth} height=280 verticalScrollPolicy=off horizontalScrollPolicy=off mx:HBox width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:List id=listOfThings dataProvider={Shortcuts.someItem} selectedIndex=2 width=140 height=100% textAlign=left click=displayDateDialog(event) /mx:List mx:VBox id=thisPane width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:ViewStack id=myViewStack width=100% height=100% selectedIndex={viewStackDialogIndex} verticalScrollPolicy=off horizontalScrollPolicy=off mx:HBox label=aa width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Small/ /mx:HBox mx:HBox label=bb width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Medium/ /mx:HBox mx:HBox label=cc width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Large/ /mx:HBox /mx:ViewStack /mx:VBox /mx:HBox /mx:TitleWindow /mx:popUp /mx:PopUpButton /mx:Application --- Regards, Stephen
RE: [flexcoders] Titlewindow resize problem
I don't have time to set this up right now. Did it clip or did you get scrollbars? Should it clip or just layout differently? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ibo Sent: Wednesday, July 16, 2008 1:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Titlewindow resize problem Guys need help, I've spent a day trying to figure out whats the problem with with this app. Its about programmatically resizing a Titlewindow. When I'm assigning the TitleWindow a new value for width, a portion of the window seems to be clipped for no reason. Is this a bug? Is there a workaround for this? Or am I just doing it wrong? If you will check the demo, it works as expected bec I have set the viewStackDialogIndex to 2 (as initial value). But if you close the dialog box and press the popup window again, clicking on medium and large item wont expand the window anymore. The compiled app demo: http://www.geocities.com/poweribo/TitleWindowTest.swf The code in question: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% mx:Script ![CDATA[ [Bindable] private var viewStackDialogIndex:int = 2; [Bindable] private var dynamicWidth:int = 565; ! private function displayDateDialog(event:Event):void { var item:Object = listOfThings.selectedItem; viewStackDialogIndex = item.dialog; if (item.dialog == 0) { dynamicWidth = 170; } else if (item.dialog == 1) { dynamicWidth = 380; } else if (item.dialog == 2) { dynamicWidth = 565; } } ]] /mx:Script mx:Model id=Shortcuts someItems someItem label=Small data=1 dialog=0/ someItem label=Medium data=2 dialog=1/ someItem label=Large data=3 dialog=2/ /someItems /mx:Model mx:PopUpButton id=popUpButton label=Please Select Item openAlways=true mx:popUp mx:TitleWindow id=titleWindow showCloseButton=false close=popUpButton.close() width={dynamicWidth} height=280 verticalScrollPolicy=off horizontalScrollPolicy=off mx:HBox width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:List id=listOfThings n! bsp; dataProvider={Shortcuts.someItem} selectedIndex=2 width=140 height=100% textAlign=left click=displayDateDialog(event) /mx:List nbs! p; mx:VBox id=thisPane width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:ViewStack id=myViewStack width=100% height=100% selectedIndex={viewStackDialogIndex} verticalScrollPolicy=off horizontalScrollPolicy=off ! ; mx:HBox label=aa width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Small/ /mx:HBox mx:HBox label=bb width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Medium/ /mx:HBox mx:HBox label=cc width=100% height=100% verticalScrollPolicy=off horizontalScrollPolicy=off mx:Text text=This is Large/ /mx:HBox /mx:ViewStack /mx:VBox /mx:HBox /mx:TitleWindow /mx:popUp /mx:PopUpButton /mx:Application --- Regards, Stephen
[flexcoders] TitleWindow (Popup) Resize Problem
I have a dialog box with a text field in it. The text field can be set with text that wraps. So the size of the text field is unknown. Well when the text field has text that is 2 lines, it causes children to be pushed down. The bottom children are cut off because the dialog box (TitleWindow) doesn't resize. I set autolayout=true, but that didn't help. I have tried invalidateSize() after setting the text etc. without success.
[flexcoders] TitleWindow activation
We have an application where we use the PopUpManager to add a number of TitleWindows. I want to know when a window is activated i.e. it is clicked on and the window is brought to the front and vice versa when it ceases to be the topmost window. I thought the track focusin/focusout would be the solution but this doesnt appear to always work as expected. It seem clicking on a window doesnt give it focus it just brings it to the top, only clicking into a control in that window actually causes focus to be set. FocusIn/FocusOut seems to work only when I click on a TitleWindow once I have previously clicked in to a control in that window and also the same for window that is being moved backwards. So what event can I listen to know when a window is clicked on or is brought to the front by the PopUpManager.bringToFront? Hope thats clear.. tks
RE: [flexcoders] TitleWindow activation
There is no event that exactly matches what you want. A good design would set focus somewhere in each popup on creation. Flex doesn't do that for you. Then the system would restore focus as each popup came back to top. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Tuesday, December 18, 2007 5:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow activation We have an application where we use the PopUpManager to add a number of TitleWindows. I want to know when a window is activated i.e. it is clicked on and the window is brought to the front and vice versa when it ceases to be the topmost window. I thought the track focusin/focusout would be the solution but this doesnt appear to always work as expected. It seem clicking on a window doesnt give it focus it just brings it to the top, only clicking into a control in that window actually causes focus to be set. FocusIn/FocusOut seems to work only when I click on a TitleWindow once I have previously clicked in to a control in that window and also the same for window that is being moved backwards. So what event can I listen to know when a window is clicked on or is brought to the front by the PopUpManager.bringToFront? Hope thats clear.. tks
Re: [flexcoders] TitleWindow and Open/Close Effect
hideEffect will not work for titleWindow. You should create your effect and define - effectEnd=PopUpManager.removePopUp(this) Then your titleWindow close event should be close={myEffect} This way the effect runs and then the window closes. reflexactions wrote: I was trying to have an effect run when I open and close a TitleWindow. I set the showEffect/hideEffect but nothing happens. Is this the wrong effect property for open and closing a window? If so what effect property should I use ... or how can I do this? tks -- Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918
[flexcoders] TitleWindow and Open/Close Effect
I was trying to have an effect run when I open and close a TitleWindow. I set the showEffect/hideEffect but nothing happens. Is this the wrong effect property for open and closing a window? If so what effect property should I use ... or how can I do this? tks
[flexcoders] TitleWindow icon
Is this correct for inserting an icon into a TitleWindow? icon=@Embed(source='../images/dissectionicon.png') Try as I might, I cannot get the icon to appear. My TitleWindow is being used as a popup by PopUpManager. Hmm...
Re: [flexcoders] TitleWindow icon
titleIcon is a different property. Why I'll never know. On 9/14/07, candysmate [EMAIL PROTECTED] wrote: Is this correct for inserting an icon into a TitleWindow? icon=@Embed(source='../images/dissectionicon.png') Try as I might, I cannot get the icon to appear. My TitleWindow is being used as a popup by PopUpManager. Hmm...
Re: [flexcoders] TitleWindow sozing help needed
Hi, That is good ole mathematics. You need to calculate the popups new width and height, then use that to calc the x and y using the stage.screen dimensions. Peace, Mike On 9/7/07, Mark [EMAIL PROTECTED] wrote: I'm poping up a title window and would like the size to be a percentage of the window size. I haven't been able to see how do to this, is it something I can do? What I'd like is for it to be centered at about 75 percent of the screen width and height. I really don't even know if that will work or not, but I'd like to see what it looks like. -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] TitleWindow sozing help needed
I'm poping up a title window and would like the size to be a percentage of the window size. I haven't been able to see how do to this, is it something I can do? What I'd like is for it to be centered at about 75 percent of the screen width and height. I really don't even know if that will work or not, but I'd like to see what it looks like.
[flexcoders] TitleWindow close calling Application.application.currentstate?
I'm trying to have a close window call upstream to the main application to switch the currentstate; is this possible? I keep getting: Access of undefined property Application... close={Application.application.currentState='start'}
[flexcoders] titleWindow cutomisation
How do you remove ALL the space around a TitleWindow main content area? This is how far I have got: --- ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; title=title backgroundColor=red headerHeight=0 borderStyle=none borderSides= borderThickness=0 dropShadowEnabled=false paddingLeft=0 paddingRight=0 paddingTop=0 paddingBottom=0 mx:VBox backgroundColor=yellow width=100% height=100% /mx:VBox /mx:TitleWindow --- Any help appreciated. Linc
Re: [flexcoders] titleWindow cutomisation
Also set following to zero borderThicknessBottom borderThicknessTop borderThicknessLeft borderThicknessRight Refer http://livedocs.adobe.com/flex/2/langref/mx/containers/ Panel.html (TitleWindow extends Panel) for more details. On May 23, 2007, at 2:05 PM, Lincoln Mitchell wrote: How do you remove ALL the space around a TitleWindow main content area? This is how far I have got: --- ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; title=title backgroundColor=red headerHeight=0 borderStyle=none borderSides= borderThickness=0 dropShadowEnabled=false paddingLeft=0 paddingRight=0 paddingTop=0 paddingBottom=0 mx:VBox backgroundColor=yellow width=100% height=100% /mx:VBox /mx:TitleWindow --- Any help appreciated. Linc
RE: [flexcoders] titleWindow cutomisation
Grand! I guess I assumed borderThickness=0 would have dealt with that! This list is awesome. Thx heaps. Linc _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flexing... Sent: Wednesday, 23 May 2007 4:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] titleWindow cutomisation Also set following to zero borderThicknessBottom borderThicknessTop borderThicknessLeft borderThicknessRight Refer http://livedocs. http://livedocs.adobe.com/flex/2/langref/mx/containers/Panel.html adobe.com/flex/2/langref/mx/containers/Panel.html (TitleWindow extends Panel) for more details. On May 23, 2007, at 2:05 PM, Lincoln Mitchell wrote: How do you remove ALL the space around a TitleWindow main content area? This is how far I have got: --- ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx= http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml; title=title backgroundColor=red headerHeight=0 borderStyle=none borderSides= borderThickness=0 dropShadowEnabled=false paddingLeft=0 paddingRight=0 paddingTop=0 paddingBottom=0 mx:VBox backgroundColor=yellow width=100% height=100% /mx:VBox /mx:TitleWindow --- Any help appreciated. Linc
[flexcoders] TitleWindow, Borderskin, and the Move Effect
I have a TitleWindow that uses a BorderSkin (based on HaloBorder) to draw a custom background in the window's content area. The skin works fine until I try applying a Move effect to the TitleWindow. What happens is that when the move begins from offscreen top, the TitleWindow's content background is filled with the background color and the background generated by the BorderSkin is not displayed. Once the move has completed (the background color still fills the content area) if I display another TitleWindow that uses the same skin, the custom background is suddenly displayed in the TitleWindow that was moved (probably due to an invalidateDisplayList call). I tried changing the Move effect to a Zoom effect and the problem does not occur (the custom background is correctly displayed in the TitleWindow content area). I've put trace statements in the BorderSkin code and the custom content area background is being generated and drawn, so the only thing I can think of is that something is filling the content area of the TitleWindow with the background color AFTER the BorderSkin code executes. Anyone have any ideas about what might be happening and how to make it stop overwriting the content area background? Thanks!
Re: [flexcoders] TitleWindow missing all focus events??
Overloading focusOutHandler/focusInHandler helps. You'll be able to handle FocusEvents there. Like in protected override function focusOutHandler(event : FocusEvent) : void { if (event.relatedObject == null || !contains(event.relatedObject)) { // event came from outside not from one of the children } super.focusOutHandler(event); } R. On 2/2/07, zhongtie [EMAIL PROTECTED] wrote: I pop up TitleWindows using PopupManager, and I change the titlebar colors based on if the titleWindow is active (topmost) or not. The problem is, I am NOT able to capture the focus event for TitleWindow (other controls, like TextArea, has no problems), nor does onFocusIn/onFocusOut overwrite work. Any idea?
[flexcoders] TitleWindow missing all focus events??
I pop up TitleWindows using PopupManager, and I change the titlebar colors based on if the titleWindow is active (topmost) or not. The problem is, I am NOT able to capture the focus event for TitleWindow (other controls, like TextArea, has no problems), nor does onFocusIn/onFocusOut overwrite work. Any idea?
[flexcoders] Titlewindow dragging and dropping within canvas
I need to put a titleWindow over the canvas (either as a child or as popup) and should be draggable by it titleBar (and not the body) confined with the canvas and should not flow over other components on the screen. I did it successfully by implementing custom dragging but that lets the whole titleWindow draggable. Tried with Popup manager but drag events dont get bubbled up except close and mousedownout. I need to capture dragComplete to make confine the dragged component into a defined boundary. I tried dragComplete on the dragged component. Are there alternative ways to do this?
[flexcoders] titlewindow reveals too early
is there a way i can stall the tile window opening until the items in it have full drawn? my title window contains a combobox component populated with dynamic data, so since it takes longer tot load than the the window takes to open, the window resizes after it opens and looks sloppy any direction appreciated
Re: [flexcoders] TitleWindow Component...help!
Hi. Why don't your pop up dispatch some event (e.g. submitData) and you listen to it? R. On 12/5/06, qnotemedia [EMAIL PROTECTED] wrote: OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a button, Window pops up. 2) User types into a text box in the window, clicks Submit. 3) Text typed in appears in the main app. http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html But, I'm having a little difficulty understanding the assignment of the returned data. i.e.: login.loginName=returnedName; ...where login is the instance of the TitleWindow, loginName is a public Text variable inside the component, and returnedName is a text box in the main app. My confusion comes up when I try to edit this so that: 1) App has a combobox. Dataprovider for the combobox is an ArrayCollection of data: data and label. User clicks a button, TitleWindow pops up. 2) User types into a text box in the window, clicks Submit. 3) The text is a passed as a label, along with a generated ID (generated in the component) and is added to the combobox's dataprovider. The problem appears to be that there is no handler of the Submit button click on the main application. Obviously, I would add to a datasource and return an ID from that, but I can't even get this to work manually (i.e. for testing purposes, setting a static data and label). Just trying to keep this as simple as possible. Seems to me that if I can pass a string of text, I should also be able to pass an Object that is added to a dataProvider in the main app? Right? Help! - Chris
RE: [flexcoders] TitleWindow Component...help!
Here is a simple example: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI D=558 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Monday, December 04, 2006 5:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow Component...help! OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a button, Window pops up. 2) User types into a text box in the window, clicks Submit. 3) Text typed in appears in the main app. http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html But, I'm having a little difficulty understanding the assignment of the returned data. i.e.: login.loginName=returnedName; ...where login is the instance of the TitleWindow, loginName is a public Text variable inside the component, and returnedName is a text box in the main app. My confusion comes up when I try to edit this so that: 1) App has a combobox. Dataprovider for the combobox is an ArrayCollection of data: data and label. User clicks a button, TitleWindow pops up. 2) User types into a text box in the window, clicks Submit. 3) The text is a passed as a label, along with a generated ID (generated in the component) and is added to the combobox's dataprovider. The problem appears to be that there is no handler of the Submit button click on the main application. Obviously, I would add to a datasource and return an ID from that, but I can't even get this to work manually (i.e. for testing purposes, setting a static data and label). Just trying to keep this as simple as possible. Seems to me that if I can pass a string of text, I should also be able to pass an Object that is added to a dataProvider in the main app? Right? Help! - Chris
RE: [flexcoders] TitleWindow Component...help!
Yes, actually, using events is more portable than the example I posted. I'll try to do an example of that as well. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roman Protsiuk Sent: Tuesday, December 05, 2006 4:36 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TitleWindow Component...help! Hi. Why don't your pop up dispatch some event (e.g. submitData) and you listen to it? R. On 12/5/06, qnotemedia [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a button, Window pops up. 2) User types into a text box in the window, clicks Submit. 3) Text typed in appears in the main app. http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html But, I'm having a little difficulty understanding the assignment of the returned data. i.e.: login.loginName=returnedName; ...where login is the instance of the TitleWindow, loginName is a public Text variable inside the component, and returnedName is a text box in the main app. My confusion comes up when I try to edit this so that: 1) App has a combobox. Dataprovider for the combobox is an ArrayCollection of data: data and label. User clicks a button, TitleWindow pops up. 2) User types into a text box in the window, clicks Submit. 3) The text is a passed as a label, along with a generated ID (generated in the component) and is added to the combobox's dataprovider. The problem appears to be that there is no handler of the Submit button click on the main application. Obviously, I would add to a datasource and return an ID from that, but I can't even get this to work manually (i.e. for testing purposes, setting a static data and label). Just trying to keep this as simple as possible. Seems to me that if I can pass a string of text, I should also be able to pass an Object that is added to a dataProvider in the main app? Right? Help! - Chris
[flexcoders] TitleWindow Component...help!
OK - so I'm using the generic TileWindow example found on the Component Explorer. It basically shows you how to build something where: 1) User clicks a button, Window pops up. 2) User types into a text box in the window, clicks Submit. 3) Text typed in appears in the main app. http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html But, I'm having a little difficulty understanding the assignment of the returned data. i.e.: login.loginName=returnedName; ...where login is the instance of the TitleWindow, loginName is a public Text variable inside the component, and returnedName is a text box in the main app. My confusion comes up when I try to edit this so that: 1) App has a combobox. Dataprovider for the combobox is an ArrayCollection of data: data and label. User clicks a button, TitleWindow pops up. 2) User types into a text box in the window, clicks Submit. 3) The text is a passed as a label, along with a generated ID (generated in the component) and is added to the combobox's dataprovider. The problem appears to be that there is no handler of the Submit button click on the main application. Obviously, I would add to a datasource and return an ID from that, but I can't even get this to work manually (i.e. for testing purposes, setting a static data and label). Just trying to keep this as simple as possible. Seems to me that if I can pass a string of text, I should also be able to pass an Object that is added to a dataProvider in the main app? Right? Help! - Chris
Re: [flexcoders] TitleWindow Close Button
On Tuesday 26 September 2006 01:14, John Kirby wrote: I am try do trap an event when the mouse is over the close button (x) on a TitleWindow. http://livedocs.macromedia.com/flex/2/langref/mx/containers/Panel.html#event:close -- Tom Chiverton Helping to confidentially evolve performance-oriented market-growth This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] TitleWindow Close Button
Title: quote I am try do trap an event when the mouse is over the close button (x) on a TitleWindow. Anyone know how to reference this object? Thanks -- Whether you think that you can, or that you can't, you are usually right. - Henry Ford __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] TitleWindow title text aligned left aligned right...
How do you have text on the left and right of a TitleWindow??? Here's an example if you login: http://flexderby.ntara.com/ Thanks! __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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. __,_._,___
[flexcoders] TitleWindow for the Screen coordinates
Hi, i am showing my title window like alert on the screen. I am specifying the screeen coordinates also here. But the coordinates i am specifying are taking the application size. But i need to put this x,y coordinates respect to the browser window. Because, i am adding more than one mxml in my jsp page. so i need to show the window respect to browser window size. My sample code here: mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml borderColor="#ECE5F4" title="Login Help" width="500" height="320" x="445" y="100" closeButton="true" click="this.deletePopUp();" hScrollPolicy="off" vScrollPolicy="off" .. .. .. /TitleWindow Thanks Satish KC. __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TitleWindow Text colors
Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TitleWindow Text colors
The closest that you will be able to get is setting the titleIcon(to an image with text in it) and changing the titleStyleName. -sam On 8/7/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] TitleWindow Text colors
Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] TitleWindow - Positioning and Background Blurring
1. Can I adjust the amount of blurring that is applied to the background when I open a TitleWindow? Is it possible to completely switch off the blurring? 2. How do I center a TitleWindow automatically? Thanks in advance. Stefan Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/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] TitleWindow - Positioning and Background Blurring
1. Application has a global style, modalTransparencyBlur, that you can set to 0. 2. PopUpManager.centerPopUp ( YourPopUpHere ); - Original Message - From: Stefan Schmalhaus [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 26, 2006 12:53 PM Subject: [flexcoders] TitleWindow - Positioning and Background Blurring 1. Can I adjust the amount of blurring that is applied to the background when I open a TitleWindow? Is it possible to completely switch off the blurring? 2. How do I center a TitleWindow automatically? Thanks in advance. Stefan -- 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 -- 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] TitleWindow - Positioning and Background Blurring
Is this flex 2.0? In 1.5, to center a titlewindow popup I would do: var popup : MovieClip = mx.managers.PopUpManager.createPopUp(this, NewTitleWindow, false, {deferred: true});popup.centerPopUp(this.parentApplication); Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan SchmalhausSent: Wednesday, July 26, 2006 12:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow - Positioning and Background Blurring 1. Can I adjust the amount of blurring that is applied to thebackground when I open a TitleWindow? Is it possible to completelyswitch off the blurring?2. How do I center a TitleWindow automatically?Thanks in advance.Stefan __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TitleWindow - Positioning and Background Blurring
Interesting. For 2.0 jesse is definitely right, which suggests they made some pretty big changes to the API between 1.5 and 2.0.RegardsHankOn 7/26/06, Karl Johnson [EMAIL PROTECTED] wrote: Is this flex 2.0? In 1.5, to center a titlewindow popup I would do: var popup : MovieClip = mx.managers.PopUpManager.createPopUp(this, NewTitleWindow, false, {deferred: true});popup.centerPopUp(this.parentApplication); Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stefan SchmalhausSent: Wednesday, July 26, 2006 12:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow - Positioning and Background Blurring 1. Can I adjust the amount of blurring that is applied to thebackground when I open a TitleWindow? Is it possible to completelyswitch off the blurring?2. How do I center a TitleWindow automatically?Thanks in advance.Stefan __._,_.___ -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] TitleWindow - htmlText does not render
I am trying to produce a pop-up window (TitleWindow) that contains HTML formatted text. The simple example below produces no output (blank). It appears that HTML is not supported in TitleWindow, although I see no mention of this. Does anyone know if HTML is supported in TitleWindow, or am I doing something wrong? Thanks. ?xml version=1.0? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml mx:Text width=80% fontWeight=bold htmlText=This is html text /mx:TitleWindow -- 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] TitleWindow - htmlText does not render
Your example works fine for me in F2B2... except I had to close the Text tag with an ending / Darren From: marksdean2000 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow - htmlText does not render Date: Thu, 27 Apr 2006 15:53:14 - I am trying to produce a pop-up window (TitleWindow) that contains HTML formatted text. The simple example below produces no output (blank). It appears that HTML is not supported in TitleWindow, although I see no mention of this. Does anyone know if HTML is supported in TitleWindow, or am I doing something wrong? Thanks. ?xml version=1.0? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml mx:Text width=80% fontWeight=bold htmlText=This is html text /mx:TitleWindow -- 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 -- 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 PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] TitleWindow lost focus on startup
I have a TitleWindow set to popup at the startup of my application. I use this window at other points in the program with absolutely no problems. But when it's called on startup using the 'initialize' event on my main canvas, it opens the popup, and it functions fairly normally, but A: does not obtain focus automatically, B: does not capture tab key presses. The loginWin TitleWindow is set to setFocus() on one of the text input boxes... It highlights it in blue, but when you type, the text doesn't go into it, unless you manually click in teh box. Then if I hit tab, it tabs through the items in my main canvas, vs tabbing through items in the popup. I'm guessing this is somehow related to the window loading before the main components are finished initializing, but I'm not sure how to get around this. I've tried all sorts of tips and tricks, but still can't get it to work. Any suggestions would be appreciated. Code snippits below: Main Canvas: mx:Canvas id=mainCanvas width=100% height=100% initialize=startUp(); loginWin definition: var loginWin:Object; startUp() function: function startUp() { loginWin=TitleWindow(PopUpManager.createPopUp(mainCanvas, loginBox , true)); loginWin.mainApp = this; loginWin.centerPopUp(); } -- 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] TitleWindow width issue
On 1/28/06, Deepa Subramaniam [EMAIL PROTECTED] wrote: Try using PopUpManager.popUpWindow() which takes the window to pop up. After you create the window object to pop up, set its width and height to the parent application's width and height and then call popUpWindow(). Something like: private function pop():void { var win:IFlexDisplayObject = new test(); win.width = this.width; win.height = this.height; PopUpManager.popUpWindow(win, this); } Even createPopUp returns a reference to the window object, whose width and height can be set. -- 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] TitleWindow width issue
You can pass in your application.width and application.height as the real values, I don't think percentage will work. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Friday, January 27, 2006 8:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow width issue I would like to know if there is a way to make a popup expand the entire screen? I have need for a pop that expands the entire screen. When I use the PopUpManager.createPopUp function to create a pop-up the TitleWindow seems to take up about 60%-70% of the screen when the width is set to 100%. I am just wondering is the is a FLEX default value for a TitleWindow or if I am just missing somthing. Thanks, -- 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 -- 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] TitleWindow width issue
I would like to know if there is a way to make a popup expand the entire screen? I have need for a pop that expands the entire screen. When I use the PopUpManager.createPopUp function to create a pop-up the TitleWindow seems to take up about 60%-70% of the screen when the width is set to 100%. I am just wondering is the is a FLEX default value for a TitleWindow or if I am just missing somthing. Thanks, -- 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] titlewindow move end
You could use the mouseUp event to check when the window is released, the 'move' event will be triggered as the component is being dragged. Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: samedi 8 octobre 2005 3:08To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] titlewindow move end move.my_panel.addEventListener("move", this);function move(){ trace("cracka moved!");}- Original Message - From: "Rajesh Jayabalan" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Friday, October 07, 2005 7:38 PMSubject: [flexcoders] titlewindow move endHi,I want to findout where a titlewindow has moved? so that I can setthe position is the user has moved the titlebar outside the screen area. Does anyone know what event is generation when a move of titlewindowis ended and how to trap it.RegardsRajesh J--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] titlewindow move end
Hi, I want to findout where a titlewindow has moved? so that I can set the position is the user has moved the titlebar outside the screen area. Does anyone know what event is generation when a move of titlewindow is ended and how to trap it. Regards Rajesh J Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/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] titlewindow move end
move. my_panel.addEventListener(move, this); function move() { trace(cracka moved!); } - Original Message - From: Rajesh Jayabalan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 07, 2005 7:38 PM Subject: [flexcoders] titlewindow move end Hi, I want to findout where a titlewindow has moved? so that I can set the position is the user has moved the titlebar outside the screen area. Does anyone know what event is generation when a move of titlewindow is ended and how to trap it. Regards Rajesh J -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/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] TitleWindow passing vars back to another TitleWindow
can't u do something like recpName.text={test.text} which will bind them together? Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kreddington1Sent: Tuesday, July 19, 2005 8:44 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow OK, here's a sample of what I'm trying to do. I want Window2 to populate recpName.text which can be found in Window1 when the input field in Window2 is changed. If I change Window1 to be mx:Application, then recpName.text gets populated correctly, but once I change it back to TitleWindow, it breaks.Thank you for your help,KimWindow1:?xml version="1.0" encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" width="400" height="400" xmlns="*" mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager; function newWindow() { var addressPop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, Window2)); } ]] /mx:Script mx:Text id="recpName" / mx:Button label="Cancel" click="deletePopUp()" / mx:Button label="New Window" click="newWindow()" //mx:TitleWindowWindow2:?xml version="1.0" encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" width="400" height="400" xmlns="*" mx:Script ![CDATA[ function cancelPopUp() { parentDocument.recpName.text = test.text; deletePopUp(); } ]] /mx:Script mx:HBox mx:TextInput id="test" / /mx:HBox mx:Button label="Cancel" click="cancelPopUp()" //mx:TitleWindow--- In flexcoders@yahoogroups.com, "Sauro, Nick" [EMAIL PROTECTED] wrote:i'm not fully understanding the problem here, a code excerpt might helpclarifyNick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687________From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of kreddington1Sent: Tuesday, July 19, 2005 4:03 PMTo: flexcoders@yahoogroups.comSubject: Fwd: RE: [flexcoders] TitleWindow passing vars back to anotherTitleWindowUsing data binding, I run into the same problem. The 2nd window doesn't seem to be able to talk to the first window. Is there another method I could try?Thanks--- In flexcoders@yahoogroups.com, "Sauro, Nick" [EMAIL PROTECTED] wrote:you should look into data binding.Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Kim ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing vars back to anotherTitleWindowI have created a TitleWindow that opens another TitleWindow. The 2ndwindow contains a form. I would like the data entered in the form to bepassed back to the 1st titlewindow.If I make the first TitleWindow be an application, then I can use parentDocument.name.text = name.textto pass the name back to the original screen, but if I try to use thissame line of code to pass the data from the 2nd TitleWindow to a 1stTitleWindow, then the text control shows up blank.Does this make sense? Is it possible to pass data back to an openTitleWindow?Thanks,Kim _Kim ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com http://www.deluxetechnologies.com/ 508-231-8744 --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ . --- End forwarded message -Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ . --- End forwarded message --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Searc
RE: [flexcoders] TitleWindow passing vars back to another TitleWindow
you should look into data binding. Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kim ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing vars back to another TitleWindow I have created a TitleWindow that opens another TitleWindow. The 2nd window contains a form. I would like the data entered in the form to be passed back to the 1st titlewindow. If I make the first TitleWindow be an application, then I can use parentDocument.name.text = name.text to pass the name back to the original screen, but if I try to use this same line of code to pass the data from the 2nd TitleWindow to a 1st TitleWindow, then the text control shows up blank. Does this make sense? Is it possible to pass data back to an open TitleWindow? Thanks,Kim _Kim ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744 -- 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.
Fwd: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow
Using data binding, I run into the same problem. The 2nd window doesn't seem to be able to talk to the first window. Is there another method I could try? Thanks --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: you should look into data binding. Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington Sent: Tuesday, July 19, 2005 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow passing vars back to another TitleWindow I have created a TitleWindow that opens another TitleWindow. The 2nd window contains a form. I would like the data entered in the form to be passed back to the 1st titlewindow. If I make the first TitleWindow be an application, then I can use parentDocument.name.text = name.text to pass the name back to the original screen, but if I try to use this same line of code to pass the data from the 2nd TitleWindow to a 1st TitleWindow, then the text control shows up blank. Does this make sense? Is it possible to pass data back to an open TitleWindow? Thanks, Kim _ Kim Reddington Principal Consultant/Developer Deluxe Technologies http://www.deluxetechnologies.com http://www.deluxetechnologies.com/ 508-231-8744 -- 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 http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . --- End forwarded message --- -- 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: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow
i'm not fully understanding the problem here, a code excerpt might help clarify Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kreddington1Sent: Tuesday, July 19, 2005 4:03 PMTo: flexcoders@yahoogroups.comSubject: Fwd: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow Using data binding, I run into the same problem. The 2nd window doesn't seem to be able to talk to the first window. Is there another method I could try?Thanks--- In flexcoders@yahoogroups.com, "Sauro, Nick" [EMAIL PROTECTED] wrote:you should look into data binding.Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Kim ReddingtonSent: Tuesday, July 19, 2005 11:33 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow passing vars back to anotherTitleWindowI have created a TitleWindow that opens another TitleWindow. The 2ndwindow contains a form. I would like the data entered in the form to bepassed back to the 1st titlewindow.If I make the first TitleWindow be an application, then I can use parentDocument.name.text = name.textto pass the name back to the original screen, but if I try to use thissame line of code to pass the data from the 2nd TitleWindow to a 1stTitleWindow, then the text control shows up blank.Does this make sense? Is it possible to pass data back to an openTitleWindow?Thanks,Kim _Kim ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com http://www.deluxetechnologies.com/ 508-231-8744 --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService http://docs.yahoo.com/info/terms/ . --- End forwarded message --- -- 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 Computer software testing Macromedia flex Development Software developer 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] TitleWindow passing vars back to another TitleWindow
OK, here's a sample of what I'm trying to do. I want Window2 to populate recpName.text which can be found in Window1 when the input field in Window2 is changed. If I change Window1 to be mx:Application, then recpName.text gets populated correctly, but once I change it back to TitleWindow, it breaks. Thank you for your help, Kim Window1: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml; width=400 height=400 xmlns=* mx:Script ![CDATA[ import mx.containers.TitleWindow; import mx.managers.PopUpManager; function newWindow() { var addressPop:TitleWindow = TitleWindow (PopUpManager.createPopUp(this, Window2)); } ]] /mx:Script mx:Text id=recpName / mx:Button label=Cancel click=deletePopUp() / mx:Button label=New Window click=newWindow() / /mx:TitleWindow Window2: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml; width=400 height=400 xmlns=* mx:Script ![CDATA[ function cancelPopUp() { parentDocument.recpName.text = test.text; deletePopUp(); } ]] /mx:Script mx:HBox mx:TextInput id=test / /mx:HBox mx:Button label=Cancel click=cancelPopUp() / /mx:TitleWindow --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: i'm not fully understanding the problem here, a code excerpt might help clarify Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kreddington1 Sent: Tuesday, July 19, 2005 4:03 PM To: flexcoders@yahoogroups.com Subject: Fwd: RE: [flexcoders] TitleWindow passing vars back to another TitleWindow Using data binding, I run into the same problem. The 2nd window doesn't seem to be able to talk to the first window. Is there another method I could try? Thanks --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: you should look into data binding. Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kim Reddington Sent: Tuesday, July 19, 2005 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow passing vars back to another TitleWindow I have created a TitleWindow that opens another TitleWindow. The 2nd window contains a form. I would like the data entered in the form to be passed back to the 1st titlewindow. If I make the first TitleWindow be an application, then I can use parentDocument.name.text = name.text to pass the name back to the original screen, but if I try to use this same line of code to pass the data from the 2nd TitleWindow to a 1st TitleWindow, then the text control shows up blank. Does this make sense? Is it possible to pass data back to an open TitleWindow? Thanks, Kim _ Kim Reddington Principal Consultant/Developer Deluxe Technologies http://www.deluxetechnologies.com http://www.deluxetechnologies.com/ 508-231-8744 -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . --- End forwarded message --- -- 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 http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . --- End forwarded message --- -- 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
[flexcoders] TitleWindow show event
I've got a TitleWindow popup that appears when a button is clicked. When the window appears, I want to set focus on a TextInput component that is in the TitleWindow. I assume that the event I'm looking for is show - but it doesn't seem to be broadcasting that event when the TitleWindow is popped up. Does anyone have advice or examples of events being used with TitleWindow popups? /** * Jeff Beeman **/ 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] TitleWindow show event
I'd use creationComplete of the TitleWindow instead. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, May 17, 2005 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow show event I've got a TitleWindow popup that appears when a button is clicked. When the window appears, I want to set focus on a TextInput component that is in the TitleWindow. I assume that the event I'm looking for is show - but it doesn't seem to be broadcasting that event when the TitleWindow is popped up. Does anyone have advice or examples of events being used with TitleWindow popups? /** * Jeff Beeman **/ Yahoo! Groups Links 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] TitleWindow show event
Works like a charm: ?xml version="1.0" encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" closeButton="true" width="200" click="this.deletePopUp();" creationComplete="setMyFocus()"mx:Scriptfunction setMyFocus() {form1.setFocus();}/mx:Scriptmx:TextInput id="form1" text="Your Name" / /mx:TitleWindow From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Tuesday, May 17, 2005 3:48 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] TitleWindow show event I'd use creationComplete of the TitleWindow instead.Tracy-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Jeff BeemanSent: Tuesday, May 17, 2005 2:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow show eventI've got a TitleWindow popup that appears when a button is clicked.When the window appears, I want to set focus on a TextInput componentthat is in the TitleWindow. I assume that the event I'm looking for is"show" - but it doesn't seem to be broadcasting that event when theTitleWindow is popped up. Does anyone have advice or examples of eventsbeing used with TitleWindow popups?/*** Jeff Beeman**/Yahoo! Groups Links 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 the Yahoo! Terms of Service.
RE: [flexcoders] TitleWindow show event
That was far too easy /** * Jeff Beeman **/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn Sent: Tuesday, May 17, 2005 12:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TitleWindow show event Works like a charm: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml closeButton=true width=200 click=this.deletePopUp(); creationComplete=setMyFocus() mx:Script function setMyFocus() { form1.setFocus(); } /mx:Script mx:TextInput id=form1 text=Your Name / /mx:TitleWindow From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, May 17, 2005 3:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TitleWindow show event I'd use creationComplete of the TitleWindow instead. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, May 17, 2005 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow show event I've got a TitleWindow popup that appears when a button is clicked. When the window appears, I want to set focus on a TextInput component that is in the TitleWindow. I assume that the event I'm looking for is show - but it doesn't seem to be broadcasting that event when the TitleWindow is popped up. Does anyone have advice or examples of events being used with TitleWindow popups? /** * Jeff Beeman **/ Yahoo! Groups Links 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 the Yahoo! Terms of Service.