[flexcoders] Flex Coding Standards

2009-05-23 Thread Angelo Anolin
Hi FlexCoders, Would someone be kind enough to share their coding standards relative to flex development? I am starting Flex and I would want to at least follow good standard(s) especially on coding side. Thanks and best regards. Angelo

Re: [flexcoders] Re: modify item before binding to datagrid

2009-05-23 Thread Angelo Anolin
Thanks Valdhor and Thanks to Mark for all your help. I finally got this to work. Kind regards. Angelo From: valdhor To: flexcoders@yahoogroups.com Sent: Saturday, 23 May, 2009 2:07:18 Subject: [flexcoders] Re: modify item before binding to datagrid This

Re: [flexcoders] Re: modify item before binding to datagrid

2009-05-23 Thread Angelo Anolin
Hi Mark, I tried following your code, setting the column back to "col" private function sortNumericColumn( itemA:Object, itemB:Object) : int { return ObjectUtil.numericC ompare(itemA[ MydataGrid.col] , itemB[MydataGrid.col] ); } but instead got this.. Access of possibly undefined property c

RE: [flexcoders] Vector issues when using child application domains

2009-05-23 Thread Alex Harui
Seems like a bug. I added a simpler test case and some ideas for workarounds in the bug report. The player team doesn't like working with Flex-based test cases. I think the simplest thing to do for now (besides setting loadForCompatibility=true) is to find a way to inject common classes into

Re: [flexcoders] Confused about ArrayCollection Filters...

2009-05-23 Thread Paul Andrews
ListCollectionView: Saw this, which might help http://viconflex.blogspot.com/2006/11/listcollectionview-different.html Paul - Original Message - From: "Laurence MacNeill" To: Sent: Sunday, May 24, 2009 1:45 AM Subject: [flexcoders] Confused about ArrayCollection Filters... >I want t

[flexcoders] Confused about ArrayCollection Filters...

2009-05-23 Thread Laurence MacNeill
I want to display the same ArrayCollection in two different DataGrids, but I want each DataGrid to have its own filter applied to that ArrayCollection. Specficially, I want one DataGrid to show all elements in the ArrayCollection that have 'part_no == "c"', and the other DataGrid to display al

RE: [flexcoders] Multi-column drop-in checkbox renderer

2009-05-23 Thread Alex Harui
In your example you are using plain objects which do not dispatch events so when you update fields in the objects you should call itemUpdated on the collection (which should be faster than refresh()) Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe

RE: [flexcoders] 2 similar functions. One works, the other doesn't...

2009-05-23 Thread Alex Harui
First, a nit. If you're going to assing event.result to a local variable, no need to initialize it to a new instance. IOW, it should just be coded as: var regCodeVO:RegCodeVO; instead of var regCodeVO:RegCodeVO = new RegCodeVO(); One possibility is that you're using modules or some other co

[flexcoders] Re: 2 similar functions. One works, the other doesn't...

2009-05-23 Thread Tim Hoff
The functions look ok, so its probably a problem with the second VO. Since they are so similar, there's probably a mis-spelling due to copy/paste. Also, make sure that the [RemoteClass(alias="com.blah.blah.blah.MyVO")] line is included and correct. -TH

[flexcoders] Re: Filtering multiple conditions in an arraycollection

2009-05-23 Thread Tim Hoff
Well, looks like you're on the right track. Just a couple suggestions: 1) In the resultHandler, refresh after you set the filterFunction: myData.filterFunction=processFilter; myData.refresh(); 2) Booleans are easier to read then ints. Also, not sure about the logic

[flexcoders] Re: What happened to filter.animationProperties[ ] in latest Gumbo sdk?

2009-05-23 Thread Mic
Just noticed that the mxml example I used has fromValue and toValue hardcoded so would not work with custom PixelBender filters. --- In flexcoders@yahoogroups.com, "Mic" wrote: > > In process of updating pixelBender and filter code to latest SDK ... > > animFltr1.animationProperties = [new An

[flexcoders] What happened to filter.animationProperties[ ] in latest Gumbo sdk?

2009-05-23 Thread Mic
In process of updating pixelBender and filter code to latest SDK ... animFltr1.animationProperties = [new AnimationProperty("amount", 1), new AnimationProperty("colorR", 1,0xFF)] used to be the syntax. In latest sdk the mxml is like this: but what is the ActionScript now animationPrope

[flexcoders] Re: Gumbo - new namespaces - error

2009-05-23 Thread Mic
Thanks all - does the trick --- In flexcoders@yahoogroups.com, "Mic" wrote: > > Assuming that the latest namespace changes point to this standard: > > ?xml version="1.0" encoding="utf-8"?> > xmlns:fx="http://ns.adobe.com/mxml/2009"; > xmlns:s="library://ns.adobe.com/flex/spark"

RE: [flexcoders] chart "labelRotation" problem

2009-05-23 Thread Jake Churchill
It seems like I’ve gotten this working before. At least on the axis I did but I had to embed the font for it to work. I think by default, Flex can only rotate the system font or one that’s embedded in the app. Here’s a link to the widget I did with this: http://www.sonburst.com/lfg/LFG4

Re: [flexcoders] Flex Obfuscation -- WITH MODULES

2009-05-23 Thread Marvin Froeder
http://www.insideria.com/2009/05/introducing-nitro-lm-lite.html On Fri, May 22, 2009 at 7:59 AM, Marvin Froeder wrote: > Hey, > http://nitrolm.com/nitro-lm-lite > > It is not exactly obfuscation, is > encryption > > > VELO > > > On Thu, May 21, 2009 at 8:52

[flexcoders] Creating custom component instance all the time when click on the button

2009-05-23 Thread gaborpallos
I have MyApplication.mxml and a CustomComponent.mxml. [ MyApplication.mxml ] http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:ns1="*"> [ CustomComponent.mxml ] http://www.adobe.com/2006/mxml";> Please I nee

[flexcoders] Ask About Streaming Server

2009-05-23 Thread Booking Heaven
Dear All : Please i need your suggestion or help about which is good streaming server to broadcast live streaming. I decide to order 1 VPS Linux and 1 License of Wowza Media. Do you have any good suggestion than it ? Thanks for your consideration, any comment and advice are very useful for me.

[flexcoders] chart "labelRotation" problem

2009-05-23 Thread Vikram Singh
Hello Friends, I am facing problem in "labelRotation" of ColumnChart. Can we use labelRotation with ColumnChart ?? If no, which one is suitable option? I want to display label (Text type as well as Numbers) of horizontal axis at 45 degree of rotation. any idea please Regards, Vikram Ex

Re: [flexcoders] Gumbo - new namespaces - error

2009-05-23 Thread cksachdev
You need to give fx:Script instead of mx:Script. It works for me. -- Chetan Sachdev http://www.riageeks.com From: Mic To: flexcoders@yahoogroups.com Sent: Saturday, 23 May, 2009 8:22:59 AM Subject: [flexcoders] Gumbo - new namespaces - error Assuming that

[flexcoders] example of using ffmpeg with coldfusion in flex application

2009-05-23 Thread stinasius
hi am looking for a tutorial on how to use flex and coldfusion to upload video and encode it with ffmpeg. any flex and coldfusion guru out there who can help?

[flexcoders] Print examples?

2009-05-23 Thread Tony Obermeit
I'm looking for examples of how to print a single paragraph of text in flex where I can chose the font and rely on word wrap on page margins. The few examples I've found show grids, anyone help really appreciated. tony

Re: [flexcoders] Gumbo - new namespaces - error

2009-05-23 Thread Carlos Rovira
check 2009/5/23 Mic > > > Assuming that the latest namespace changes point to this standard: > > ?xml version="1.0" encoding="utf-8"?> > xmlns:fx="http://ns.adobe.com/mxml/2009"; > xmlns:s="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/flex/halo"> > > > > > > Why doe

[flexcoders] Re: Filtering multiple conditions in an arraycollection

2009-05-23 Thread stinasius
hi i had the same problem and eventually come up with one that could help you. the only problem is that i can't get the checkbox filter to work with the rest maybe after trying out this you can help solve the checkbox issue. this filter function uses a combination of a slider, two comboboxes and