flex

in flashbuilder (flex 4) select enclosing element

Seems Adobe ignores strong movement now towards the productive programming. E.g. flash builder ide lacks keyboard shortcuts that are very useful in eclipse. If code templates, extract method, extract local variables are covered by some not-free plugins (and not cheap) like source mate, expanding selection to enclosing element I cannot fi...

remote class alias in air

Hi in Flex one can easily define the remote class alias like the following: package samples.portfolio { [RemoteClass(alias="flex.samples.marketdata.Stock")] [Bindable] public class Stock { public var symbol:String; public var name:String; public var low:Number; } } But my question is how do you do it in AIR since the ...

Can't read output of httpservice

I have an HTTPservice id="myhttp" url="site.com/script.php" method="POST" resultFormat="xml" The script it uses returns $output = '<worked>' . $worked . '</worked>'; echo $output; Problem is when I try to read worked, it tells me the variable worked is not there event.result.worked myhttp.lastResult.worked The only thing that ...

What are the alternatives for Java authentication?

Preferably something that integrates well with a Flex front end. Yes the Spring Security guys say this is possible, but all examples seem to use legacy jsp tag libraries making them half useless as examples. I don't want to spend a month setting up and learning how to use a security tool. I would like a tool which supports using annotati...

Flex: Method doesn't work when being called on parentDocument

Hi, I wonder is anyone can look at this code and tell me why calling the removeSelectedChild works when called from the same document, but returns the following error when called from the child document/component. "ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller." <?xml version="1.0" encoding="utf-...

Touch Screen Product Catalog for Retail Store

I am a UI/UX designer and I would like to create kiosk type of app that would be a product catalog (help/suggestor) for customers in a retail store using a touch screen monitor (and computer). Something as simple as this: http://www.youtube.com/watch?v=aoH0u6YTTK4 This is what I would like it to do: 1st Screen (Main Menu): Pick a t...

Is it reasonable to start using Google Maps for Flash rather than Javascript version?

I am planning to build a web application highly based on Google Maps API. I am considering either using the Javascript version, or the Flash version. I would like to create an interface which will be quite rich. Should I go for JS version of the API or Flash one? Also I do not plan to purchase Flex Builder, so ideally I would like to use...

Accessing an RSS feed in Flex, works when run from Flash Builder 4, but not when the project is online?

Hey guys, In my Flex 4 app, I access an RSS feed (I'm using http://news.ycombinator.com/rss as a dummy). It works okay when I run it from Flash Builder 4, but if I export the project and upload it, I get the following error when it tries to load the RSS feed: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox vio...

Developing Modular Flex Applications

Hi there I'd like to be able to understand how to develop a Flex application such that I could provide implementation classes at runtime. In the Java world I'd specify interfaces in an JAR (e.g. myapp-api.jar), the implementation in a separate JAR (e.g. myapp-impl.jar) and package these along with other resources in the application WAR ...

Chrome: Flash Video Player doesn't work

hi, could you explain me why my flash video player doesn't work in Chrome while it perfectly works in other browsers ? (Firefox and IE) You'll see it flickering... thanks ...

Is there any javascript charting available that is as good as flex charting?

I am looking to replace my flex application to support IPad. Are there any good charting components that I can build using javascript to replace my flex charting components? and are they any good? ...

What tools do I need to write Adobe AIR applications?

I cannot afford the Creative Suite or Flex Builder but I would like to develop a commercial Flex/ActionScript AIR application. Is this a viable goal and are there robust tools out there that don't cost a small fortune? Have others done this? What am I missing out on without Adobe's pricey software? ...

Flex Builder 4, ZendAMF and Data Services - Error?

I'm trying to set up my Flex Builder 4 dev environment, up to and including PHP and the ZendFramework on a WAMP stack on my hard drive. Everything goes swimmingly until I try to set up a data service. I point it to the php class file, it populates the various fields in the form so I know it understood it, and I press next. After a littl...

Prompt Property on Spark Combox Component in Flex 4

It appears there is no prompt property for the spark Combobox component as there was with the mx version. Anyone have a simple workaround for this or know something I'm just absentmindedly overlooking? Thanks in advance. ...

HTTPService resultFormat, how to choose

HTTPService has a property resultFormat which can be set to any of the following: array e4x flashvars object text xml I looked at the documentation to understand the difference, but still couldn't understand when to use each. I'm looking for the lightest weight of all of them. P.S. I'm consuming output from my own server, so can chang...

PHP script works fine until I send it a parameter from HTTPService in Flash Builder 4?

I'm using a PHP script to read an RSS feed in my Flex 4 app. The script works when I put the URL of the feed in the actual script, but I can't get it to work when I try to send the URL as a parameter from a HTTPService in Flex. Can anyone tell me what I'm doing wrong? Here is the HTTPService from Flex 4 that I'm using: <mx:HTTPService ...

doesn't parse xml when it's a single node

my script.php returns this XML <all> <item> <field1>value1</field1> <field2>value2</field2> </item> <item> <field1>value1</field1> <field2>value2</field2> </item> </all> The HTTPService uses the default resultFormat="object" but I don't declare it since it's the default. Then I bind it to a List dataPro...

Flex 3 how to shrink the text

hi all, in flex 3 how to shrink the text when i shrink the component? ...

how can i deploy a project only for Windows pc not for Mac pc in flex?

I want to deploy my project only for windows os not for Mac pc. The application is build up with flex. How can i deploy this only for window pc? ...

Flex - weird display behavior on large number of Canvas

Hi, I have a Flex app (SDK 3.5 - FP10) that does mindmap trees. Every node is a Canvas (I'm using Canvas specific properties so I needed it). It has a shadow effect, background color and some small ui element on it (like icons, texts...). It works perfectly until it goes over ~700 nodes (Canvas). Over that number it shows grey rectangle...