flex

Get text from a reapeater object - flex

I have a label that is using a repeater to get information form a database. Now I'm trying to pass the information in that label to another label component, but I haven't had any luck. if I do a trace on the label in the repeater eg. trace (Gotid.text); I get this error in debug mode warning: unable to bind to property 'user_name' o...

Run fucntion on popup close - flex

I've got a flex project that I'm working on. Currently I've got a popup that consists of another mxml file containing a form. Once the form is filled in and submitted I'd like to run another function then the popup closes on the main mxml file, but I'm not sure how to go about doing this? Here's my popup code private var weightadd...

1090 error occurs in Flash Builder, but update action works fine in Rails

The below student_request method updates records successfully in Rails but returns "Error #1090: XML parser failure: element is malformed.” in Flash Builder 4 beta. Now the xml works fine for other actions, so I don't think the xml is at fault. It's something in the confirm_request method. Does anyone have any idea? class StudentRequest...

How can I pass a Flex TextArea's scroll event up to Application?

I have a TextArea that I don't ever want to be scrolled. When scrolling within the application that holds this TextArea, however, the scrolling stops as soon as the mouse ends up over the TextArea. Is there any way to pass the scroll event to the application, or tell the TextArea to not claim the event? ...

Possible to reuse Effects by id in MXML Transition?

I'm sure this question has been asked before, but I'm just not sure how to search for it (kind of like trying to search for the this operator...ugh). I have a <mx:Dissolve id="dissolveOut" ... /> Effect in an Flex page I'm working on, and I would like to reuse this effect in a <mx:Transition> sequence. Is there a way to call dissolveOu...

Publish a Flex project, which is better option SWF or AIR?

Hello, if i made a project with flex, and i want to distribute it, what it´s the better choice? i mean, it is not internet app, just desktop demo, what about the computer where application should be executed, there is any way to pack the application togheter with the flash/AIR player, in order that everything needed will be just in the ...

issue integrating flex with ruby on rails

Hello, I'm having an issue integrating flex with ruby on rails. I get this error: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): <internal:prelude>:8:in `synchronize' /Users/tammam56/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' /Users/tammam56/.rvm/rub...

combobox dropdown problem when load AS2 swf file in Flex

I found the problem about combobox dropdown list in AS2 swf file. My scenario is: There are multiple swf file that was compile from ActionScript2.0 and use Flex to load those swf files in swfLoader component. There are two issue that I found and can't solve it: 1. When I load multiple as2.0 swf file in one flex application the first fi...

Adding Tomcat Plugin to Flex Builder

Is there anyway we can add the tomcat eclipse plugin to Adobe Flex Builder 3? In other words can we add all eclipse plugins to Flex Builder also? ...

Resizing street view object

Hello StackOverflow'ers, I have a (flex) app that, on the click of a button, resize a div (in javascript) at the bottom of the page and shows your position in google street view in it. The things is that if I open the browser at 80% of width, click on the button and then maximize the window, the div won't take 100% of width. I have a f...

Embedding Live Camera Images in Flex

Hi, I know how to embed standard images(in JPEG, GIF, and PNG) in Flex but can't figure out how to embed "live" image feeds. For example: http://pub2.camera.trafficland.com/image/live.jpg?system=geoweb&amp;webid=720&amp;size=half&amp;pubtoken=9362c1f835f07d2d0ebd4db9f4098e5e Can someone shed some light on this? Thanks... ...

Resizing an image in Flex whilst keeping it central

I am using a mx:Resize effect to change the width of an image in Flex (leaving the height to look after itself) but I want the image to remain vertically centered on the page. Whilst I could calculate the aspect ratio of the photo, and work out the new y value to keep it centred, I would have to include a mx:Move effect too, and I am hop...

raw sound byteArray to float Array

I'm trying to convert the byteArray of a Sound Object to an array with floats. The Sound Object plays back fine & at full length, but the float Array i get from it is cut off (but sounds correct), so i must be doing something wrong in the conversion: var s:Sound = mySound; s.play(); // plays fine var bytes:ByteArray = new ByteArray(); ...

Dynamically add Multiple Instances of a Form Based on User Input - Flex

I'm trying to create a form that based on the users input would determine how many forms to generate dynamically. I have a base state with a combo box that contains 1-4. Bases on the users selection I would like to have the next state generate the number of forms. So if you user selects 2 and click next - 2 copies of the form would be ...

Horizontallist control with XML dataprovider

Hi! I'm using a HorizontalList control with an XML file as a data provider. This is how the XML looks: <data> <zone name="Europe"> . . . </zone> <zone name="Japan"> <stores> . . . </stores> <collections> <collection id="id1"> ...

date format with adobe flex

Hello, I have a date and I would like to format the date like that: YYYYMMDD HHMMSS so for today it's 20100304 173000 But when I'm doing this: var todayStr:String = today.getFullYear()+today.getMonth()+today.getDay()+today.getHours()+today.getMinutes(); the problem is for March getMonth() sent "3" and I would like "03". There is the ...

Flex TextInput has become uneditable

I have been developing an application for the past couple of weeks and as of yesterday all of the textinputs have become uneditable. It seems like when you click on one it switches between the focusIn state and then back to the focusOut state. What could cause this? ...

Flash Components with Flex SDK

I am using the flex SDK to compile actionscript 3 classes into an swf. Some components are not included with the SDK like the fl.controls components. What options do I have for getting access to the flash components? I've seen others mention that I can export them to a swc file within Flash Pro, but I would rather not have to purcha...

Extract Text based on Character - Flex

I'm using an auto complete component and a labelFunction so that user have the ability to search by their name or id. Once the search is completed I'd like to extract the data to a query. The only problem is that I only need the name or id for the query not both, so I'd like to pull from just the id variable... Currently if the user ty...

How can I implement drag-out-to-delete in Flex?

I have a List component from which I'd like to be able to remove items using drag & drop, but without having a specific target. If you use the mac, the behaviour I'm looking for is something like what the Dock uses; when you drag something out of the bounds of the control it should get an icon that indicates that it'll be deleted (OSX us...