[flexcoders] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Bryan Choi
Hi, all. I'll show you sometest code about the closure. You can see that3 variables that is type of Functionwere assigned with foo() method. Genually, as you know, the primitive types is passed by value that is copied. So I think that this is also. How about you think?

[flexcoders] Re: AJAX versus Flex

2006-05-26 Thread pk_wasp
I don't think its particularly hard to convince internal management to consider Flex as a viable RIA/Enterprise solution. The main problem/resistance we are finding is from our clients/customers opposing I.T architects who either get upset if we suggest Flex as a solution, or say they never

[flexcoders] A Problem in the example of 'using view states '

2006-05-26 Thread rama satoskar
hi all, i was trying the sample example of Using View states to create a button dynamically using actionscript 3.0 from the help provided by flex beta 3.0. However i encounter a problem at the statement var addChild:AddChild = new AddChild(); addChild.target = myPanel; addChild.child =

RE: [flexcoders] Re: AJAX versus Flex

2006-05-26 Thread Jim Robson
Also I think for the Flash Platform to be a true platform, it really needs a platform XML dialect for UIs Isnt that what MXML is? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] addEventListener and setting events in mxml

2006-05-26 Thread Tom Chiverton
On Wednesday 24 May 2006 21:27, John Grden wrote: 1. Why won't this work? treeView.addEventListener(nodeOpen, open); In flex 2? Because there is no such event. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.

[flexcoders] Legends

2006-05-26 Thread Eugene Louw
HI, Im trying to add the displayName for the a LineSeries so that it can display correctly in the legend, I'm using the following code to add a new series.public function defineSeries(name:String):void { var s:LineSeries = new LineSeries(); s.yField=decQueryTime; s.dataProvider =

Re: [flexcoders] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Till Schneidereit
Not exactly. What's happening here is that each time foo is called, a new activation object, containing the local variables i and rectArea, is created and returned. Since these activation objects are completely independent of each other, they seem to exhibit some of the behaviour of types that

[flexcoders] Legends

2006-05-26 Thread Eugene Louw
HI, Im trying to add the displayName for the a LineSeries so that it can display correctly in the legend, I'm using the following code to add a new series.public function defineSeries(name:String):void { var s:LineSeries = new LineSeries(); s.yField=decQueryTime; s.dataProvider =

Re: [flexcoders] maps for flex

2006-05-26 Thread nitin mehta
Hi ptrisnadi , Thanks a lot for replying my mail. . . I am explain my task and then I tell you wht I have done in it. See I want to create a search in which user can locate the city or state on world map just by click and with 4 levels of zoom in. my problem is if we zoom in to map its

Re: [flexcoders] addEventListener and setting events in mxml

2006-05-26 Thread John Grden
Yeah, that's what I just found out. it used to be nodeOpen, now it's itemOpenTHanks just the same TomJGOn 5/26/06, Tom Chiverton [EMAIL PROTECTED] wrote:On Wednesday 24 May 2006 21:27, John Grden wrote: 1.Why won't this work? treeView.addEventListener(nodeOpen, open);In flex 2?Because there

RE: [flexcoders] F2/CF VO's

2006-05-26 Thread Bill Sahlas
Are you also utilizing the cfproperty tag in the CFC itself? This blog talks about it in more detail http://mrmx.blogspot.com/2006/03/getting-cfcas-auto-conversion-working.html From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss

RE: [flexcoders] Question on CF components created by the Flex Wizard

2006-05-26 Thread Bill Sahlas
We thought about exposing the returned ID (ID that gets created for AUTOINCREMENT keys) in the CFQUERY RESULT, a new attribute available as part of CFMX 7.x. But, the process to get this is not always supported by the backend DBs so we backed off this feature for now. Youll need to code

[flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
I'm trying to get up to speed and participate in the Flex2 Beta3 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery issue?

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Jim Robson
If you download the FlexBuilder beta, it comes with all the documentation in HTML format. Its a lot more pleasant than dealing with the PDFs. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of p b Sent: Friday, May 26, 2006 9:25 AM To:

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Alistair McLeod
Hi PB, Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time? Regards, Alistair From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 14:25To:

[flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread rama satoskar
hi, The beta3 version has help documents in them...i fu have 3mbps internet connectionreading those would not be a problemthey have improved their format in the documentation since beta2. Its much more user friendly. Try it. Good luck. --- In flexcoders@yahoogroups.com, p b

[flexcoders] View states problem in beta3

2006-05-26 Thread rama satoskar
hi all, is there a problem in the following code ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml !-- The Application class states property defines the view states. -- mx:states !-- Flex enters the newButton state when you click button b1 -- mx:State

[flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-26 Thread flexnewbie
Tracy, Thank you very much!! It works! --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Isn't it kind of strange to give your attributes names starting with an @ sign? I don't think that's common in XML, unless its use is dictated by somebody else. Also,

RE: [flexcoders] View states problem in beta3

2006-05-26 Thread Jim Robson
In Beta 3, target is changed to relativeTo: mx:AddChild relativeTo ={v1} From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar Sent: Friday, May 26, 2006 9:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] View states

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
Alistair, Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.Another gentlemen suggested that there is documentation w the download. While I have the download, I haven't looked there yet to see what's available. That's a good idea! Does

[flexcoders] How to make a components to show its tooltip without point mouse to it?

2006-05-26 Thread Ronan Bottini
Hi. How to make a components to show its tooltip without point mouse to it? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Re: View states problem in beta3

2006-05-26 Thread rama satoskar
can u explain me the difference between the two target and relativeto.i have installed beta3 but in the flex builder it shows both the options. --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: In Beta 3, target is changed to relativeTo: mx:AddChild relativeTo

[flexcoders] Re: View states problem in beta3

2006-05-26 Thread rama satoskar
Thanks JIMit worked!! --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: In Beta 3, target is changed to relativeTo: mx:AddChild relativeTo ={v1} _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rama satoskar Sent:

[flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread rama satoskar
Well there are samples for each and evry concept in the help documentation with some tutorials too. Try ur hand at it. Best of luck. -- In flexcoders@yahoogroups.com, p b [EMAIL PROTECTED] wrote: Alistair, Yes I have also tried this. I can't get one document to save, not one. It's very odd.

RE: [flexcoders] Re: View states problem in beta3

2006-05-26 Thread Jim Robson
Check the wiki: http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes#Flex_2_changes_between_Beta_2_and_Beta_3 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar Sent: Friday, May 26, 2006 10:10 AM To:

RE: [flexcoders] Re: View states problem in beta3

2006-05-26 Thread Jim Robson
Cool! From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar Sent: Friday, May 26, 2006 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: View states problem in beta3 Thanks JIMit worked!! --- In

Re: [flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
Rama, There is virtually no documentaion as part of the flex2 Beta download. There are samples, sure, but not documentation. None. There are "documentation" links embedded within the readme.htmlthat point back to various macromedia sites but they don't work. PBrama satoskar [EMAIL PROTECTED]

[flexcoders] TreeItemRenderer question

2006-05-26 Thread Michael
Hi all, I need a tree renderer that creates a checkbox at certain nodes in my tree. I found a sample online that helped a lot, but not 100%. Currently I have it working with a checkbox at every node, but I get some crazy behavior. When the tree is rendered the checkboxes are all selected

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
Alistair, Might there be a place (perhaps an ftp site or something)where all the current zipped flex2 beta3 docs might exist that can simply be downloaded. Cheers, PBAlistair McLeod [EMAIL PROTECTED] wrote: Hi PB,Have you tried to save the pdf to your local file system, rather than

[flexcoders] NumericStepper with floats

2006-05-26 Thread mcantrell138
Is it possible to use the NumericStepper with floats? It's rounding my numbers to integers. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

RE: [flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Tobias Patton
PB; Maybe youre not looking in the right place. From the Flex Builder IDE, choose Help Contents from the Help menu. I think that all the documentation and tutorials available online can be found here. Tobias. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Alistair McLeod
Hi, The whole doc package (language refs, api docs, all pdfs) can be downloaded from the ZIP file link in the first paragraph here: http://labs.adobe.com/wiki/index.php/Flex_Framework#Documentation You'll might have to log into labs first. Cheers, Ali From:

RE: [flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
Tobias, Though counterintuitive, yes, this is most helpful and it's local. Thank you for pointing this out. Great! Cheers, PBTobias Patton [EMAIL PROTECTED] wrote:PB;Maybe you’re not looking in the right place. From the Flex Builder IDE, choose “Help Contents” from

RE: [flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Jim Robson
PB, That is not correct. If you download FB2 Beta3 and install FlexBuilder, then click Help-Help Contents you get a full set of docs. I should know: I use them all day, every day. J Good luck, Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

[flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread klumikaze
Just wondering what everybody out there is using for production/development with their Flex 2.0 RIAs? For an upcoming project, my team has decided to go the J2EE route, but we are unsure about which technologies and frameworks to make use of. We've come up with some basic decisions: - Our

Re: [flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Tom Chiverton
On Friday 26 May 2006 16:36, klumikaze wrote: - Ant or Maven? I've heard Maven is starting to become more adopted and capable than Ant... thoughts? I used to use Maven to drive Ant scripts, so it's not really either/or. - What Web Services platform would work best with our configuration?

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
This is exactly what I was looking for but could not find. Thank you very much for this and for your patience! Cheers, PBAlistair McLeod [EMAIL PROTECTED] wrote: Hi,The whole doc package (language refs, api docs, all pdfs) can be downloaded from the ZIP file link in the first

Re: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Michael Schmalle
That is not correct. If you download FB2 Beta3 and install FlexBuilder, then click "Help-Help Contents" you get a full set of docs. I should know: I use them all day, every day. J Yeah, it's on my 2nd monitor 24/7 ;-) Peace, Mike On 5/26/06, p b [EMAIL PROTECTED] wrote: This is exactly

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ely Greenfield
Well, this is a common question. And I wrote the original code, so I have an unfair advantage ;) Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben LucykSent: Thursday, May 25, 2006 2:29 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 -

Re: [flexcoders] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Bryan Choi
Hi Till, I got it now. I didn't know that I was wrong. Thank you for your help. Regards, Bryan Choi. - Original Message - From: Till Schneidereit [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 7:32 PM Subject: Re: [flexcoders] [FLEX2:B3]

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ely Greenfield
In Beta 3, the drop shadow in the columns has been optimized by attaching it to the ColumnChart directly. To get it back, you've got two options: 1) set the seriesFilters property of the CartesianChart to a drop shadow. This will give you a single drop shadow for the entire set of

RE: [flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Steven Webster
Possibly. Cairngorm 2 is going to have support for this, I think. Whoa, don't set any expectations here ! :-) I don't foresee us having localisation/il8n support in Cairgnorm, other than guidance on how the Flex 2 features for this can fit within a Cairngorm application. Perhaps - with

Re: [flexcoders] maps for flex

2006-05-26 Thread ptrisnadi
Hi Nitin,I have not created any map application with Flex. So, I am trying to respond to your issue rather a little blindly. I'm still unclear with what you meant by "distorted." If I interpret correctly you are saying that if you zoom in, then the image becomes pixelated/rougher; is that

RE: [flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-26 Thread Tracy Spratt
It is very strange to do that, and that @ character in the attribute name prevents us from using the direct XML literal syntax. At least in Flex Builder, it errors with an invalid xml name exception. Luckily, the string concatenation + new XML() works to get it into an XML object. Tracy

RE: [flexcoders] TreeItemRenderer question

2006-05-26 Thread Tracy Spratt
Trees and other list controls re-use controls when new lines are scrolled into view. I didnt see where you are setting the selected state of the checkbox in the renderer. You must do this or you will get the behavior you describe. Of course, that means you need a property in your item

[flexcoders] Re: Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread klumikaze
Tom, Thanks for your input! In regards to ColdFusion - is it still a commercial product licensed on a per-server basis? I think we're looking for a way to do it with Java (possibly through a framework). Any past experiences with such frameworks, or any recommendations? --- In

[flexcoders] Re: Question on CF components created by the Flex Wizard

2006-05-26 Thread g8torjoe
Bill, thank you very much for your time and response. I apologize that I am still a little confused. I am using beta 3 and the code below was generated by the wizard automatically (at the end of the create function): !--- If your server has a better way to get the ID that is more reliable,

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ben Lucyk
Perfect. I went with the ShadowBoxitemRenderer approach no noticeable hit on performance at this stage and it looks just the same as before in the ColumnChart. Thanks again for your time. Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b
Alistair,I've tried this "docs" link numerous times today. The zip file will simply not download and it acts much like the general documentation links, I've discussed today.My zip download rate eventually fades to 300 bytes a second. Is there any way of placing this document bundle on a

[flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Charles
Hi everyone, I am having a lot of trouble with this seemingly simple problem. I have declared a variable 'xml_result' of type XMLDocument. I would like to set 'ignoreWhite' to true, but I always get an error. Here is a snippet of my code...

Re: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Tim Scollick
bc,The docs are with Builder. If you have Builder, you have the docs. If you don't have Builder, get Builder from the labs site.Open Flex Builder. Go to Help in the top menu.Select 'Help Contents', 'Search' (which allows you to search the docs) or 'Flex Start Page'. All of them bring up

[flexcoders] Re: How do I add additional header information with an HTTPRequest call?

2006-05-26 Thread Charles
Nevermind, I figured it out. I can build a request header object of type URLRequestHeader. Then I can use requestHeaders.push (header_variable) to add the header to the request. i.e. var request:URLRequest = new URLRequest(http://somewhere.com); var header_variable:URLRequestHeader = new

[flexcoders] F2B3 - Change in parsing of WebService results?

2006-05-26 Thread ben.clinkinbeard
Hello, I am having some strange issues moving from B2 to B3 that I can't seem to find dosumented anywhere. It seems that the objects created from my WS results are being parsed differently. For instance, here is some return xml. Client EnterpriseId9/EnterpriseId ClientNameFilm

RE: [flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Peter Farland
Have you tried doing this inside a function instead? Perhaps you could call this function on initialization, perhapson the Application creationComplete event? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent: Friday, May 26, 2006 3:49 PMTo:

[flexcoders] Max 2006

2006-05-26 Thread Darren Houle
Slightly off [Flex] topic, but since Adobe people monitor this list I thought I'd ask... Does anyone have any new details on MAX '06? The Call for Topic deadline for MAX '05 was May 13th and we're already past that date for this year, so... is Adobe having a really hard time deciding what

RE: [flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Gordon Smith
That's right. A statement like xml_result.ignoreWhite = true; that isn't inside a method is actually executed at class initialization time, not instance initialization time. Since xml_result is an instance variable, it doesn't exist at class initialization time. - Gordon

RE: [flexcoders] Max 2006

2006-05-26 Thread Joan Tan
MAX will be the week of Oct 24th in Vegas. Other than that, I dont think they have announced dates for submitting topics yet. Ive sent an inquiry about this and will pass on any information that I hear. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: AJAX versus Flex

2006-05-26 Thread pk_wasp
MXML is more of an application framework XML language e.g. you can't define low level graphics such as shapes, gradients etc via markup like you can with XAML. --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: Also I think for the Flash Platform to be a true

[flexcoders] Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread sufibaba
Hello All, A new update to the MyTreeItemRenderer.as Changes: moved drawing logic out of updateDisplayList() and into the set data() block. This stop the lines from being drawn again and again which means that the tree is much more repsonsive. -- MyTreeItemRenderer.as

[flexcoders] Loggin API and MiniDebugTarget [F2B3]

2006-05-26 Thread Peter Blazejewicz
Hi everyone, maybe someone has experience with mx.logging.* usage in F2, I was trying to implement mx.logging with custom debug application that uses LocalConnection. I tried to use MiniDebugTarget which uses LocalConnection as medium, Maybe I don't understand logging correctly but I though

RE: [flexcoders] Max 2006

2006-05-26 Thread Ben Forta
It'll be another week or so before much is posted publicly. It's taken a little longer to work things out this year with so many products and audiences, but we're getting there. Stay tuned. --- Ben From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan TanSent:

RE: [flexcoders] Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread Gordon Smith
Drawing code doesn't belong in property setters; it belongs in updateDisplayList(). For example, if something causes the row height to change, the data setter won't get called and the lines won't redraw. Are you saying that updateDisplayList() is getting called more frequently than it should

Re: [flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Carlos Rovira
You could adapt the following script for ARP by Christophe Herreman to provide localization in Cairngorm. I use it in an huge app and works quite well.I prefer that bind to a SO than use the resourcebundle in flex 2. http://www.herrodius.com/blog/?p=292006/5/26, klumikaze [EMAIL PROTECTED] :

[flexcoders] databinding back to source?

2006-05-26 Thread Rick Schmitty
Is there a way to bind back to where the original databind came from? Not sure if thats the correct terminology for what I'm trying to say...so here is my simple example. In the example below it kinda happens, but only if you expand/close a node after. The list editor should also update the

RE: [flexcoders] Re: Question on CF components created by the Flex Wizard

2006-05-26 Thread Bill Sahlas
Which wizard option did you use to create this? The Active Record, the Bean and DAO, or the Flex Data Service Assembler? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of g8torjoe Sent: Friday, May 26, 2006 1:47 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: databinding back to source?

2006-05-26 Thread Michael Montagna
I'm not exactly sure what the question is, but it seems you're asking if changes to data pulled from the Tree will be seen in the original data structure? If that's what you mean, then you don't need binding, the Tree control already uses (and returns) your data by reference. If you get a

Re: [flexcoders] Re: databinding back to source?

2006-05-26 Thread Rick Schmitty
Thank you for the reply! Sorry, I wasnt sure of the exact question because I wasnt sure what I was looking for. So yes the data does update, but the visual component itself does not. For example, if you expand the tree, and edit controls, when you click on controls in the list view, the

[flexcoders] Loading one cairngorm into another cairngorm

2006-05-26 Thread sufibaba
Hello everyone, I have one cairngorm application that I would like to Dynamically Load into another cairngorm application. What would be the strategy and code to do this. Thanks. Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Re: Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread sufibaba
Gordon, I agree with you completely that the drawing code should be in the updateDisplayList() and this is exactly what I had done in the previous iterations. While testing the tree today, I noticed from the debugger that the drawing code was being repeatedly fired and the tree slowed down to

Re: [flexcoders] Re: AJAX versus Flex

2006-05-26 Thread Michael Schmalle
I am sure that is on the list. MikeOn 5/26/06, pk_wasp [EMAIL PROTECTED] wrote: MXML is more of an application framework XML language e.g. you can't define low level graphics such as shapes, gradients etc via markup like you can with XAML. --- In flexcoders@yahoogroups.com, Jim Robson

[flexcoders] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Nikmd23
I'm having an issue when I sort a DataGrid which has a column that is a custom itemRenderer. My renderer colors the text it outputs as red if a certain value is passed in. That works great, however, when I sort the datagrid, the red element changes it's position, and leaves the red color

RE: [flexcoders] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Joan Tan
The rows in a DataGrid are recycled, so if you set a color to red, you must reset it to black (or whatever default you want). In your set data function, if you are doing something like: if (data.myval 50) { setStyle(color, 0xFF); } Then, you should add else {

Re: [flexcoders] Re: AJAX versus Flex

2006-05-26 Thread Kevin Newman
Can you do that with SVG (I'm assuming you can with SWF)? If so, would that fill the gap to make MXML+SVG into a platform XML dialect for UIs? Kevin N. pk_wasp wrote: MXML is more of an application framework XML language e.g. you can't define low level graphics such as shapes, gradients

[flexcoders] Re: Can't get inline headerRenderer to work for DataGridColumn in Flex 2 Beta 3

2006-05-26 Thread Steven Toth
Has anyone gotten this to work??? I took most of the code right out of the sample for doing inline renders. Thanks. -Steven --- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote: I'm trying to load an image into a DataGridColumn header. I've tried this...

[flexcoders] Re: Access of undefined property in XMLDocument

2006-05-26 Thread Charles
Yes! Putting it in a function worked...stupid me. Thanks everyone! --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: That's right. A statement like xml_result.ignoreWhite = true; that isn't inside a method is actually executed at class initialization

[flexcoders] datagrid

2006-05-26 Thread Misael
Hi, I want to change a datagrid row background color based on a column in its dataprovider, but all I´ve got searching flexcoders archive are outdated Flex 1.5 solutions or not-very-well-explained cellRenderer tips. How can I achieve this using Flex 2 beta 3? Please, on your example, set the

[flexcoders] When is Flex better suited than AJAX (was AJAX versus Flex)

2006-05-26 Thread Jim Phelan
Im actually giving a presentation on this topic in a couple of weeks at the SOA WebServices Edge Conference in New York. My talk is titled When AJAX Isnt Enough: Cases for Rich Clients with the Flash Platform My contention in this talk is that there are some cases when you simply cant

RE: [flexcoders] datagrid

2006-05-26 Thread Joan Tan
See if this itemRenderer helps. This itemRenderer will turn the background of a row to red if the value of the column  myColumnName in that row is over 50. package {     import mx.controls.Label;     import mx.controls.dataGridClasses.*;     import mx.controls.DataGrid;    

RE: [flexcoders] Max 2006

2006-05-26 Thread Darren Houle
Thanks Joan and Ben, I appreciate the update! Darren From: Ben Forta [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Max 2006 Date: Fri, 26 May 2006 18:11:17 -0400 It'll be another week or so before much is posted publicly.

RE: [flexcoders] Loading one cairngorm into another cairngorm

2006-05-26 Thread Darren Houle
If I'm understanding you right I'm not sure whether they're Cairngorm or not has anything to do with it... once they're compiled into SWFs it doesn't matter how you architected your original code. Not sure if this is what you mean, but... you could write Flex app A and make it similar to,

RE: [flexcoders] When is Flex better suited than AJAX (was AJAX versus Flex)

2006-05-26 Thread Jack W. Caldwell
Jim: If you have had the time to read the whole thread you will get a lot of reasons from more technical and seasoned Flex developers than myself. If you have not had time, I suggest to you go back and read them. With that being said, for me, every ??? you stated below the answer is

[flexcoders] Re: Loading one cairngorm into another cairngorm

2006-05-26 Thread sufibaba
Thanks Darren, There are a few issues which you have pointed out that would be a challenge. Communication between the apps, and in the case of Cairngorm, I think that I might run into problems with the fact that in Cairngorm, some things are singletons (AppController, Service, AppModel). If