[flexcoders] The FDS didn't respond suddenly. Have you had such case?

2010-08-04 Thread sn197412
In client environment, the FDS didn't respond suddenly. The first PC could subscribe. The second PC could subscribe. The third PC could subscribe. The fourth PC couldn't subscribe and FDS returned nothing. It doesn't happen again after they rebooted WAS. However, we need the reason because it's

[flexcoders] Re: unable to bind to property

2010-08-04 Thread Dave Bonnell
As Alex mentioned, binding expressions require bindable objects. The plain Object elements in your ArrayCollection are not bindable, so you will get binding warnings if you attempt to bind to properties (e.g. name) on those objects. To make your Object's bindable, wrap them with

[flexcoders] Getting a short filename in Air

2010-08-04 Thread Julian Tenney
I want to pass filenames to fcsh. Long filenames with spaces in break it. How can Flex / Air reliably get a short filename from a long file path? . Web Bug from http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/m sgId=157602/stime=1280747345/nc1=1/nc2=2/nc3=3 This

[flexcoders] Why does Flex 4 hate modules?

2010-08-04 Thread Wally Kolcz
Just kidding..kinda.. After googling a lot of combination of terms, I was able to finally get some answers regarding problems that seem to come up while trying to develop a modular application, but, sadly, I am not 100% sure what the Adobe person was talking about. The error always centers

[flexcoders] About baselistdata class issue

2010-08-04 Thread j2me_soul
the data is XML. I debug a DataGridListData coverted from listdata has a item property. But when trace the item is always empty. In the debug perspertive window I can see that property. this is my code: override public function set listData(value:BaseListData):void{ var

Re: [flexcoders] About baselistdata class issue

2010-08-04 Thread Oleg Sivokon
Do you expect value.item to be an XML with a single root node? If so, trace() isn't going to print out the contents of that node. Use trace(value.item.toXMLString()) instead.

[flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread Greg Hess
Hi All, Finally have the opportunity to build and deploy our WEB app as a desktop application but am not familiar with how to use Flash Builder to do so. It does not seem apparent how a single project can support multiple builders in Flash Builder, do most people leverage a single code base and

Re: [flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread Oleg Sivokon
You can do that with Ant. Just compile the same project twice with different settings.

Re: [flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread Greg Hess
Thanks Oleg! I have added a ANT builder to my FlashBuilder project and am now running my new ANT build. However, it is much slower, ouch... and only Clean is working the auto and manual builds do nothing even though I have configured my targets for auto and manual. Did you have to do anything

Re: [flexcoders] Why does Flex 4 hate modules?

2010-08-04 Thread Alex Harui
Use a link-report to make sure none of the classes in the module are being liked into the main app. Lots of folks have been doing things like: Var myModule:MyModule = MyModule(moduleInfo.factory.create() Instead of using an interface. This actually links MyModule into the main app, defeating

Re: [flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread Oleg Sivokon
Maybe someone will correct me... but I think that the antTask from the SDK doesn't cache do the iterative compilation, so that's why it may be slower. This may not be the best technique, but I build with Ant in a way, I set it as an alternative builder... so, it's the same as running the Ant

[flexcoders] Re: Security with HTML from External Site

2010-08-04 Thread sapejordan
Oleg - I was able to have the text execute inline javascript and I think I could devise an extremely clever XSS attack. Injection would be extremely hard. Anyway, here is my solution: 1) Flex automatically removed all intrinsic elements from the HTML: mx:String id=inputString

Re: [flexcoders] Rounding the corners of a scroller

2010-08-04 Thread Jeff Gomes
Brand- I started with the default spark ComboBoxSkin and added a mask and some other tweaks to get it to look the way I wanted, such as moving the border rect to a higher z than the scroller. It took a bit of trial and error, especially to get it to match up cleanly with the button, which

Re: [flexcoders] Why does Flex 4 hate modules?

2010-08-04 Thread Wally Kolcz
Thank you for your advice. I did that, but I have no idea what i am looking at. As you can see, I have no references to the modules from the main application so I still have no idea why its throwing that error. Where can I find more information on how to read it? On 8/4/2010 5:16 PM, Alex

Re: [flexcoders] How to compile single project as both Desktop and WEB

2010-08-04 Thread dorkie dork from dorktown
I think you can set a property that will allow it to incremental build. Also, how are you deploying the same project to desktop and web? Desktop requires WindowApplication and web Application. On Wed, Aug 4, 2010 at 5:00 PM, Oleg Sivokon olegsivo...@gmail.com wrote: Maybe someone will

Re:Re: [flexcoders] About baselistdata class issue

2010-08-04 Thread j2me_soul
Thanks Oleg. That's the problem! At 2010-08-04 22:42:18,Oleg Sivokon olegsivo...@gmail.com wrote: Do you expect value.item to be an XML with a single root node? If so, trace() isn't going to print out the contents of that node. Use trace(value.item.toXMLString()) instead.

Re: [flexcoders] Why does Flex 4 hate modules?

2010-08-04 Thread Alex Harui
Well, you don’t have any references in the code you posted, but it could be somewhere else. Open the link-report, make sure it contains a script for the main app’s .mxml file and then see if the string name of a module is in the file. If it is, that’s trouble. The reason for the .mxml file