flex3

How do I fix this warning in my mx:request tag?

I'm running an HTTPService with the following request: <mx:request xmlns=""> <view>{myViewStack.selectedChild.name}</view> </mx:request> The idea being to pass which child is selected on the viewstack to the php page, and then get that back so I can run some logic based on which child of the viewstack was selected at the time. Ev...

Advantages of Migrating Flex3 App to Flex4

Hi guys, What are the advantages of migrating a Flex 3 app (Java backend, BlazeDS, Spring, Hibernate) to Flex 4? One of the biggest advantages of Flex 4 is design. Assuming that design / UI isn't a big driver for the business right now as compared to performance, what are the other factors we can highlight? We have implemented Cairngo...

Adobe AIR: how to play and download an audio file synchronously?

in adobe air , I can play a mp3 file from the web , and download the file to a custom file system before or after too . but in this way I have to download the file twice factly. So, how to save the file to a custom location when the sound is playing , and using the same download file stream for not waste any bits? ...

Streaming support for flex with Ruby On Rails (working with live data )

Hi Freinds, I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same. I am using Jruby with RoR. Please share the links for any similar implementatio...

"Link" against a SWC in Flex

I'm trying to do a very simple app in Flash/Flex, that loads an image embedded in the swf itself and then shows it. The thing is I'm trying to do it using the command line only (mxmlc and compc) and without using @Embed, and failing miserably. I have a very simple Main.as : package { import flash.display.*; import flash.utils.*...

calculate total time in flex audio player?

How to calculate the song total time in flex audio player. i want to assign the total time to progress slider.. please any one help me.. Thanks Aswath ...

Can I override the mxml request in an HTTPService? How?

I have an HTTPRequest in mxml that has an mx:request defined inside it. I use the info in the mxml request 99% of the time (I thought it was 100% until I found this bug). So I need to send the HTTPRequest with one of the items in the request different. I tried using the send() method and sending my own object, much like you would if no r...

Programmatically Upload larger Files in Flex

Hi, I created an application as part of an ASP.NET site. I would like to receive error notifications in my inbox whenever something goes wrong with that flash application. As I do not have control over our mail server (which has a different domain name), I cannot establish a cross domain policy allowing me to send error emails to my in...

Retrieving a single cell value from a datagrid in Adobe Flex

I'm using CF to retrieve values from a database that are then being stored in a datagrid in Flex. I then want to selectively take the value from one cell of the datagrid and store it as a string variable. I've searched around, but I haven't been able to come about a solution. The users will not be interacting at all with the datagrid as ...

ActionScript3: Load XML located inside .swc

I have written a Flex Library project - a .swc file - which is supposed to read default configuration from a XML file inside .swc. This .swc file would be used by other modules to perform some operation. I am unable to make the URLLoader to load the XML inside the .swc file. When i run this as a normal Flex project, things work fine wi...

How do i merge an audio netstream and a video netstream into one republished netstream using flex3?

Hi, I have two netstreams: audio published in red5 video also published in red5 Now I'm a flex3 application and I need a way to be able to attach the audio of stream 1, and the video of stream 2 to a new netstream and just publish it. How do I do that? NetStream will only allow me to attach Camera or Microphone... ...

Image gallery with overlapping ....

Hi there, Image Gallery with overlapping Fade In and Fade Out effects ??? I'm trying to find an idea to go by or some code snippet for an Xml Img. gallery where I can use Images which are fading 'In and Out' before showing the next Img. a type of overlapping, and which than again does the fade In and Out thing. ** I have been able to ...

Drawing a dashed line across the tops of Flex Column Chart

Hi all, Please find the below code <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ [Bindable] public var testAC:Array = [ {date:"without", close:50}, {date:"with", close:45} ]; ]]> </mx:Scr...

How to create and write data into a file using flex3?

I want to create a file and write some data (userid) into the file at first run of my application, during the second run all the operation (will go to the next state) based on the file data, is it possible? How to create and write data into file? ...

BlazeDS - Conversion from ArrayList <BaseClass> on java side to Actionscript

Hi, So we have a java class with two ArrayLists of generics. It looks like public class Blah { public ArrayList<ConcreteClass> a; public ArrayList<BaseClass> b; } by using [ArrayElementType('ConcreteClass')] in the actionscript class, we are able to get all the "a"s converted fine. However with "b", since the actual class comin...

Scrollbar skininng problem

I'm skinning scrollbar in my flex app and got one problem. This white square between scrollbars(view the image) ruibs all my design and i need to disable it, make it invisible, change it background color, alpha or smth like this. I can paste some code here but i think there is no need in it. Working in Flex 3. any ideas? ...

Placing popup window in the middle of the main window.

Hi Flex developers, I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y. Thanks in advance, Uzi. ...

Flex, States and inheritance

Is it possible to have a child class which adds states to the set of states which are defined in the base class? Currently it looks like my child class overrides all of the states in the base class. ...

Flex3: How can I make a container resize based on the size of its contents?

FYI, I'm a Flex newbie. I'm trying to create a Flex application that can automatically shrink based on the size of the components that it contains, so that a user can shrink it to a minimal view to see more of the HTML page it's embedded in. I know how to change the size of the whole application using ExternalInterface, but I'm having ...

how to validate the radio button group? in flex

iam new to flex , can any one say ,how to validate the radio button is selected or not in flex 3 if my question is wrong ,plz suggest me any thing regarding the validation of radio group plz help me ........... ...