flex

Sorting in Advanced Datagrid

Hi, I have a Advanced Datagrid with sorting. I think it is string sorting by default. But i need the sorting in number. How can i achieve the number sorting. for example: i have row numbers like 1 to 100 . i need number sorting like 1,10,100. thanks, ravi ...

FlashDevelop - training materials, tutorials, books (Flex/Flash development without FlexBuilder)

Hi, I want to start Flash/Flex/ActionScript development and got lost with the technologies, documentation and tools available. Searches pointed me to Adobe FlexBuilder and Adobe Flash (Designer, CS3, CS4). Then, I found FlashDevelop, learned that Flex SDK and compilers are free. Also, you can make a complete Flash application in FlashD...

ActionScript 3 Object to name value string

In a Flex application I am trying to turn an Object into a QueryString such as name1=value1&name2=value2... But I am having trouble getting the names of the Objects children. How do I enumerate the names instead of the values? Thanks ...

How do I filter out secific nodes of XML?

Take this XML example: <root> <grandParent GPid="1" hidden="false"> <parent Pid="1" hidden="false"> <child Cid="1" hidden="false"/> <child Cid="2" hidden="true"/> </parent> <parent Pid="2" hidden="false"> <child Cid="3" hidden="false"/> <child Cid="4" hidden="false"/> </parent> </grandParent> ...

Is there a way to time how long a function takes?

I have some function I want to time, but I have no idea how to do it. In javascript I can just get the current time in milliseconds, run the rest of my function, get the current time in milliseconds again and alert the difference. Viola, I know how long the function ran. In ActionScript, it runs everything at once, so my start and end t...

BlazeDS authentication/session timeout

I've implemented security of a BlazeDS service accessed through a Flex application by logging in and out of the ChannelSet (I followed: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=services_security_1.html ). How do I handle timeouts? Right now I have a faultHandler for RemoteObject calls that checks if event....

Working on a Global Search tool - Just like on MAC

Hi I am working on a search tool for my website in Flex. I want it to work exactly like the "Spotlight" tool on MAC desktop. "http://www.recipester.org/images/6/66/How_to_Use_Spotlight_to_Search_on_Mac_OS_X_42.png" The link is to an image of spotlight. I want to create almost the same thing in FLEX. What I currently have is a "Autoco...

Flex AS3 Project Convert to CS4

Hi, Has anyone got experience in converting AS3 projects (no mxml) in Flex, to Flash CS4? Are there any resources out there as to what works in Flex Builder that doesn't work in Flash, and how to get the project running? I read somewhere that (for instance) certain Metadata tags don't work. If I've got all my code in the src folder,...

Flex: computeSpectrum with streaming media?

I have a Flex3 app I wrote and I'm streaming audio over RTMP from a Red5 server. I'd love to be able to use SoundMixer.computeSpectrum(), but the spectrum data is all zeros. In one location, Adobe writes that SoundMixer.computeSpectrum() does not work with RTMP data: "For media loaded from RTMP sources, you cannot use the BitmapData.dra...

Set a double click event without disabling default mouseup/mousedown behavior.

I'm trying to enable a double click event on a flex control without disabling the default mouseup/mousedown behaviors. I'm using the ESRI Flex API for arcgis server, and I have a map control with one background layer and a GraphicLayer. The graphics layer has several Graphic objects that respond to mouseover, and allow the user to pan ...

Flex - get bitmap

Hi Is it possible to get the bitmap data from a component using ActionScript? I dynamically load an image. onComplete I create a Flex Image component and add the loaded image to the source loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event):void { var image:Image = new Image(); image.x = 0; im...

Flex: Pass data from preloader to app?

I would like to track the customer experience in downloading and initializing my flex app. (a) Is there a way to pass data from preloader to the application? I would like to pass the time it takes to download and the time it takes to initialize. (b)Alternatively: Is there an event at the application level that corresponds to the preload...

Best technology option for implementing RIA with Rails as the backend?

I'm working on a application that requires a feature-rich media view, including images, videos, and smooth sequencing based on capture time. The backend is currently written in Rails. What's currently the best, most mature option for implementing RIAs with Rails on the backend? I've looked at Flex, Laszlo, and ExtJS. ExtJS is interestin...

Flex Event Blocked by Another Object

I am using a box element to add a transparent overlay to a column of buttons. I want to add a click event to the buttons. However, when you click a button the click event is only triggered on the overlaying box. Is there anyway to pass the event to the underlying button or perhaps a better way to display an overlay without blocking the c...

Simultaneous Flex Web Service Calls to SAP

I am working on a Flex application that uses ActionScript to make web service calls to SAP. I have generated ActionScript proxy classes, and have event listeners waiting for the service to return a result. This works fine when I call only one webservice. However, when two webservices are called, one of them either does not return any res...

How to get Flex components to fill available space using Actionscript

I was laying out my Flex components using mxml and had them working correctly. But then I wanted to switch them over to Actionscript because I wanted them to extend a base component that provides default functionality. I've go the code working except that my components that used to fill the entire space using width="100%" and height="1...

Unable to call the server side event In the Flex Remoting

When my application connecting with the netconnection and with shared object application connecting fine but while connecting shared object they are not firing the server event like application.onAppStart = function() {} , application.onConnect = function(newClient, userName){} follwing are my code /// main.as Client.prototype.getServe...

Deploying flex application to tomcat without eclipse plugin

I am using flex sdk to develope my application, now i want to deploy it into tomcat server with blazeDS how to do it with out the eclipse plugin? ...

Error in writing a file with message while sending chat msg to client

i want to store sending text in file every time while am sending msg to client as follows private function send3():void { producer.send(message); RmSrv.writetofile("poposdfasdfasdfsdf"); } getting fault details follows... Channel.Security.Error error Error #2048 url: 'http://localhost:8400/messagebroker/amf' if i comm...

How can I move the text container of Text Layout Framework in flex

Recently i use Text layout Framework in my project which is developed with flex. Now i need to move the text container. Description : I create a _textContainer by using Sprite() class. Now i can write text in this container, can edit the text. But now need to move the _textContainer so that i can place the text desire place. The text inp...