Re: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Anthony Lee
- Make all your active components register themselves then loop through and disable/enable them according to your busy state Too taxing on cpu... How many components are we talking about? Hack #3 Generate an Alert and position it outside the viewable area. They're modal by default... meaning

Re: [flexcoders] Re: Set as Default Application: for an AS Class

2007-03-26 Thread Anthony Lee
Hope that helps. Perfect! Thanks.

[flexcoders] Re: Set as Default Application: for an AS Class

2007-03-25 Thread Anthony Lee
Perhaps I should rephrase this question as: How can I compile a pure AS application from Flex Builder 2.0.1?

[flexcoders] Set as Default Application: for an AS Class

2007-03-23 Thread Anthony Lee
Hi All, I'm working through a tutorial that instructs me to right click on my .as class in the navigator and select Set as Default Application. The problem is: This option is grayed out for .as classes in my version of Flex Builder, 2.0.1. Is there a known reason for this? Is there something I

Re: [flexcoders] Disable Clicks while on busyCursor

2007-03-05 Thread Anthony Lee
The obvious solutions would be: 1) Enable/disable a transparent button that's as big as the stage and has the greatest z depth / lowest childIndex 2) Make all your active components register themselves then loop through and disable/enable them according to your busy state I'm sure there are

Re: [flexcoders] AMFPHP Sessions

2007-03-04 Thread Anthony Lee
Can someone provide and example of how to use AMFPHP with sessions. I can't seem to get it to work. Ditto. Sessions are referenced all over the place but I couldn't find a working example. tonio

Re: [flexcoders] Re: how do you call the super's super?

2007-03-02 Thread Anthony Lee
Thanks Gordon, That's pretty much everything I needed to know. tonio

Re: [flexcoders] how do you call the super's super?

2007-03-01 Thread Anthony Lee
this is not possible. Steve -Original Message- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Anthony Lee *Sent:* 27 February 2007 04:00 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] how do you call the super's super? Hi, Sorry for the lame

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Anthony Lee
Can anyone provide any real world examples? Sure. I want to extend TreeItemRender, it's a 500 hundred line class so I'd rather not rewrite it. The only available text presentation object in the class is a UITextField which is instantiated in the createChildren method. I want to replace it

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Anthony Lee
maybe I want to override (and by that I mean NOT run the code in) parent.updateDisplayList. But if I override updateDisplayList, then at some point in my method I've got to call super.updateDisplayList to get anything to work. But that means I'm going to run all the code in

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Anthony Lee
UIComponent has this for createChildren: protected function createChildren():void { } Calling it does nothing, you don't need to call it. Hi Paul, Okay. I could have looked that up, or just called super.createChildren() after my code, and in this case the super would not create the

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Anthony Lee
{ updateDisplayList:Void() { // hundreds of lines of useless code } } class Grandchild { Grandchild() { Grandchild.prototype.updateDisplayList = Base.prototype.updateDisplayList; } } Anthony Lee wrote: maybe I want to override (and by that I mean NOT run

Re: [flexcoders] ui design question, ideas for showing the user to wait while a record loads

2007-02-28 Thread Anthony Lee
Is it just me or is the busy cursor not a really bad idea. I mean why lock up the whole application while you're waiting on data for a single component to load? Is this Web 2.0 or not ;-) Sorry, I know this doesn't answer your question. tonio On 2/28/07, rumpleminzeflickr [EMAIL PROTECTED]

[flexcoders] Tree Leaf Renderer (TreeItemRenderer)

2007-02-27 Thread Anthony Lee
Hi All, I'd like to present Tree leaves as value pairs with the first value in a fixed width space. ie. simple columns. I attempted to extend TreeItemRender and swap the default label:UITextField with a VBox containing two UITextFields but am coming up against a few problems, not the least of

[flexcoders] how do you call the super's super?

2007-02-27 Thread Anthony Lee
Hi, Sorry for the lame AS questions, but can anyone tell me how to call the super method of the class I'm extending? ie. the grandparent and not the parent. Thanks, tonio

[flexcoders] Data Corruption with Multiple Trees

2007-02-27 Thread Anthony Lee
The lack of information about how to populate the Tree component with a non-XML data source is driving me nuts. Now I'm having an issue with populating multiple Trees, as soon as I set the dataProvider for the second Tree the information in both gets corrupted. I'm about ready to write this off

[flexcoders] Re: Data Corruption with Multiple Trees

2007-02-27 Thread Anthony Lee
Doing something similar to build an XMLListCollection seems to work fine: private function makeDataProvider(obj:Object):XMLListCollection { var temp:XML = makeTreeXML(obj); return new XMLListCollection(temp.branch); } private function makeTreeXML(obj:Object):XML { var