flex

Flex Builder: src location

Hi, how can I change the location of the src folder? Right now I can just move the src folder from the navigator to some other location, but it's not being referenced as the src folder. (it doesn't have the square-ry icon on the folder icon) Thank you, Tee ...

I am using a Flex widget for my facebook application. How can I get the current user's facebook ID?

I am using a Flex widget for my facebook application. How can I get the current user's facebook ID? ...

Packaging some files with a Flex/Flash App?

Is it possible to package a XML file with a Flex app inside the .swf? With a Silverlight application, you can do this quite easily but you have to do a http request in flash to grab it if you're using flash?? I've been wondering this ever since I did a pretty serious silverlight application and utilized local txt and xml files for se...

Google maps steps description in HTML and Flex datagrid issue.

I am working with google map api ... http://code.google.com/p/gmaps-samples-flash/source/browse/trunk/samplecode/GeocodingSimple.mxml What i want to do is to take up all the steps of direction, and place them in a datagrid. but the problem that the google map api provide description on in HTML format. and then i put this steps data in...

Air Flex Uploads URLRequest maximum simultaneous

Hi I'm trying to upload to amazon s3 using FileStream and UrlRequest. But it seems I can only upload 2 files simultaneously. Is there a reason for this? How can I work around this? Also would this affect web service calls to a SOAP web service on the same domain? Thanks, ...

resizable Grid Row and Grid Item

Hi all! I have a mx:Grid component in my flex application. But I would like to resize it by clicking and dragging in the border. This component doesn't allow doing that. Does anybody know any custom component to do this? I want to put a panel in each gridItem of this Grid component and resize it. ...

flex3:How to override function set label of a button

Hi, Flex 3 question: I trying here to avoid having to bind resources to all my components labels ( ie a button) and find a way to have this automated. Problem: It corrupts the layout in design mode to bind directly in the mxml label="{resourceManager.getString('myResources', 'submit')}" and makes the design view useless. but when dec...

Flex textbox, how to make a function to select all?

Hello, I'm trying to create a simple "smart" textbox component in Flex, and I want a function inside it that I can use outside of the component to force itself to select all text inside of it. Inside my SmartTextbox.mxml public function selectAll():void { this.setSelection(0, this.length); } I also use this function when the tex...

I need to load multiple swf in HorizontalList, Flex3 Air application

I need to load multiple swf in a list like control so that I can load all the swf from the folder and show them to the user, then the user can select any one and view it. How can I load swf in HorizontalList in Flex3, please send me any example or link regarding this requirement. Thanks in advance. ...

flex strip in chrome and safari

I am making a web application which has a flex strip as an input text box All is fine in firefox and IE but in chrome and safari a textbox gets visible on the flex strip as i click on it. why does the border of textbox behind the flex strip appears on clicking the flex strip. ...

Creating Custom RegExpressions for MX:Validator - Explanation.

Hello guys. I'm been trying to validate Data in a Flex TextFiled, and I've encountered some Validator's include in the Flex Framework. But lets say i want to build a custom Validator with my own RegExpression. Can somebody do me a simple example. Appreciated. ...

Sharing code between swfs

Hi, Lets say I have two swfs A and B, and at runtime, swf A loads swf B, and I wish to share code between them, to minimize file size and download times. If swf B has some code (say. com.blah.HelloWorld), I tell the compiler to have swf B's source in swf A's classpath, but only do a compile-time link and not actually compile com.blah.H...

Flex - AS3 vs. MXML - Is there a compilation speed difference, and how does the mxml compiler work?

Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3? ...

Flex application bookmarking problem/"#" at end of url

I work in an area where the business users heavily depend on bookmarks to access their work-related web applications. Our standard browser is Internet Explorer v6. We have a new Flex application - when you add the site to Internet Explorer Favorites, then later try to access the site with the Favorites link, we get the following error...

How to avoid native authentication popup in AIR on Mac?

In AIR on Mac, when I send login creds to a service and they're incorrect, AIR displays a native popup window to try logging in again without dispatching an error event. Twitter provides a header (suppress_response_codes=true), which returns any error as a status 200 with the error message. I'm using HTTPService to connect to a service w...

can't read the xml data send from flex in php

Hi i have used the code from http://www.switchonthecode.com/tutorials/sending-flex-data-to-php-using-xml#comment-3635 to send xml data to php... I don't know y i am having problem acessing data in php. Can anyone tell me how to see if the data has arrived at the php. Thanks ...

Should I put my flex project within my rails project?

I have a project with a RESTful Rails back-end and a Flex front-end, first time for me with this combo and I debating whether to put the flex source somewhere inside the Rails folder hierarchy or making it a separate project. If I do so which folder would be most suitable /lib? Also be doing one click deployment with Vlad which can also...

Combobox Dataprovider - Only gets labelField from XML not the associated ID.

Hello guys. Back again this time working with data providers. Well i been doing a bit of training with Flex, and I've searched, and i managed to get a ComboBox being populated through XML data. Its works pretty well, he gets the LabelField for each item from XML, but the ID associated to each item he doesn't get then from the XML. Cod...

Converting a Flex custom component to a module

How to take an existing custom component in Flex and convert it into a module? EDIT: What should be done in the mxml where this custom component is used? Should it be replaced with a to load the module? If yes, how to deal with code that uses instances of the components? ...

FlexBuilder: Can it refactor at the package level? Am I doing something wrong?

I know that FlexBuiler's refactoring engine can deal with updating variable names… But I can't figure out if it's possible to refactor at the package level. For example, I want to move foo/a.as to foo/bar/a.as, and I want the package path to be updated (ie, from package foo to package foo.bar) and references to be updated accordingly. ...