[flexcoders] FlexBuilder / eclipse Question
Hi FlexBuilders! I was wondering if there is an option or way to automatically return to the development perspective when you shut down the debugger? So if you do terminate (Ctrl-F2) on the app in the debugger, you would immediately swap back over to development perspective the same way you earlier swapped to debugger perspective when you hit the debug button? Thanks for this and all your past help on this forum. Libby
[flexcoders] FlexBuilder Question
What option is it that, when you close a file, causes the Navigator to switch focus back to the previous area you were in before you opened the file? It doesn't do this in FlexBuilder plugin in eclipse, but it does it in regular FlexBuilder and it drives me crazy! not that I had that far to go... :)
[flexcoders] Which rows in a datagrid contain modified items (and which don't) ?
Hi, People I have a datagrid where user can modify a few rows out of 200 - 500 then click save. I only want to hit the database with the changed rows. Is there a technique whereby I can identify the dirty rows, pluck them out, and ship only them off to the database, without going thru and comparing column by column, row by row? Thanks, Libby
[flexcoders] Running multiple copies of FlexBuilder Help window - is it possible?
Hi Peoples. Many times I want to read two topics in help at once and would like to have multiple copies of the ASDocs up. It seems like you could go to the asdoc folder on ur hard drive and invoke something, but so far I have not been able to figure out how to do this. I cannot always be connected to the 'net so the Live Docs are not always an option. If anyone knows how to do this, please advise here. Thanks, Libby
[flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?
They help! I love you man! --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: Although completely unrelate to the book, would these screencasts help, on item Renderers, the DataGrid, and item Editors. http://www.theflexshow.com/blog/index.cfm/2008/10/15/The-Flex-Show--Fifteen-Minutes-With-Flex--Episode-8--Custom-Item-Renderers http://www.theflexshow.com/blog/index.cfm/2008/12/24/The-Flex-Show--Fifteen-Minutes-With-Flex--Episode-13--DataGrids http://www.theflexshow.com/blog/index.cfm/2009/1/7/The-Flex-Show--Fifteen-Minutes-With-Flex--Episode-14-Item-Editors Libby wrote: Hi Matt My copy of the book refers to Flex 2.0 ... anyway I remember in their examples they did a datagrid itemrenderer and I just wanted to refresh my memory cause the one I'm working on is not working the way I expected it to. --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: Hey Libby, I checked and the machine that had this code went offline. It's all Flex 1.0 code, you sure you really need it? Matt On 3/5/09 10:28 AM, Libby libbychantel@ wrote: Hi, I have this book but lost my copy of the source code I originally downloaded. The authors website (http://flexbook.iterationtwo.com/, http://www.flexbook.iterationtwo.com/) is down. Does anyone know how to contact the authors Stephen Webster and Alistair McCleod or maybe has a copy? Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
[flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?
Hi Matt My copy of the book refers to Flex 2.0 ... anyway I remember in their examples they did a datagrid itemrenderer and I just wanted to refresh my memory cause the one I'm working on is not working the way I expected it to. --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: Hey Libby, I checked and the machine that had this code went offline. It's all Flex 1.0 code, you sure you really need it? Matt On 3/5/09 10:28 AM, Libby libbychan...@... wrote: Hi, I have this book but lost my copy of the source code I originally downloaded. The authors website (http://flexbook.iterationtwo.com/, http://www.flexbook.iterationtwo.com/) is down. Does anyone know how to contact the authors Stephen Webster and Alistair McCleod or maybe has a copy? Thanks, Libby
[flexcoders] comboBox in datagrid
Hi People Maybe someone could remind me, I've done this before but apparently now have so much knowledge in my brain that the old stuff is getting pushed out : ) I have a ComboBox itemEditor in a datagrid. The datagrid dataprovider is bound to an arrayCollection which among other things contains the values that are identified as code in the comboBox. When the remote data comes in, the comboBox is displaying the code value rather than the label value. When I click the comboBox, my label property is found and the combobox correctly displays the label for the underlying code. So the issue is, when the combobox first gets the data, it needs to run the label displaying code, and it isn't. What am I forgetting? and... thanks!
[flexcoders] Re: comboBox in datagrid
no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when it receives a new batch of data. Your checkbox appears to do the same thing. --- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... wrote: Are you talking about an example like this? You may be better off creating a reusable/testable component in separate AS or MXML file. mx:Component mx:CheckBox creationComplete=init() mx:Script ![CDATA[ private var _data:Object; private function init():void { this.addEventListener(MouseEvent.CLICK, update); } override public function get data():Object { return _data; } [Bindable] override public function set data(o:Object):void { _data = o; if(_data.checked == true) this.selected = true; else this.selected = false; } private function update(event:MouseEvent):void { if(this.selected) _data.checked = true; else _data.checked = false; } ]] /mx:Script /mx:CheckBox /mx:Component
[flexcoders] Re: comboBox in datagrid
I wish...no, I'm using labelField in one and a labelFunction in another one, but these are not invoked until you actually click on the dropdown. Thus, when data is first retrieved into the dropdown, the darned thing is displaying the data field rather than the label: field. Should I be firing off something to force the dropdown to update when the data comes in? --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: You probably need to specify the labelField. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Libby Sent: Tuesday, March 10, 2009 4:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: comboBox in datagrid no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when it receives a new batch of data. Your checkbox appears to do the same thing. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Anthony DeBonis anthony@ wrote: Are you talking about an example like this? You may be better off creating a reusable/testable component in separate AS or MXML file. mx:Component mx:CheckBox creationComplete=init() mx:Script ![CDATA[ private var _data:Object; private function init():void { this.addEventListener(MouseEvent.CLICK, update); } override public function get data():Object { return _data; } [Bindable] override public function set data(o:Object):void { _data = o; if(_data.checked == true) this.selected = true; else this.selected = false; } private function update(event:MouseEvent):void { if(this.selected) _data.checked = true; else _data.checked = false; } ]] /mx:Script /mx:CheckBox /mx:Component
[flexcoders] Developing Rich Clients with Macromedia Flex - source code?
Hi, I have this book but lost my copy of the source code I originally downloaded. The authors website (http://flexbook.iterationtwo.com/, http://www.flexbook.iterationtwo.com/) is down. Does anyone know how to contact the authors Stephen Webster and Alistair McCleod or maybe has a copy? Thanks, Libby
[flexcoders] Re: XML Parsing - maintaining a record pointer
well, this is a sequential file, output from a mainframe and basically I need to start at the top and work my way to the bottom, with frequent look-aheads. I have been trying hard to use e4x but so far have not been successful with getting it to work. apparently there is something about the syntax I am not getting. That cursor idea another poster mentioned sounds intriguing... --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: I would suggest that you do not think in terms of reading the file. Rather, use e4x to find the node you want to process, then go from there. OTOH, it is acceptable to manipulate an XMLList, especially if your data is a single level. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sam Lai Sent: Friday, February 20, 2009 4:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML Parsing - maintaining a record pointer You could use a different variable name in the inner loop, that way it won't change the object in the outer loop. On 2/21/09, Libby libbychan...@... mailto:libbychantel%40yahoo.com wrote: hi, flexCoders! thanks for all ur help in the past! Does Flex maintain your record pointer while reading an xml file? basically what i want to do is read each line and when I hit certain values, read on for 4 or 5 records, then return to the original process without starting back at the last record read at the first read. I can do this the hard way of course by maintaining my own pointer and treating the file as a giant array, but surely there is an easier way? for each (var xmlNode:XML in xml.children()) { // do stuff // if(xmlNode.something==aValue) { for each (var xmlNode:XML read on into the file thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf -1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo ! Groups Links
[flexcoders] XML Parsing - maintaining a record pointer
hi, flexCoders! thanks for all ur help in the past! Does Flex maintain your record pointer while reading an xml file? basically what i want to do is read each line and when I hit certain values, read on for 4 or 5 records, then return to the original process without starting back at the last record read at the first read. I can do this the hard way of course by maintaining my own pointer and treating the file as a giant array, but surely there is an easier way? for each (var xmlNode:XML in xml.children()) { // do stuff // if(xmlNode.something==aValue) { for each (var xmlNode:XML read on into the file thanks, Libby
[flexcoders] AdvancedDataGrid.SelectedItem - ??
Hello people, I am messing with an AdvancedDataGrid for the first time. Have read the Adobe docs and it appears that you can listen for ITEM_OPEN and ITEM_CLOSE and such and be able to access the current item. However, they in my case are always null. I am trying to figure out where in the tree hierarchy the user has clicked the mouse. Could someone give me a little nudge in the right direction? :) thanks, Libby Flex 3.x
[flexcoders] Is there a way to tie a popup window to an object on a window such that...
Hi, FlexCoders! Is there a way to tie a modal popup window to a parent object on a window such that no matter how the other objects on the window move around, the popup sticks or follows the parent object? The PopupManager CenterPopUp() is not working, it centers at 0,0. I'm thinking maybe because I need to move my popup into another layer or something... Thanks, Libby
[flexcoders] Finding out the size of a component when everything is relative?
Flex 3 At run time I am trying to find out if user has expanded a canvas or not. When I query the component or its parents, I always get the original size, x y = 0, etc. In the debugger I can see $height and other $variables which appear to contain the correct values, but apparently this are a private property. What am I missing here? Thanks, Libby
[flexcoders] Re: Finding out the size of a component when everything is relative?
actually the canvas is wrapped because the screen is too small (not mazimized). I need to know how much real estate the wrapped canvas is occupying. So far I can'r find any evidence internally that it is wrapped. I need to know the actual x,y of the lowest corner of it I guess. But how? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The properties with $ signs mean they are wrapped and mx_internal. The $height and $width are the actual Flash Player version of height and width. At what point are you trying to get the height and width? Do you know for sure the canvas has children and has been measured and updated? If you can see the canvas (with children), there is no way the width and height will be zero. The borderColor property help with debugging to actually see the canvas if it has no borderStyle, set to solid. Mike On Tue, Oct 28, 2008 at 7:36 AM, Libby [EMAIL PROTECTED] wrote: Flex 3 At run time I am trying to find out if user has expanded a canvas or not. When I query the component or its parents, I always get the original size, x y = 0, etc. In the debugger I can see $height and other $variables which appear to contain the correct values, but apparently this are a private property. What am I missing here? Thanks, Libby -- 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'.
[flexcoders] Question for the authors of RIA With Adobe Flex Java - ch 10 - RSLs
Does your sample code for chapter 10 work for you? When I run the example code for chapter 10, up thru pg 415, all I get is a box saying RSL Error 4 of 4. Anyone - I am trying to learn about RSL's because my application throws the ScriptTimeoutError on the server before it gets finished initializing - I'm assuming I need to reduce the size of it by using RSL's. Am I headed down the wrong street? Is there perhaps a way to circumvent the ScriptTimeoutError? Thanks, Libby using Flex 2.0
[flexcoders] Re: Parsing mxml - is there an attribute or method of the
Do these events fire when Flex gets around to instantiating the contents of the Container, or just when an outside entity adds a child? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: flash.display.DisplayObjectContainer or mx.core.Container? DisplayObjectContainer has add events for when children are added. Container has childAdd event for when child components are created. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Wednesday, September 26, 2007 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Parsing mxml - is there an attribute or method of the DisplayObjectContainer that indicates whether or not the children of the object have been instantiated yet? I know Flex waits to create some objects until just in time - this gets in the way of dynamic binding operations - hence I am looking for a way to look ahead to see if my target object exists yet, so I can force its creation if necessary. Thanks, Libby
[flexcoders] Parsing mxml - is there an attribute or method of the
DisplayObjectContainer that indicates whether or not the children of the object have been instantiated yet? I know Flex waits to create some objects until just in time - this gets in the way of dynamic binding operations - hence I am looking for a way to look ahead to see if my target object exists yet, so I can force its creation if necessary. Thanks, Libby
[flexcoders] Remote Objects - a reflective way to determine class?
Does anyone know of a technique to determine the true class of an object returned via remoting when Flex only knows it as an Object? I have tried if(Object is ClassName) and if(Object instanceOf ClassName) and also tried various casting combinations but so far I cannot determine what my returned Object is without parsing it to look for a specific field - not very object-oriented : ( Thanks, Libby
[flexcoders] Re: Remote Objects - a reflective way to determine class?
Yeah, I tried that - it returns Object. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: See: flash.utils.getQualifiedClassName() http://livedocs.adobe.com/flex/2/langref/flash/utils/package.html#getQua lifiedClassName() -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, August 27, 2007 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remote Objects - a reflective way to determine class? Does anyone know of a technique to determine the true class of an object returned via remoting when Flex only knows it as an Object? I have tried if(Object is ClassName) and if(Object instanceOf ClassName) and also tried various casting combinations but so far I cannot determine what my returned Object is without parsing it to look for a specific field - not very object-oriented : ( Thanks, Libby -- 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] Re: DateField - is there a way to limit the amount of input allowed?
Anybody? As far as I can tell, DateField doesn't take a maxChars property, which would be the logical solution. --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I used a keyboard listener to keep track of the length of the text entered, but Flex ignores my demands to preventDefault() and/or stopImmediatePropagation(). Does anyone have the secret they could share with me? Thanks, Libby
[flexcoders] Re: DateField - is there a way to limit the amount of input allowed?
I have a DateField in which editing is allowed. I want to prevent the user from typing more than x characters since x + 1 characters will not represent a valid date to my application. In other programming languages my keypress handler would allow me to consume the event, effectively putting a stop to typing beyond a certain length. How can I do this in Flex, as so far my attempts at stopping the event propagation have been ignored by the Flash player? Thanks, Libby --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 23 January 2007 13:45, Libby wrote: Anybody? As far as I can tell, DateField doesn't take a maxChars property, which would be the logical solution. --- In flexcoders@yahoogroups.com, Libby libbychantel@ wrote: I used a keyboard listener to keep track of the length of the text entered, but Flex ignores my demands to preventDefault() and/or stopImmediatePropagation(). Does anyone have the secret they could Can you be clearer about what you want to achieve ? For instance, I've never heard of those two methods, and so have no idea how they relate to what seems a fairly simple case of using a key press handler to truncate a form field. -- Tom Chiverton Helping to assertively maintain exceptional methodologies 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] DateField - is there a way to limit the amount of input allowed?
I used a keyboard listener to keep track of the length of the text entered, but Flex ignores my demands to preventDefault() and/or stopImmediatePropagation(). Does anyone have the secret they could share with me? Thanks, Libby
[flexcoders] Re: BindingUtils.bindProperty versus mx:Binding
One reason NOT to use binding tags, curly braces, etc is this practice departs from the object oriented MVC concept. If possible, there should not be any code in the view, just --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Closer to your mx:Binding tag is: BindingUtils.bindProperty( userVO, Name, this, [ nameTextInput, text ] ); but keep in mind that binding of mx.binding.utils using ChangeWatcher and BindingUtils work differently from the mx.binding package (MXML compiler binding). The latter supports much more use cases, i.e. binding to expressions, XML, having functions and Array elements in property chains, etc. BindingUtils i.e. only supports property chains. I'd question why you would want to replace all our MXML bindings when it's working like a charm for you? ;) Aren't MXML bindings (curly braces, function bindings, mx:Binding/Observe) easier to write and maintain? Best, Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: 20 January 2007 05:14 To: flexcoders@yahoogroups.com Subject: [flexcoders] BindingUtils.bindProperty versus mx:Binding Hello All, I am not having much luck, using the bindProperty method of creating bindings. At the moment, I am using the mx:Binding method, and it's working like a charm. But, I am trying to get away from this, so I can put all my binding logic into my ActionScript Code. I was under the impression, that BindingUtils.bindProperty was the ActionScript direct replacement for the mx:Binding tag. A quick example of my usage: BindingUtils.bindProperty( nameTextInput, text, userVO, Name ); Which replaces: mx:Binding source=nameTextInput.text destination=userVO.Name/ I've tried executing the AS code, in the CreationComplete and the Initialize Functions of my Control, without any success. I just don't get any data binding taking place - unless, I am still executing this code too early, and need to listen for another event. Still, I thought CreationComplete or Initialize only fired off, when pretty much everything on the Control was 100% instantiated. Am I properly using the AS Bindings, or is there something else I am missing? Thanks in advance for your help, Mike
[flexcoders] warning: multiple describeType entries for 'selectedItem'
I have a combobox that is extended from mx.controls.ComboBox. When I bind the selectedItem of it using mx.bindingUtils, I get the warning msg below: warning: multiple describeType entries for 'selectedItem' on type 'x.y.z::myComboBox': accessor name=selectedItem access=readwrite type=Object declaredBy=mx.controls::ComboBase The binding works but obviously I am doing something wrong. Could someone shed some light on it? Thanks, Libby
[flexcoders] Binding ComboBox that has no dataProvider yet
I notice that if you use mx.binding tags in your mxml, you can bind a comboBox prior to it having any data in it. When I try to do this from actionscript using mx.bindingUtils, I get a null object reference on the selectedItem. Once I set the dataProvider, then binding works no problem. I was wondering if anyone knows how this null reference situation is being handled in the binding tag? Maybe I shouldn't be binding to selectedItem, but to something else? Thanks, Libby
[flexcoders] Re: Flex 2 - Event after a screen is fully constructed, but before it can be see
Anybody? Is this too hard to help with, or so easy I shouldn't have wasted u guys time with it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: Hello flexSperts : ) I want to do some prep work within my screen that requires all parts of it to be constructed first. Is there a built-in event that fires just before the screen is visible, but guarantees all parts are constructed, that I could listen for? Maybe it occurs right after I addChild() to my viewStack? If so, what would that event be? If not, how do you guys handle this situation? Thanks, Libby
[flexcoders] Flex 2 - Event after a screen is fully constructed, but before it can be seen
Hello flexSperts : ) I want to do some prep work within my screen that requires all parts of it to be constructed first. Is there a built-in event that fires just before the screen is visible, but guarantees all parts are constructed, that I could listen for? Maybe it occurs right after I addChild() to my viewStack? If so, what would that event be? If not, how do you guys handle this situation? Thanks, Libby
[flexcoders] Example in Adobe® Flex 2 Language Reference doesn't compile....
In Adobe® Flex 2 Language Reference, the entry for Class DateField, this example is at the bottom (click on Examples). It won't compile, giving an error on the line where DateField is being cast in the change event. The error is 1119: Access of possibly undefined property selectedDate through a reference with static type DateField. I have tried unsuccessfully to understand what is wrong here - could someone tell me how Adobe expected this example to work? (I get this error all the time when casting stuff). Here's the code, ver batim: ?xml version=1.0 encoding=utf-8? !-- Simple example to demonstrate the DateField control. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ // Event handler for the DateField change event. private function dateChanged(date:Date):void { if (date == null) selection.text = Date selected: ; else selection.text = Date selected: + date.getFullYear().toString() + '/' + (date.getMonth()+1).toString() + '/' + date.getDate(); } ]] /mx:Script mx:DateFormatter id=df/ mx:Panel title=DateField Control Example height=75% width=75% paddingTop=10 paddingLeft=10 paddingRight=10 mx:Label width=100% color=blue text=Select a date in the DateField control. Select it again to clear it./ mx:Label text=Basic DateField:/ mx:DateField id=dateField1 yearNavigationEnabled=true change=dateChanged(DateField(event.target).selectedDate) / mx:Label id=selection color=blue text=Date selected: / mx:Label text=Disable dates before June 1, 2006./ mx:DateField id=dateField2 yearNavigationEnabled=true disabledRanges={[ {rangeEnd: new Date(2006, 5, 1)} ]} / mx:Label color=blue text=Date selected: {df.format(dateField2.selectedDate)}/ /mx:Panel /mx:Application
[flexcoders] Never Mind! Re: Example in Adobe® Flex 2 Language Reference doesn't compile....
I will repost my _real_ problem shortly --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In Adobe® Flex 2 Language Reference, the entry for Class DateField, this example is at the bottom (click on Examples). It won't compile, giving an error on the line where DateField is being cast in the change event. The error is 1119: Access of possibly undefined property selectedDate through a reference with static type DateField. I have tried unsuccessfully to understand what is wrong here - could someone tell me how Adobe expected this example to work? (I get this error all the time when casting stuff). Here's the code, ver batim: ?xml version=1.0 encoding=utf-8? !-- Simple example to demonstrate the DateField control. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ // Event handler for the DateField change event. private function dateChanged(date:Date):void { if (date == null) selection.text = Date selected: ; else selection.text = Date selected: + date.getFullYear().toString() + '/' + (date.getMonth()+1).toString() + '/' + date.getDate(); } ]] /mx:Script mx:DateFormatter id=df/ mx:Panel title=DateField Control Example height=75% width=75% paddingTop=10 paddingLeft=10 paddingRight=10 mx:Label width=100% color=blue text=Select a date in the DateField control. Select it again to clear it./ mx:Label text=Basic DateField:/ mx:DateField id=dateField1 yearNavigationEnabled=true change=dateChanged(DateField(event.target).selectedDate) / mx:Label id=selection color=blue text=Date selected: / mx:Label text=Disable dates before June 1, 2006./ mx:DateField id=dateField2 yearNavigationEnabled=true disabledRanges={[ {rangeEnd: new Date(2006, 5, 1)} ]} / mx:Label color=blue text=Date selected: {df.format(dateField2.selectedDate)}/ /mx:Panel /mx:Application
[flexcoders] Flex 2 - Locate a document within a document
I have a viewstack that has as children some complex mxml objects. I would like to get a reference to a named object on one of those children. I have tried all the relevant DisplayObject and DisplayObjectContainer methods on the return value from ViewStack.getSelectedItem() but no luck. Could someone give me a hint, or a tiny example? Thanks, Libby
[flexcoders] ViewStack.addChild() / createChild()
Hello In 1.5 I was adding complex components to a viewstack by doing addChild(nameOfMXMLObject). This of course does not work in Flex 2.0. I have been trying unsuccessfully to do viewStack.createChild(nameOfMXMLObject). Should this be working or what is the correct method to dynamically add children to a viewstack in 2.0? Thanks, Libby -- 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] FB2 - How do you open an existing project not defined to your client?
I want someone else to open my project on the remote server. In an eclipse java app I could accomplish this by exporting the project and having them import it. So far in FB2 I am not successful... Thanks, Libby -- 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] FlexBuilder 2.0 - null pointer exception when you try to create a new project
This is happening to multiple developers when they try to create a new Flex Project on the shared server. Flex Builder takes you thru the entire dialog, then when you click OK, churns for a minute, then pops up a message - Failed to create project and in the details it helpfully says java.lang.nullpointer exception. Has anyone else encountered this, and if so, how did you fix it? It feels like there is a flag turned on or off somewhere in the flex server installation... Thanks, Libby -- 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] A file found in a source-path must have the same package structure
I am attempting to migrate a very big Flex 1.5 project and this is one of the issues I am hitting. I have stripped out all of the files in the package, and all of the code in the offending file, but still get this message. I can only assume that I am not understanding what package structure FlexBuilder is looking for. I am not using scripts to compile, only FB. I looked in Flex_config.xml and there is no reference to my files, just the lines below: !-- list of path elements that form the roots of ActionScript class hierarchies -- source-path path-element./user_classes/path-element /source-path !-- list of SWC files or directories that contain SWC files -- library-path path-element./user_classes/path-element path-element./libs/path-element path-element./locale/{locale}/path-element /library-path Do the packages need to be under the [source path] user_classes folder? Mine are in their own package structure, in WebContent, beside this [source path] user_classes entry. So in FB my application looks like this: FlexProject - [source path] user_classes --- add_your_as_and_swc_files_here - folder1 - - folder2 - - - folder3 - - - - folder4 - - - - - folder5 [contains .as files] - - - - - folder6 [contains .as files] - - - - - folder7 [contains .as files] - - - - - folder8 [contains .mxml files] appName.mxml Is there a tutorial somewhere that describes how to set up a structured project using actionscript files, or could someone steer me in the right direction here? Thanks, Libby -- 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] Re: A file found in a source-path must have the same package structure
Yeah, me too. I have confirmed (about 10 times) that everything has been converted... -- 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] Flex 2 - WARNING: Cannot set header. Response already committed.
I just installed Flex 2 on WebSphere 6. While doing the lessons in the introductory tutorial, I keep see the message above in the server log. Has anyone else see this, what does it mean, and how do I get rid of it? Thanks, Libby -- 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] FlexBuilder 2.0 SDK plugin with IBM RAD 6.0?
Has anyone tried to install the plugin to RAD 6.0? When I try it tells me wrong eclipse version. It looks like my RAD eclipse version is 3.0.2, but RAD 6.0 is IBM's latest and greatest. Maybe someone could tell me how to install it successfully? Am I gonna have to run two versions of eclipse? : | Thanks, Libby -- 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] Exiting or transferring out of Flash Player
Flex 1.5 I know this is heresy to you guys : ) but I was wondering if there is a way to shut down the currently running Flex app without closing the browser (preferred), or programatically closing the browser from within the Flex app? Currently I am trying to redirect to a jsp, and I get an exception from the gateway, Request received was not Flash-based (not of the binary AMF protocol). Thanks, Libby Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/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/
[flexcoders] Re: Exiting or transferring out of Flash Player
That was it. Thank you. Is it possible to send this command from the server side, through the flash gateway, in order not to have the URL coded in the client? --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: mx.core.Application.getURL ( serverURL, _self); ...I think it's _self... not sure. Anyway, try that. - Original Message - From: Libby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 10, 2006 3:42 PM Subject: [flexcoders] Exiting or transferring out of Flash Player Flex 1.5 I know this is heresy to you guys : ) but I was wondering if there is a way to shut down the currently running Flex app without closing the browser (preferred), or programatically closing the browser from within the Flex app? Currently I am trying to redirect to a jsp, and I get an exception from the gateway, Request received was not Flash-based (not of the binary AMF protocol). Thanks, Libby -- 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 ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
[flexcoders] Re: Syntax for using mx:Binding Tag with ComboBox.selectedItem.data?
Anybody? Maybe an example exists somewhere? I haven't been able to find any complete examples utilizing mx:binding tags or coupling them with comboboxes. Maybe binding tags are a no-no??? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I am trying to use a mx:Binding tag to collect the user's selection and put it into a model. No matter how I style the syntax, Flex gives me the unknown property warning. Could someone tell me what I am doing wrong, specifically: how to code this so the Binding tag handles the changes? I know I can write a function to collect the change and put the outcome into a bound variable, but I am trying to avoid scriplets in the .mxml files. Below is my code: mx:Binding source=myComboBox.selectedItem.data destination=modelObject / Thanks, Libby Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/
[flexcoders] Syntax for using mx:Binding Tag with ComboBox.selectedItem.data?
I am trying to use a mx:Binding tag to collect the user's selection and put it into a model. No matter how I style the syntax, Flex gives me the unknown property warning. Could someone tell me what I am doing wrong, specifically: how to code this so the Binding tag handles the changes? I know I can write a function to collect the change and put the outcome into a bound variable, but I am trying to avoid scriplets in the .mxml files. Below is my code: mx:Binding source=myComboBox.selectedItem.data destination=modelObject / Thanks, Libby Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/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/
[flexcoders] Re: Authentication with Macromedia Flex
Any news on the article? Inquiring (desperate) minds want to know --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: Are you talking about our article? It will be for Flex 2.0 but will be 100% compatible with Flex 1.5. There is no date yet but I see it coming out pretty soon. I know we have at least 2 UI best practices articles coming out first but this particular article was very well received so I'm sure it will be coming out soon. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oriol Gual Sent: Sunday, March 12, 2006 4:57 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex Any news on the article, it will be for 1.5 or 2.0 ? 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 Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . -- 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.
[flexcoders] Flex 1.5 Standard config Flex-error setup not working...
When I have an error in my application, the server attempts to use the error-page definitions provided by Flex in my web.xml and flex.jar files. But, it fails with the following error: The server cannot use the error page specified for your application because of the exception printed below. Error Page Exception: : com.ibm.ws.webcontainer.webapp.WebAppErrorReport: HTTP method POST is not supported by this URL Can someone perhaps tell me what I need to change? Below are the pertinent entries from the web.xml as supplied by macromedia. Thanks, Libby servlet servlet-nameFlexErrorServlet/servlet-name servlet-classflex.bootstrap.BootstrapServlet/servlet-class init-param param-nameservlet.class/param-name param-valueflex.compiler.ErrorPageServlet/param-value /init-param /servlet error-page error-code403/error-code location/flex-error/location /error-page -- 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] Re: Flex 1.5 - How do you tell a validator about an nested TextInput?
OK, that worked. Up to now I could never understand how the listener property on validator worked, based on the 1.5 documentation. Thanks for helping me learn something. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You should be able to specify the listener property on the Validator to point to that TextInput. I would have hoped the binding would have figured that out for you automatically, but sometimes it can't. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Friday, April 14, 2006 1:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5 - How do you tell a validator about an nested TextInput? I have a .mxml file which contains a TextInput. Then that object is within a FormItem on another .mxml page. When I declare my validators on the main page, they work for all my TextInputs, but the embedded one does not get the red frame and tooltip on validation failure. The validation runs and I get a popup with the error, but no red frame, etc. like all its' buddies on the screen. I am using mx:Binding source=FormItem.embeddedTextInput.text and mx:Validator field=myModelField How do I hook up the embedded textInput to validator so it know to turn its frame red, tec. Thanks, Libby -- 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] Flex 1.5 - Is it possible to pass in an argument to a validator constructor?
My goal is to provide the pretty name of the field for use in the eventual error message. I was thinking I saw how to do this on this list several months ago, but so far my search for that topic has come up empty. Thanks, Libby -- 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] Re: Flex 1.5 - How do you tell a validator about an nested TextInput?
Can anyone tell me anything at all to help me do this?? Please??? Thanks, Libby --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I have a .mxml file which contains a TextInput. Then that object is within a FormItem on another .mxml page. When I declare my validators on the main page, they work for all my TextInputs, but the embedded one does not get the red frame and tooltip on validation failure. The validation runs and I get a popup with the error, but no red frame, etc. like all its' buddies on the screen. I am using mx:Binding source=FormItem.embeddedTextInput.text and mx:Validator field=myModelField How do I hook up the embedded textInput to validator so it know to turn its frame red, tec. Thanks, Libby -- 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] Flex 1.5 - How to Dynamically Size Text Control?
I have a Text control (in a VBox with other controls) that sometimes has a long multi-line message other times has a short single line one. I can make the control taller by extending the height= property. But later, when I change height to a smaller number, the control does not change to the smaller size. I have tried things like LayoutManager.invalidateSize(), etc. but nothing works. Could someone point me in the right direction or perhaps provide a link to an example? Also I want the Text control's minimum width to be the same as the other controls in the VBox, even if it is empty. Flex insists on making the width just a few bytes wide, even if I put width=100%. Any pointers on handling this would be much appreciated. Thanks, Libby -- 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] Flex 1.5 - When IsStructureValid()==False, where to find all the error messages
Hello, I am using IsStructureValid()on my forms with multiple validators. Now the user would like to log all the validation error messages. After studying the Flex documentation, I am confuseder than ever. When multiple validation errors have occurred (after IsStructureValid()returns false), aren't all the errors accumulated somewhere where I can get to them, or would I have to poll each individual validator? Thanks, Libby -- 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] Re: Is there a way to change the default error color of the TextInput border?
OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? Right now it is Red. Where are the default stylesheets where StyleManager is getting its information? I have searched the hard drive for a file containing ErrorTip and found nothing. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/23/06, Jason Y. Kwong [EMAIL PROTECTED] wrote: Sorry, I thought you meant Flex 2. I haven't used Flex 1.5 so I'm not much help there. In 1.5: StyleManager.styles[ErrorTip].setStyle(borderColor, 0x00FF00); Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Re: Is there a way to change the default error color of the TextInput border?
Thanks, Manish That has the same effect as the previous code, it changes the color of the ToolTip (error message) but not the border of the TextInput. I think I need to subclass the TextInput in order to get to the appropriate style property / attribute. However, I do not know what the appropriate style attribute is at this point. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/23/06, Libby [EMAIL PROTECTED] wrote: OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? I did a quick Google search and found this: http://www.asfusion.com/blog/entry/using-global-css-in-your-cfform _global.styles.ErrorTip.setStyle( borderColor, 0x339900); _global.styles.ErrorTip.setStyle( color, 0x00); Try it. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] problem with the newsgroup search?
would someone go to this link and do a search and see if u also get an error like me? (I thought maybe a firewall problem or something). http://www.mail-archive.com/flexcoders@yahoogroups.com/ Thanks, Libby -- 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] Flex 1.5 - Looking for an example of using ValidationFailedEvent class
Hello, I am looking for an example of listening for the ValidationFailedEvent. If I understand it correctly, I should be able to listen for this event and if any or all fields on my form fail validation I can obtain all the errors at once in the errors array after executing isStructureValid(). Is this how it works? Thanks, Libby -- 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] Re: problem with the newsgroup search?
Mainly because repeatedly getting this from yahoo: Partial search completed. Your search timed out before any results matching your search were found. Find more results for this search by clicking the button below. is a major waste of time. --- In flexcoders@yahoogroups.com, dos dedos [EMAIL PROTECTED] wrote: It looks like they're having some temporary issue with the server Why don't you use the search function at http://groups.yahoo.com/mygroups/flexcoders ? Libby [EMAIL PROTECTED] wrote: would someone go to this link and do a search and see if u also get an error like me? (I thought maybe a firewall problem or something). http://www.mail-archive.com/flexcoders@yahoogroups.com/ Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com - YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. - - Yahoo! Mail Use Photomail to share photos without annoying attachments. -- 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] Is there a way to change the default error color of the TextInput border?
I've been messing with StyleName, borderColor, errorColor to no avail. Nothing I do changes the red border. If this attribute is not modifiable, is it possible to extend the TextInput in order to get to the errorColor? If so, any hints? Thanks, Libby -- 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] Re: Is there a way to change the default error color of the TextInput border?
Is this code Flex 2.0? My StyleManager (v1.5) doesn't seem to have the method getStyleDeclaration(). Thanks, Libby --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: It's controlled by a global style as it's not specific to the TextInput component: mx:Style .ErrorTip { borderColor: #00FF00 } /mx:Style or StyleManager.getStyleDeclaration(ErrorTip).setStyle(borderColor, 0x00FF00); On 3/22/06, Libby [EMAIL PROTECTED] wrote: I've been messing with StyleName, borderColor, errorColor to no avail. Nothing I do changes the red border. If this attribute is not modifiable, is it possible to extend the TextInput in order to get to the errorColor? If so, any hints? Thanks, Libby -- 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] Flex 1.5 - Use SQL Server SELECT FOR XML as Data Model?
Hello, I would like to create a flat file using output from a SQL Server 2000 query Select As XML to use in building a datagrid during development. However, so far Flex does not like the output because the nodes are not closed the way Flex expects them in a Data Model. Is there any example anywhere of how to save XML output and use it as a data provider to a Flex control? Thanks, Libby -- 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] Re: Flex 1.5 - Use SQL Server SELECT FOR XML as Data Model?
That was exactly what I needed. Thank you so much. The elements clause does not even show up in my SQL help. --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: ROOT xmlns:sql=urn:schemas-microsoft-com:xml-sql sql:query SELECT *, dbo.Orders.OrderDate AS Expr1, dbo.Orders.RequiredDate AS Expr2, dbo.Orders.ShippedDate AS Expr3 FROM dbo.Customers INNER JOIN dbo.Orders ON dbo.Customers.CustomerID = dbo.Orders.CustomerID FOR XML AUTO,ELEMENTS /sql:query /ROOT notice the for xml auto, elements That will give you a properly formated xml for flex. just add it to the end of your query. hope this helps jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Libby Envoyé : lundi 20 mars 2006 18:23 À : flexcoders@yahoogroups.com Objet : [flexcoders] Flex 1.5 - Use SQL Server SELECT FOR XML as Data Model? Hello, I would like to create a flat file using output from a SQL Server 2000 query Select As XML to use in building a datagrid during development. However, so far Flex does not like the output because the nodes are not closed the way Flex expects them in a Data Model. Is there any example anywhere of how to save XML output and use it as a data provider to a Flex control? Thanks, Libby -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Flex 1.5 - Automatically Lengthen dataGrid based on #rows
Hello, Is it possible to have a DataGrid that is a minimum fixed size, but gets ever longer based on the number of rows provided to it? I basically need to NOT have a scroll bar on the DG, but instead scroll the whole browser window when necessary. In the Webster RIA book they alluded to it with the now deprecated heightFlex attribute, but experimenting with the replacement height attribute is not producing the desired result. Is there perhaps an example somewhere that you guys could point me to? Thanks, Libby -- 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] How can you make an object not Draggable?
First, thank you people on this group for helping me so much. Another five years I should be an ace Flex Coder : ) I need to prevent a titlewindow from being drug around. I can't find any properties that would prevent this so I guess I would need to intercept mouseDown() on it and . do what? I need to allow the click event, and somehow need to know that the user has begun to drag the window, like a dragBegin event. Thanks, Libby -- 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] How do you reference an object to get attributes for a tag?
I wanna do something like this: mx:Label text = a dynamic custom object / So far I have not hit upon the magic combination through research and trial and error : ( Thanks, Libby -- 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] Syntax question about conditional expressions
Flex 1.5 Is there a way to do this: value = funct1()returns Boolean ? funct2(); true : false; in other words, can you do a function on the true side that returns nothing, then somehow either return true for your value, or set your value to true? of course I can do IF statements instead of this, I am just playing with the conditional statement. Thanks, Libby -- 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] Can CSS Inheritance be Controlled?
I would like to insert some Links in a LinkBar that do not inherit the textDecoration attribute from the parent LinkBar. Setting the individual Links textDecoration has no effect, they all use the parent's attribute. Would anyone have any idea how to do this? Maybe somebody from Adobe/MM could provide a suggestion? Thanks, Libby -- 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] Re: Flex 1.5 - How to Set Link Object to look selected
Ok, I think the problem I am up against here is that the children (Links) are inheriting the parent LinkBar's style on textDecoration. Could someone tell me how to override the style only on certain Link Objects, maintaining the parent's style on the other ones? I am setting a new stylename on the children I want to change, but the change doesn't happen. When I do this on a separate Link, the style changes as expected, but if I do it on a child Link of the LinkBar, it does not change. Please, please give me some suggestions as this simple thing is driving me nutty! Thanks, Libby --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Hi Libby, If you've managed to control the Link and hijack the click event etc, why don't you try Link.setStyle(textDecoration, underlined); you will have to build the logic to set the textDecoration back to none when another link is clicked, but this will get you started ;-) cheers, Andrew Spaulding Adobe Systems --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I have extended the LinkBar class and dynamically create children from Link objects within it. When a Link is clicked, I would like to have the color change and stay changed, or some other change occur so I know which Link was clicked. Underlining the Label text would be fine if I could figure out how to do it. I have tried Link.setStyle(selected,true); and messed with the entries below in my styleSheet, along with many other attempts. selection-color:#00FF00; selected-fill-colors: #00FF00; symbol-background-pressed-color:#FF; text-selected-color:#FF00FF; Could someone please give me some idea of how to do this? Thanks, Libby -- 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] Re: Flex 1.5 - How to Set Link Object to look selected
Hi, Andrew! Well, your suggestion doesn't work... Link.setStyle(textDecoration, underlined); has no effect on the single Link. However, LinkBar.setStyle(textDecoration, underlined); causes all the Links to be underlined. I do not understand why...maybe it has something to do with style inheritance? --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Hi Libby, If you've managed to control the Link and hijack the click event etc, why don't you try Link.setStyle(textDecoration, underlined); you will have to build the logic to set the textDecoration back to none when another link is clicked, but this will get you started ;-) cheers, Andrew Spaulding Adobe Systems --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I have extended the LinkBar class and dynamically create children from Link objects within it. When a Link is clicked, I would like to have the color change and stay changed, or some other change occur so I know which Link was clicked. Underlining the Label text would be fine if I could figure out how to do it. I have tried Link.setStyle(selected,true); and messed with the entries below in my styleSheet, along with many other attempts. selection-color:#00FF00; selected-fill-colors: #00FF00; symbol-background-pressed-color:#FF; text-selected-color:#FF00FF; Could someone please give me some idea of how to do this? Thanks, Libby -- 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] Flex 1.5 - How to Set Link Object to look selected
I have extended the LinkBar class and dynamically create children from Link objects within it. When a Link is clicked, I would like to have the color change and stay changed, or some other change occur so I know which Link was clicked. Underlining the Label text would be fine if I could figure out how to do it. I have tried Link.setStyle(selected,true); and messed with the entries below in my styleSheet, along with many other attempts. selection-color:#00FF00; selected-fill-colors: #00FF00; symbol-background-pressed-color:#FF; text-selected-color:#FF00FF; Could someone please give me some idea of how to do this? Thanks, Libby -- 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] Re: Null vs undefined vs
Setting var = undefined has no effect. They are part of a class object being sent thru the gateway so maybe that is why. Some objects in the parent object may be null while others may not be. I will try deleting the ones that need to be null and see what happens. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What happens when you set the variable = undefined? I would have expected this to work. If you delete a variable: delete myVar; then try to access it, it returns undefined. Maybe you could use that behavior. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Wednesday, January 11, 2006 5:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Null vs undefined vs Hello people! This question is about Flex 1.5. My app passes some String vars thru the Flex gateway to Java. When the var = undefined on the Flex side, it translates to null on the java side, which is great. When the var = (null String) on the flex side, it translates to a String() on the java side, which ain't null. I would like to check for on the Flex side and convert those values to something that translates thru the gateway as a null object, but so far I can't get it to happen. Values are only undefined before they are used; once used and cleared out, they become and can evidently never be set back to undefined again. So my actual question is, what can I set the object to be that will translate as null going thru the gateway? I have tried: setting them to undefined; setting myVar = null; setting myVar = x (an undefined variable); several other combinations. Thanks, Libby -- 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] Null vs undefined vs
Hello people! This question is about Flex 1.5. My app passes some String vars thru the Flex gateway to Java. When the var = undefined on the Flex side, it translates to null on the java side, which is great. When the var = (null String) on the flex side, it translates to a String() on the java side, which ain't null. I would like to check for on the Flex side and convert those values to something that translates thru the gateway as a null object, but so far I can't get it to happen. Values are only undefined before they are used; once used and cleared out, they become and can evidently never be set back to undefined again. So my actual question is, what can I set the object to be that will translate as null going thru the gateway? I have tried: setting them to undefined; setting myVar = null; setting myVar = x (an undefined variable); several other combinations. Thanks, Libby -- 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] Need Help with Complex Array Syntax
I am trying to create an array of Objects and each is a different class. Is it possible to create the array while telling the class type of each object? On a plain old single Object instantiation you might do this: public var x:xClass; x = new xClass(); I am trying to create an array of these objects (below), but Flex doesn't like my : syntax in the array definition. What am I doing wrong? public var myArray:Array = new Array(x:xClass,y:yClass,z:zClass); myArray[0] = new xClass(); Thanks for your help, Libby -- 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] Is there a way to find out the instance name of an anonymous object?
I have reading the doco for AS2lib / reflection and have found how I can get the class name. With the class name I can create a new Instance. I would like to get the instance name of the original object so that I can assign it to the new instance. Something like this: // this is pseudocode var s = existingObject.getName(); var x = class.forName(s).newInstance(); existingObject = instanceNameIfIJustKnewIt(x); Any suggestions would be great. Thanks, Libby Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flash Player v8 Debug Version?
My company forced FP8 onto our workstations and now my Flex 1.5 debugger no longer works. I have searched this group and also MM/Adobe site looking for references to FP8 debug version, and have found some references, but no download links. Is there such a player yet, if so, where do I get it? Thanks, Libby Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cairngorm Question about the Store Example
In GraphicalProductListViewHelper.as, there is this line: view.dispatchEvent( { type:select } ); In the view, which is GraphicalProductList.mxml, it advertises that it broadcasts this event: mx:Metadata [Event(select)] /mx:Metadata Where is this event actually caught or handled? I have read thru all the files several times and cannot find it. The reason I am looking is that in my Master/Detail screen, when Master updates the Model, the Detail, that is bound to the model, doesn't notice it. I think I need to broadcast that a change has occurred, they way they did. thanks, Libby Yahoo! Groups Sponsor ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] 2 Easy questions - fields that begin with '_' and location of javadoc
2 Easy Questions for you experts that have been nagging at me: 1. Is it safe to refer to fields that begin with a '_', or are these names subject to arbitrary change at some point by MM/Adobe? 2. Is the javadoc for built-in classes such as Array and String contained somewhere in the javadoc that is loaded on our hard drive, or do you always have to go out to FlexDocs to see it? If it is on the HD, what is the path to it? I can't find it in the ActionScript 2.0 / MXML Tag doc. Thanks, Libby Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: 2 Easy questions - fields that begin with '_' and location of javadoc
Wow! no wonder I couldn't find the answer. My friends are all stumped too. --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: 2 Easy Questions for you experts that have been nagging at me: 1. Is it safe to refer to fields that begin with a '_', or are these names subject to arbitrary change at some point by MM/Adobe? 2. Is the javadoc for built-in classes such as Array and String contained somewhere in the javadoc that is loaded on our hard drive, or do you always have to go out to FlexDocs to see it? If it is on the HD, what is the path to it? I can't find it in the ActionScript 2.0 / MXML Tag doc. Thanks, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Does Flex utilize the keyword: abstract?
I guess not since I can't find it anywhere, but thought I would ask you gurus to be sure... would like to do this: abstract public function foo():Void; Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cast Object Name from string then do object.function() - is it possible?
In Flex is there a way to pass an object name into a method and then cast that name to another object in order to execute a method on that object ? foo(myMxmlObjectName); function foo(object1:String) { var objectA:UIComponent; objectA = object1(ViewStack.getChildAt(0)); objectA.bar(); } Thanks, Libby Yahoo! Groups Sponsor ~-- 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/WpTY2A/izNLAA/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/
[flexcoders] Re: Cast Object Name from string then do object.function() - is it possible?
Since Flex' compiler thinks objectA is just a vanilla Object, it complains that bar() is an unknown method. That was why i needed to cast the real object to ObjectA. So how do I get this to work without importing every one of the hundred mxml files that could get passed in? --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: You don't need to cast via a function, you can do that already. While this works: objectA = ViewStack.getChildAt(0); objectA.bar(); Since Flex' compiler thinks objectA is just a vanilla Object, thus can't imply it's type. However, if you want strict-typing, you can do: objectA = object1(ViewStack.getChildAt(0)); objectA.bar(); This assumes object1 is an imported class. - Original Message - From: Libby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 07, 2005 1:00 PM Subject: [flexcoders] Cast Object Name from string then do object.function() - is it possible? In Flex is there a way to pass an object name into a method and then cast that name to another object in order to execute a method on that object ? foo(myMxmlObjectName); function foo(object1:String) { var objectA:UIComponent; objectA = object1(ViewStack.getChildAt(0)); objectA.bar(); } Thanks, Libby -- 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 ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cast Object Name from string then do object.function() - is it possible?
OK so if I want to do strict typing, there is not a way to pass in the class name I want to cast ObjectA to, then create the class template, and then cast it (the template) to ObjectA? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Type objectA as Object instead of UIComponent. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Wednesday, December 07, 2005 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cast Object Name from string then do object.function() - is it possible? Since Flex' compiler thinks objectA is just a vanilla Object, it complains that bar() is an unknown method. That was why i needed to cast the real object to ObjectA. So how do I get this to work without importing every one of the hundred mxml files that could get passed in? --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: You don't need to cast via a function, you can do that already. While this works: objectA = ViewStack.getChildAt(0); objectA.bar(); Since Flex' compiler thinks objectA is just a vanilla Object, thus can't imply it's type. However, if you want strict-typing, you can do: objectA = object1(ViewStack.getChildAt(0)); objectA.bar(); This assumes object1 is an imported class. - Original Message - From: Libby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 07, 2005 1:00 PM Subject: [flexcoders] Cast Object Name from string then do object.function() - is it possible? In Flex is there a way to pass an object name into a method and then cast that name to another object in order to execute a method on that object ? foo(myMxmlObjectName); function foo(object1:String) { var objectA:UIComponent; objectA = object1(ViewStack.getChildAt(0)); objectA.bar(); } Thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups
[flexcoders] Could someone point me to an example of validator.hasErrors()
I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Could someone point me to an example of validator.hasErrors()
I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Could someone point me to an example of validator.hasErrors()
Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: In 1.5 you can only access the validator instance in the validate event handler, so that's where you'd need to do your work. mx:StringValidator field=... validate=myButton.enabled = !event.validator.hasErrors() / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could someone point me to an example of validator.hasErrors() I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Question about Enable / Disable Validator
What if you have several documents of the same name open? Would you have instantiated a viewHelper for each one? Otherwise when referring to the document by name from the viewHelper, how would you know which open document you are actually addressing? --- In flexcoders@yahoogroups.com, Michael Herron [EMAIL PROTECTED] wrote: From a cairngorm View Helper you should usually use syntax like: mx.validators.Validator.disable(view, modelName.elementName); There isn't really a current document in flex, the first argument you need to provide is just a reference to the document that the mx:Model you are validating against was declared on. So from a view helper, the 'view' property does this. -Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Tuesday, November 15, 2005 6:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Question about Enable / Disable Validator Ok, further testing makes me think that my pointer to the current document is not always good. I am getting it by using mx.application.application.objectName.objectName... Is this the wrong way to do this, is there a better way to get to the current document? I apologize if this is a dumb question as I am pretty new to Flex development. Thanks, Libby --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I am disabling the right one, but that's all I am doing. It seems to me I need to do something to tell flex to repaint the screen, which would then remove the red border since the validator is not being invoked. Is this wrong? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, disabling the validator usually does clear any borders, you sure you disabled the right one? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, November 14, 2005 5:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about Enable / Disable Validator If you have a validator enabled and an error has been thrown (the field is red border), then you disable the validator, the border stays red. How can you force the red border to go away after you disable the validator? Somehow you need to repaint the screen...? Thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . -- 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 http://groups.yahoo.com/gads
[flexcoders] Two ViewStack Questions - easy for you guys : )
Is there a way to identify the object returned by viewStack.getChildAt()?. I get a complex object back that could be one of many objects; id is not valid. Also, when does the view.unload() run? I would have thought it runs when I do viewStack.destroyChildAt(i), but either it doesn't or it doesn't like me and my listener. Thanks, Libby Yahoo! Groups Sponsor ~-- Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/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/
[flexcoders] Re: Question about Enable / Disable Validator
I am disabling the right one, but that's all I am doing. It seems to me I need to do something to tell flex to repaint the screen, which would then remove the red border since the validator is not being invoked. Is this wrong? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, disabling the validator usually does clear any borders, you sure you disabled the right one? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, November 14, 2005 5:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about Enable / Disable Validator If you have a validator enabled and an error has been thrown (the field is red border), then you disable the validator, the border stays red. How can you force the red border to go away after you disable the validator? Somehow you need to repaint the screen...? Thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . 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/
[flexcoders] Re: Question about Enable / Disable Validator
Ok, further testing makes me think that my pointer to the current document is not always good. I am getting it by using mx.application.application.objectName.objectName... Is this the wrong way to do this, is there a better way to get to the current document? I apologize if this is a dumb question as I am pretty new to Flex development. Thanks, Libby --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I am disabling the right one, but that's all I am doing. It seems to me I need to do something to tell flex to repaint the screen, which would then remove the red border since the validator is not being invoked. Is this wrong? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, disabling the validator usually does clear any borders, you sure you disabled the right one? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, November 14, 2005 5:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about Enable / Disable Validator If you have a validator enabled and an error has been thrown (the field is red border), then you disable the validator, the border stays red. How can you force the red border to go away after you disable the validator? Somehow you need to repaint the screen...? Thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . 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/
[flexcoders] Question about Enable / Disable Validator
If you have a validator enabled and an error has been thrown (the field is red border), then you disable the validator, the border stays red. How can you force the red border to go away after you disable the validator? Somehow you need to repaint the screen...? Thanks, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Programatically Setting DataProvider - Help!
I have an mxml component whose data source needs to change dynamically. In my .as file I successfully get a reference to it via getChild(); It appears in the debugger that I am successfully switching the dataProvider, but the change never appears on the screen. So what am I missing here, or what is the right way to do this? We want minimal code in the mxml components (like JSP with MVC); Do I need to hardcode a reference to the dataProvider into the mxml component in order for the ChangeEvent to be triggered? thanks, Libby 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/
[flexcoders] Can you hardcode a debug breakpoint in flex scripts?
Some programming environments (like Powerbuilder) allow you to put a statement into your script like debugBreak(), which allows execution to stop at that point (in debug mode) every time until such time as you delete the statement. Since Flexbuilder is always helpfully deleting my breakpoints, this would be a real time saver. Is there such a thing built in? Thanks, Libby 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/
[flexcoders] Re: Usage of CreateClassObject CreateComponent
This works of course, using the Flex builtin objects. But how do I do this (instantiate) using a .mxml file containing instances of those builtin objects? I want to generate a portion of the screen at run time that was previously created as a .mxml file. Just before I generate it I will build the init object based on what is happening in the app. I am trying to do this using createChild and it runs but nothing paints on screen. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: mx:Script![CDATA[ import mx.controls.Button; function onInit() { createChild ( Button ); // or createClassObject ( Button, my_btn, getNextHighestDepth() ); } ]] /mx:Script - Original Message - From: Libby [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 26, 2005 2:49 PM Subject: [flexcoders] Usage of CreateClassObject CreateComponent Can you use these methods (CreateClassObject and/or CreateComponent) inside of a class to create a mxml compound object? It doesn't work for me but that doesn't mean much : ) If it is possible to do this, a snippet example would be very helpful as I have about given up. Thanks, Libby -- 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/
[flexcoders] Is it possible to dynamically create a compound object that is saved as .mxml
at run time? I am trying to do this using CreateComponent and the object never becomes visible. The .mxml file is a couple of containers containing a mix of standard and custom components - part of a screen. If you know how to do this please show me. Thank you, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to do constructor when extending Container
I am trying to extend the Canvas in an .as file, following the Rich Client book by Webster et al, of course mine is more complicated as it contains other components whose attributes need to be initialized. I need to pass some attributes in via the constructor. Could someone show me a code snippet that illustrates this, or tell me the right way to do it? Thanks, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: FlexBuilder Ghostly Image
The blue image is fluctuating, like it is in a loop. It is making the pc unstable... I think this is a bug. --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: My FB has become haunted or something... Starting in the last week, when I minimize it, a blue image stays on the screen for about 5 seconds before it disappears. Has anyone else experienced this, maybe did I inadvertently change something...? 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/
[flexcoders] Good code just stops working with no changes...
I have Model Binding set up so that when user clicks on a row in a datagrid, the row is copied to textfields on the screen for editing by the user. This works fine for several days, then, without changing anything, it just stops working. I try to run it thru the debugger and it appears that the model-related listeners are not being created as the code using the breakpoints is never even called. I also have validators on the file for the same model, and they will suddenly stop working. I think this is some kind of file compile time issue or something because sometimes I can go into the offending files and type a few spaces and save out of them, which causes everything to start working again. Other times this does not help. Has anyone encountered this and if so, what was your solution? It is driving me nuts!! : ) thanks, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Good code just stops working with no changes...
Yep, it sure sounds like it. I think I feel better, knowing it ain't just me causing this --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Might be the same thing people were discussing a few days ago: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg13518.html Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Thursday, September 29, 2005 5:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Good code just stops working with no changes... I have Model Binding set up so that when user clicks on a row in a datagrid, the row is copied to textfields on the screen for editing by the user. This works fine for several days, then, without changing anything, it just stops working. I try to run it thru the debugger and it appears that the model-related listeners are not being created as the code using the breakpoints is never even called. I also have validators on the file for the same model, and they will suddenly stop working. I think this is some kind of file compile time issue or something because sometimes I can go into the offending files and type a few spaces and save out of them, which causes everything to start working again. Other times this does not help. Has anyone encountered this and if so, what was your solution? It is driving me nuts!! : ) thanks, Libby -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/ . 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/
[flexcoders] Trying to compile with mxmlc - can't find JVM
Hello, I am trying to compile all my flex objects using mxmlc and I always get can't find JVM. I have edited my jvm.cfg and jvm.config files to no avail. Could someone with working mxmlc jobs post their versions of these files for me so I can see what dumb mistake I am making? I have j2sdk1.4.2.04 JVM on my machine in addition to eclipse. If I ever get it to work, I would like to invoke it via ant if anyone wants to take a stab at assisting me with that... Thanks, Libby 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/
[flexcoders] How to overload methods in Actionscript?
When I use same method name more than once (with additional arguments), Flex compiler says I can't use the same name more than once. Is this really true (Flex doesn't support method overloading?) or do I need to do something different? Thanks, Libby 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/
[flexcoders] Re: How to overload methods in Actionscript?
That makes perfect sense in lieu of function overloading. Thank you, Abdul. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, ActionScript doesn't support method overloading. Instead you can use following approach. function sayHello() { var n:Number = arguments.length; if(n==0) { alert(Hello World); } else if(n==1) { alert(Hello + arguments[0]); } else if(n==2) { alert(Hello + arguments[0] + + arguments[1]); } } //usage: sayHello(); sayHello(Abdul); sayHello(Abdul, Qabiz); You can access individual argument using arguments array. You can use typeof and instanceof to find the type of each argument and have a switch logic to perform different algorithm for different set of arguments. Does that make sense? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Thursday, September 15, 2005 7:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to overload methods in Actionscript? When I use same method name more than once (with additional arguments), Flex compiler says I can't use the same name more than once. Is this really true (Flex doesn't support method overloading?) or do I need to do something different? Thanks, Libby -- 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 ~-- 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/
[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?
No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?
I am trying to get a user message to display from within a validation class. When validation fails I want to retrieve the appropriate message so that it shows up in the default message display generated by Validator class. Thus, I do not know how I can bind to the mouseover message area from the view, it seems to me only the Validation class knows which field to bind to, at run time. Undoubtably this issue has been solved many times by you guys so please help me understand what I am doing --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote: I dont believe binding is a good use in the instance. What is the string in the class file used for? Is it used in displaying something? If so the value should probably be in the Model and bound to the View and not in a Class. Is it used for class logic? Probably better to take a step back and disect what you are trying to accomplish. One way (not necessarily good) is to pass a reference to a function in the class as a parameter of the Event object in the EventBroadcaster call. Then set this function reference in the execute method of the Command object to a private attribute. Then in the onResult method call use this attribute to return a call back to your class file with the data you want set. This is a lot of coupling and you really should look at what you are trying to accomplish before going this route. Renaun --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby 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/