[flexcoders] Re: Using Datagrid Data

2008-06-27 Thread ghus32
I have an email part in my application where I am creating an attachment funtion. I have flex uploading the file using php and in the php the php renames the file to a random number. that random number is then passed back to a flex datagrid. So if a person uploads 2 files then the datagrid

[flexcoders] Percentage value in stacked columns

2008-06-27 Thread Richard Rodseth
This one's got me stumped. I have a ColumnSet of type=100%, and I need to provide a custom data tip function. The default provides a percentage value and a total. I just need the percentage in my custom version. I haven't been able to find how to retrieve the percentage value starting from the

[flexcoders] Re: Datagrid Weirdness - Lose arrow key functionality

2008-06-27 Thread Barry
Thanks Alex, Any idea how to stop that happening? I've set the dataColumn's enabled property to false hoping that would do it but have had no joy. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you renderer steals focus, DG arrows will stop working.

RE: [flexcoders] Re: Getting parent information from AdvancedDataGrid

2008-06-27 Thread Tracy Spratt
That is the thing about a request, you can decline it. And request is all I can do since, as yet, we have no established posting protocols on this list. Though you might want to look at the predominant posting styles. Sorry, this thread is one of the ones I am following for my own education.

[flexcoders] XMLList - XML Spontaneous Error

2008-06-27 Thread kenny14390
Code that I haven't touched in months is now giving me errors at runtime. It's compiling without even a warning, but when the application is run, I get unexpected results. When I run the app in debug mode, all breakpoints are ignored (news to me) so it's difficult to find exactly what's wrong. I

[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread João
Hi Jonathan, thanks for your great post! About the two solutions, I don't like both, but having to choose I would go with the first one. In the way I see it, the component should never know where he's in. The component should only know now I'm visible... now I'm not, and react to that. Both

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Josh McDonald
Yeah planning on it, only checked it all out a couple of days ago, so I haven't messed about with it much. I'll figure out SVN diff, and re-submit any patches I cooked up with regular diff :) On Sat, Jun 28, 2008 at 3:18 AM, Jonathan Branam [EMAIL PROTECTED] wrote: I found the command line

RE: [flexcoders] XMLList - XML Spontaneous Error

2008-06-27 Thread Tracy Spratt
Surprised this didn't error before. All e4x expressions reuturn an XMLList, even if there is only one node. So you have to do: x = srv.lastResult.Term.Department.(@id==cDept).Course.(@num==cCrs)[0]; //to get the one and only XML node Tracy From:

[flexcoders] Flex access web service.

2008-06-27 Thread markflex2007
Hi, I build a Flex application that access a web service, I have a Flash application that access the same web service. But I feel the Flex application is a little slow than flash application to access same web service.Do you know why? Thanks for your advice Mark

[flexcoders] HorizLine btween last 2 datapoints of a PlotChart[CategoryAxis DateTimeAxis]

2008-06-27 Thread Vijay Anand Mareddy
I have a PlotChart whose Horizontal axis is a CategoryAxis and Vertical axis is a DateTimeAxis. Each dataPoint is plotted against Category[like Apple,Mango] verses DateTime[like 01-Jan-08,01-Feb-08,06-Mar-09 ] There could be more than one datapoint for each category. Now what i am looking for

Re: [flexcoders] Acrobat 9 and Flex

2008-06-27 Thread Anatole Tartakovsky
Matt, I tried doing it through external interface in the past - there were serious limitations including security and inability to operate on XDP level. So - for scripting to work for multipage UI we would need to generate multiple pages. Thinking of the ways to use this model for Flex

[flexcoders] Re: Percentage value in stacked columns

2008-06-27 Thread Richard Rodseth
A little more sleuthing revealed the answer. ColumnSet has a method called formatDataTip (an override) where the percentage is calculated as follows: percent = Number(item.yValue) - Number(item.minValue); percent = Math.round(percent * 10) / 10;

[flexcoders] Re: AS3 interface question

2008-06-27 Thread Bjorn Schultheiss
Runtime checking is all we get. public static function isImplementationOf(clazz:Class, interfaze:Class):Boolean { var result:Boolean; if (clazz == null) { result = false; } else { var classDescription:XML = describeType(clazz) as XML; result =

[flexcoders] Re: ANYONE? LCDS Bug? Return from overriden ServiceAdapter manage() disregarded

2008-06-27 Thread Steven Toth
I was able to recreate it in LCDS 2.6 Beta. I'm going to try to open a bug report against it. Please let me know if anyone has any ideas or has been able to get this to work. Thanks. -Steven --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Steven, Definitely

Re: [flexcoders] How to enable the enter key for all buttons onFocus

2008-06-27 Thread Josh McDonald
First a caveat: I's a bad idea. Pressing enter to submit an entire form and spacebar to click a specific button is a fairly standard UI practice, and something you shouldn't change without a good reason. But if you've got your heart set on it, one option is to subclass Button, put your code in

[flexcoders] popup is taller than browser window/ vertical scroll bar??

2008-06-27 Thread pfk456cr
i have some popups that have their height property greater than the height of the browser window. the close button on the popup is getting clipped and setting verticalScrollPolicy on doesn't function. anyone have any ideas how i can force the popup (based on canvas) to have vertical scroll bars

Re: [flexcoders] popup is taller than browser window/ vertical scroll bar??

2008-06-27 Thread Josh McDonald
You need to force the popup to not be bigger than the browser window with maxHeight or something similar. Popups that are too big won't cause a scrollbar to appear on the application because in the display list they're parented by systemManager, not the Application itself. -Josh On Sat, Jun 28,

[flexcoders] Help with ViewStack Event Listeners for Custom Components

2008-06-27 Thread Craig
My Viewstack does not make custom components active (they do not show up with simple functions like this one... vwChrt.selectedindex=0; vwChrt.selectedindex=1; I suspect I need to add Event Handlers, and would like some guidance. My MXML code looks like this (shortened) - A viewstack

Re: [flexcoders] Help with ViewStack Event Listeners for Custom Components

2008-06-27 Thread jitendra jain
instead of vwChart.selectedIndex=0 make it vwchart.selectedChild=lgch . It will work Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Original Message From: Craig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, June 28, 2008 10:00:53 AM

RE: [flexcoders] Re: Datagrid Weirdness - Lose arrow key functionality

2008-06-27 Thread Alex Harui
What does the renderer look like? Why does it need focus? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Barry Sent: Friday, June 27, 2008 4:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid Weirdness - Lose

RE: [flexcoders] Create border for inner subgrids within a grid - How?

2008-06-27 Thread Alex Harui
myGridItem.setStyle(borderStyle, solid) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Friday, June 27, 2008 2:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Create border for inner subgrids within a grid -

<    1   2