[flexcoders] showcase

2008-05-06 Thread mcmoisei
Hello, I'm looking for the source code of a large application such as http://flex.org/showcase/ Anyone can gimme a hint how is done ? I think would be extremely beneficial to the community if such source would be available. I'm joining RIA word from the lame world of request-response where the

Re: [flexcoders] Is this possible?

2008-05-06 Thread Phill B
So I would have a set of remote object's on server a that would deal with the database and such. Then a remote object on server B that would take care of the image. I guess I was over thanking. Thanks. Phil On Tue, May 6, 2008 at 3:45 PM, Luciano Manerich Junior [EMAIL PROTECTED] wrote:

RE: [flexcoders] addEventListener() for File.createDirectory(). How to use?

2008-05-06 Thread Gordon Smith
I think createDirectory() is synchronous. If it was asynchronous, it would be named createDirectoryAsync(). Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlo Gulliani Sent: Monday, May 05, 2008

[flexcoders] Re: showcase

2008-05-06 Thread jmfillman
Based on how the items load as you scroll up and down, this would appear to be done using a List or TileList component using an itemRenderer. This could be done from an XML file. Clicking on an item probably changes to a different View State. --- In flexcoders@yahoogroups.com, mcmoisei [EMAIL

Re: [flexcoders] itemUpdated() functionality for XML properties?

2008-05-06 Thread Daniel Freiman
I don't know how ChangeWatcher works so I can't comment there. I've used XMLNotifier and I know that has worked. It's a non-documented class and the standard disclaimer applies to that fact. To see an example of how it is used see XMLListAdapter (also undocumented). I might be able to pick

[flexcoders] Complex itemEditEnd processing confuses subsequent rowIndex on click

2008-05-06 Thread Tracy Spratt
In a component's editable Datagrid's itemEditEnd handler, I update a data model instance, which dispatches events that invoke a ChangeWatcher handler back in that same component. That handler assigns a new XMLListCollection to the local var to which the editable dataGrid is bound. The handler

Re: [flexcoders] Re: Adobe Help Please: Expired License Hell

2008-05-06 Thread Matt Chotin
The file it's trying to create is here: /Library/Application Support/Adobe/Flex/license.properties On 5/6/08 1:47 PM, spitnas [EMAIL PROTECTED] wrote: Hi, I also had a similar problem on my iMac G5 with FlexBuilder 3.0 Standard. After some research on Google and emailing Adobe Support I

Re: [flexcoders] Re: NumericStepper goes nuts. Who to stop it?

2008-05-06 Thread Daniel Freiman
I'm guessing it's simpler. The stepper registers a mousedown event, which changes the enabled state to false. Since the control is disabled, it never registers a mouseup event. So the stepper thinks you are holding down one of the stepper buttons. When it reenables, the steeper acts as if it

RE: [flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread Tracy Spratt
What is the dataProvider? What data type? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Tuesday, May 06, 2008 6:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: itemRender Debug Warnings Thank

[flexcoders] Re: Complex itemEditEnd processing confuses subsequent rowIndex on click

2008-05-06 Thread jmfillman
Let me see if I understand this. You are saying that if you are editing selectedIndex 3, and then you click, for example, on index 4, that you are getting index 5 instead of 4, correct? Do you get the data from index 4 or 5? When you update data in the DG, don't you need to refresh the DG?

[flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread jmfillman
It's a standard List component. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What is the dataProvider? What data type? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent:

[flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread jmfillman
To be more thorough in my response, I loop through the data in an ArrayCollection to create this Object that I then add to a List component. --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: It's a standard List component. --- In flexcoders@yahoogroups.com, Tracy Spratt

RE: [flexcoders] itemUpdated() functionality for XML properties?

2008-05-06 Thread Tracy Spratt
Cool, I'll look into that. As usual, there are many ways to do most anything. I'll probably stick with my assign-a-copy strategy for this app, since I'm kinda far along, but will be prepared with a better strategy on the next app. Probably just using collections. I am just more

RE: [flexcoders] Re: Complex itemEditEnd processing confuses subsequent rowIndex on click

2008-05-06 Thread Tracy Spratt
That is correct. I am getting index 5, all the way. Even the DataGridEvent.rowIndex reports 5. I have not been able to catch index 4 anywhere. I even considered a mouseDown handler. And the DataGrid refresh is what is causing the problem, that happens when I assign the _xlcProjItems = new

RE: [flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread Tracy Spratt
Hmmm, if List.dataProvider.addItem() works, then the dataProvider must be an ArrayCollection. It still may be behind an Object though. Instead doing what you are, I'd declare a var as an ArrayCollection, do your loop and add your items. Bind that var to the List.dataProvider. Also,

[flexcoders] Re: Complex itemEditEnd processing confuses subsequent rowIndex on click

2008-05-06 Thread jmfillman
It seems you are content to stick with the workaround, but I'm curious if you are getting the data from index 4, even though it's saying index 5, or if you are getting the data associated with index 5. I've seen this where the selectedIndex was 5, but the data was from the old index 5 (now 4

RE: [flexcoders] Re: Complex itemEditEnd processing confuses subsequent rowIndex on click

2008-05-06 Thread Tracy Spratt
Not only do I see the data for row index 5, that cell opens up into edit mode. I suspect that there is a row index incrementer somewhere in the DG code, and the order of operation of the different calls increments that, and then a second, unexpected recursive call increments it again. Anyway,

[flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread jmfillman
I've got 29 lists, so I'm not sure I want 29 ArrayCollections with bindings :-) The code is far too extensive to post here, but the warning it not at compile, but in Debug mode at runtime. I get this for every field in the list that I bind to in the itemRenderer. So with my Object = {itemID:

RE: [flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread Tracy Spratt
Post one of the lines that produces the warning. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Tuesday, May 06, 2008 8:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: itemRender Debug Warnings

[flexcoders] Re: How do I add a header or additional post parameter to a RemoteObject Request

2008-05-06 Thread jennie_mai_nguyen
Hi Valdhor, I ended up doing what you first suggested by passing the token in as a method argument. I process the token in flex.messaging.endpoints.amf.MessageBrokerFilter. I then take out the token from the parameter list after processing, so that the remote APIs don't have to change their

[flexcoders] Bug in XMLEncoder or SOAPEncoder, and I want to fix it myself - who do I talk to about it?

2008-05-06 Thread Josh McDonald
Hi guys, I'm 99% sure I've located a bug in Flex's XML encoding for SOAP requests that's mangling my sequence maxOccurs=unbounded into a single element, and I'd like to know who I need to talk to to help me fix it, so I can get on with my work and submit a patch so everybody else can use it too.

RE: [flexcoders] Re: itemRender Debug Warnings

2008-05-06 Thread Alex Harui
If your RO does not match the server object to the actionscript object, instead of getting instances of a class in your ArrayCollection, you will get plain old objects and they will spit these warnings. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Strange behavior

2008-05-06 Thread Alex Harui
The examples on my blog extend DataGridColumn to add a place for the renderer to store things From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, May 06, 2008 3:28 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: NumericStepper goes nuts. Who to stop it?

2008-05-06 Thread Alex Harui
That's pretty much it. Buttons don't like being disabled when you've done a mouseDown, but before the mouseUp. callLater can probably rescue you. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Tuesday, May 06,

RE: [flexcoders] itemUpdated() functionality for XML properties?

2008-05-06 Thread Alex Harui
XML does not dispatch events per-se. It is like Object. However, unlike Object, every XML node can be assigned a callback which converts it into a notifying XML node. That's what XMLNotifier does. All changes to a node hooked up by XMLNotifier, no matter how deep should result in a change

[flexcoders] Singleton view classes?

2008-05-06 Thread David Ham
I've been having trouble with multiple instances of my views being created when I change states. I have two RoomView classes that each subclass the same BaseRoomView superclass, and which contain an instance of a Room view class. Since I only ever want one of them on the screen at a time, I

[flexcoders] Re: Singleton view classes?

2008-05-06 Thread Bjorn Schultheiss
You probably can using some sort of Singleton Manager. http://code.ericfeminella.com/classes/as3/SingletonManager.as.html But you can't change a sealed class's constructor such as UIComponent therefore you will not be able to manage the amount of instances created without the use of the manager

[flexcoders] Chart series includeInLayout

2008-05-06 Thread Richard Rodseth
I have two sets of stacked columns side by side. I would like to be able to hide either one. Currently I have the visible property of each series bound to a property controlled by a checkbox, and that works fine, but I would like the chart to be laid out again so that the hidden series doesn't

[flexcoders] Re: Bug in XMLEncoder or SOAPEncoder, and I want to fix it myself - who do I talk to about it?

2008-05-06 Thread Josh McDonald
Update: I filed a bug, and posted a fix. Shout out to Doug for his monkey patching info :) http://bugs.adobe.com/jira/browse/SDK-15484 -J On Wed, May 7, 2008 at 11:37 AM, Josh McDonald [EMAIL PROTECTED] wrote: Hi guys, I'm 99% sure I've located a bug in Flex's XML encoding for SOAP requests

[flexcoders] How to create Viewstack Programmatically.

2008-05-06 Thread Swamy Nathan
Hi Folks, First i am create the empty view stack to the application mx:ViewStack id=Props width=920 visible=true bottom=10 height=134 x=10 /mx:ViewStack * and then i am reading the xml and create the canvas inside controls and then i add the canvas to the Props viewstack

[flexcoders] Re: How to create Viewstack Programmatically.

2008-05-06 Thread Swamy Nathan
*and also am using the Props.addchildAt(prpcanvas, index); index++;[means 0,1,2,3,4..]* On Wed, May 7, 2008 at 10:21 AM, Swamy Nathan [EMAIL PROTECTED] wrote: Hi Folks, First i am create the empty view stack to the application mx:ViewStack id=Props width=920 visible=true bottom=10

[flexcoders] For each in an object

2008-05-06 Thread timgerr
I have this object and I am not sure what is in it. So I do this for each (var somthing:String in myObject){ trace(somhting); } So with this I get all the object answers. I want to get what is referecing the object answers, in PHP I can do this. foreach ($somthing as $service =

[flexcoders] Re: Adding/Removing child components

2008-05-06 Thread Tim Hoff
Absolutely Amy, Or if you know that the number items will always be performance acceptable, put your list in a container and set the height of the list to measuredHeightOfItems; to ensure smooth scrolling by instantiating all of the items like a repeater. No right or wrong; just depends. -TH

RE: [flexcoders] For each in an object

2008-05-06 Thread Gordon Smith
Use a for-in loop rather than a for-each-in loop: for (var prop:String in myObject) { trace(prop, myObject[prop]); } Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Tuesday,

Re: [flexcoders] For each in an object

2008-05-06 Thread Josh McDonald
for each(var value in object) {} and for (var key in object) { var value = object[key]; } -J On Wed, May 7, 2008 at 3:27 PM, timgerr [EMAIL PROTECTED] wrote: I have this object and I am not sure what is in it. So I do this for each (var somthing:String in myObject){ trace(somhting);

[flexcoders] Apache ActiveMQ and Flash crossdomain.xml files

2008-05-06 Thread Thind, Aman
Hello, My flex application uses Apache ActiveMQ / Stomp to implement a Publish / Subscribe mechanism. To use it, I need to be able to plant a crossdomain.xml file on my ActiveMQ 5.1 as it is running on a different server than where my flex application is hosted. Does anyone know the location

<    1   2