[flexcoders] Re: Example of Object.isPrototypeOf ()
What exactly does it mean when the Flex doco says: This method returns true if the object is in the prototype chain of the object specified by the the Class parameter. What does prototype chain mean here? Sorry for my ignorance if this is a dumb question. And are you saying this is an obsolete method? --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Flex makes almost no use of AS3's old-style prototype-based inheritance; it uses the new class-based inheritance. If by descendant you mean instance of, use the 'is' operator: var b:Button = new Button(); trace(b is UIComponent); // -- true Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roscoe P Coltrane Sent: Thursday, February 14, 2008 6:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Example of Object.isPrototypeOf () Could someone give me a working or semi-working example of how/when to use isPrototypeOf()? I was thinking that I could query an object and if it was a descendent of another object, [the argument to isPrototypeOf()], the method would return true. Not so :) Obviously I don't understand the usage of this method. Thanks, Roscoe
[flexcoders] Example of Object.isPrototypeOf ()
Could someone give me a working or semi-working example of how/when to use isPrototypeOf()? I was thinking that I could query an object and if it was a descendent of another object, [the argument to isPrototypeOf()], the method would return true. Not so :) Obviously I don't understand the usage of this method. Thanks, Roscoe
[flexcoders] FlexBuilder Project Layout Help
Where does FB keep information about your workspaces? The reason I am wondering is because I have deleted my FB workspace from the file system but when I try to recreate it in FB, FB tells me the work space would overlap. It still thinks the old workspace is around. Maybe someone could tell me where to look to fix this : ) Thanks, Ros
[flexcoders] Re: FlexBuilder Project Layout Help
that was what I originally did and FB still thinks it is there. So now I can't recreate it... --- In flexcoders@yahoogroups.com, xmrcivicboix [EMAIL PROTECTED] wrote: You could simply go into the folder and physically delete the entire project folder that was there in the work space. This happens with you delete the work space and not the contents. Roscoe P Coltrane wrote: Where does FB keep information about your workspaces? The reason I am wondering is because I have deleted my FB workspace from the file system but when I try to recreate it in FB, FB tells me the work space would overlap. It still thinks the old workspace is around. Maybe someone could tell me where to look to fix this : ) Thanks, Ros -- View this message in context: http://www.nabble.com/FlexBuilder-Project-Layout-Help-tf3434904.html#a9576964 Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: FlexBuilder Project Layout Help - add'ntl info
This is the message I get from FB when I try to create a new workspace: C:\Projects\ProjA overlaps the workspace location: C:\Projects\ProjA However, ProjA was previously deleted. --- In flexcoders@yahoogroups.com, Roscoe P Coltrane [EMAIL PROTECTED] wrote: Where does FB keep information about your workspaces? The reason I am wondering is because I have deleted my FB workspace from the file system but when I try to recreate it in FB, FB tells me the work space would overlap. It still thinks the old workspace is around. Maybe someone could tell me where to look to fix this : ) Thanks, Ros
[flexcoders] Data Binding (I think) question
Using Flex 2 - I have extended ComboBox in an AS3 class. My plan is to use it a lot in several places and just programatically change the dataProvider in each of the places. It works as expected the first time I use it in a generated screen. Later I remove the screen, then still later I recreate the screen containing the combobox. This time the dataProvider still gets updated, but now no data is visible in the dropdown on the screen - it appears empty. I figure it needs to be rebound to the screen somehow, since I have verified I have data. However, I cannot figure out how to bind the instance of the combobox, and / or exactly what else in it besides the dataProvider, in such a way that the screen gets updated. Could someone give me some pointers, or at least some idea of what I am doing wrong? Thanks, Roscoe
[flexcoders] Re: Data Binding (I think) question
OK, what you put is exactly what I am doing, almost word for word. When i set my dataprovider to a new ArrayCollection - the first time it works fine, then after that it works but the new data does not appear in the combobox. All the bindings appear to fire, and the new data is in the backing ArrayCollection as seen from the debugger. However, on the screen the dropdown is now empty. Hence my thought that I somehow need to create or renew a binding between the combobox and the .mxml file (the screen) that it is nested in. I appreciate your help. Roscoe --- In flexcoders@yahoogroups.com, dmiramontesval [EMAIL PROTECTED] wrote: So if i got it right, you want a custom ComboBox on several screens and the only thing that is going to change is the dataProvider, right? I would do the following: 1. In your custom ComboBox declare a variable like this: private var _myDataProvider : Array; //or ArrayCollection, as you prefer 2. Create a getter and setter methods [Bindable] public function get myDataProvider() : Array { return _myDataProvider; } public function set myDataProvider(dp : Array) : void { _myDataProvider = dp; this.dataProvider = myDataProvider; } 3. In the application where you want to include the custom ComboBox, pass the dataProvider you want to use, like this: custom:CustomComboBox myDataProvider={DataProviderYouWantToUse}/ or var myCustomCB : CustomComboBox myCustomCB.myDataProvider = DataProviderYouWantToUse Please consider that DataProviderYouWantToUse is the array (or arrayCollection) that you want to use as dataProvider for your ComboBox. When setting the myDataProvider, the setter will be called and the dataProvider will be updated. Hope this helps you out --- In flexcoders@yahoogroups.com, Roscoe P Coltrane roscoe75028@ wrote: Using Flex 2 - I have extended ComboBox in an AS3 class. My plan is to use it a lot in several places and just programatically change the dataProvider in each of the places. It works as expected the first time I use it in a generated screen. Later I remove the screen, then still later I recreate the screen containing the combobox. This time the dataProvider still gets updated, but now no data is visible in the dropdown on the screen - it appears empty. I figure it needs to be rebound to the screen somehow, since I have verified I have data. However, I cannot figure out how to bind the instance of the combobox, and / or exactly what else in it besides the dataProvider, in such a way that the screen gets updated. Could someone give me some pointers, or at least some idea of what I am doing wrong? Thanks, Roscoe
[flexcoders] Trace(), not in debug mode? [Flex 2]
Hello, Is it possible to obtain trace output to the console or to a file when not running in debug mode? I have a sequence of events that works in debug mode but not in non-debug mode, I need to trace thru. Thanks, Ros -- 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 - Extended Tree, now events aren't working : (
I just want to make sure that this is supposed to work this way: If you extend the Tree control, it should still open and close the nodes when you click on them, unless you override the click or change functions, right? Or do you have to implement them youself? I extended the Tree control and set the dataProvider to a valid XML source. It displays the root node but will not expand when I click on it. If I manually expand them using the descriptor it works, but I don't want to rewrite Adobe's fine methods. I know I have missed something simple somewhere...if someone could give me a little nudge in the right direction. Thanks, R -- 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: Can Flex 1.5 coexist on the same machine with 2.0?
I want to install the beta, then make a copy of the production app, then compile it to see what all is gonna have to be re-written. If I install it on my local pc and or the development server containing Flex 1.5, are there any co-existance issues I need to be aware of? I am running FlexBuilder 1.5 and IBM RAD Application Developer (Websphere) on my local PC. I ~do~ need to be planning a migration to Flex 2.0, don't I? Or is it something different and separate from 1.5, and 1.5 will live on forever? Thanks, Roscoe --- In flexcoders@yahoogroups.com, Roscoe P Coltrane [EMAIL PROTECTED] wrote: I am positive that this question has been answered before, but after searching the Adobe site, the web, and this site, I still can't find the answer : ( I would like to install the beta 3 and see how many compile errors I get out of my 1.5 version, which I will still need to support until 2.0 goes production status. Thanks, Roscoe Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/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] Can Flex 1.5 coexist on the same machine with 2.0?
I am positive that this question has been answered before, but after searching the Adobe site, the web, and this site, I still can't find the answer : ( I would like to install the beta 3 and see how many compile errors I get out of my 1.5 version, which I will still need to support until 2.0 goes production status. Thanks, Roscoe 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/