flex

Need to override Http Response Code from asmx web service

My web sevices support flex/flash clients and, upon unhandeld exceptions, throw custom faults that extend System.ServiceModel.FaultException. I have been informed that flex/flash can't read these custom faults if the the http response code is different from 200. This is documented as flex/flash bug: http://bugs.adobe.com/jira/browse/SD...

Create server-side DVR application to be able to record DVR in FMS

Hi I want to be able to use the DVR compability in FMS3. But to do that I need to implement a server-side DVR application it says in the documentation. The problem is I cannot find any example on this. "You need to add server-side ActionScript to handle the recording and the correct client-side ActionScript to your media player." http...

loadin components through xml

How to load flex components through xml? ...

Flex 3 global exception handling

I want to create some sort of global error handling in my Flex application. What is the best approach for this? ...

loading flex components using xml

How to load flex components using XML. The scenario is simple as like this, i need three buttons to appear in my panel, but the option true or false whether to appear should be in xml. ...

FLEX: Repeating a background on component?

I want to use small images and repeat them as backgrounds for components in Flex. Flex components currently have a backgroundImage property that allows you to pass a URL or a class to be used as the background. There is also a property called backgroundSize that you can set as "auto" which makes it the size of the image, or 100% which ma...

How to protect API Key in Flex/AIR from decompiling?

No obfuscation please and simpler the better. Similar post is http://stackoverflow.com/questions/294777/shared-secret-with-api-in-an-ajax-adobe-air-app but I was not convinced that these protect from decompiling. If they do, please explain (For example, what's stopping someone from decompiling and using the URLLoader themselves). ...

Flex: Is there a way to tell when all code has stopped executing?

Whenever a user does something a a series of scripts are executing, after everything has finished and no more scripts are being run, and the app is essentially "idol" is there a way to capture that as an event? ...

Flex: Can't monitor app while stepping through code

It would be very beneficial to me to be able to monitor my app while stepping through code so that I could pinpoint what step was causing something on the screen to happen. However whenever I am stepping through code the browser just looks blank white. Does anyone know if there is a way to view your application as you step through code? ...

Flex based UML designer

Does anyone know of any flex based (preferably open source) framework or component to edit UML? I was looking for something like gliffy.com, however that will not let you export to an XMI file. ...

Changing individual TextArea/TextEditor lines in Flex?

So for a summer project I am thinking of writing a colaborative code editing application in Flex. In order to do this I need to be able to modify individual lines or characters in a text area as different user's modify the same document. I think I've heard of Flex 4 having support for text primitives but that is still in development. I...

flex and .net 2.0 web service, how to allow access from other domains?

I created a proyect in flex builder with application server type set to none when I debugg, I can acces the web service from my local machine thats on a site http://mysite.com/ws/ws.aspx?wsdl when I upload the flex app to mysite.com/myapp.html it works great but when I upload it to myapp.mysite.com/myapp.html it wont access the web se...

Flex :: <mx:transitions> not working Properly in my flex project ?

i used <mx:transitions> <mx:Transition fromState="*" toState=""> //universal_title name for TitleWindow id another stage .loginform is panel id another winidow <mx:Sequence targets="{[Universal_title,loginform]}"> <mx:Sequence id="sequence1" filter="show" > ...

Flex: Combobox loses is focus when data-provider updated?

It seems that ComboBoxes loose their selected item after their dataProvider updates, even if the same selected item is still in the dataProvider. They convert back to the first item being selected. Is there anyway to prevent this? So that if the same object is in the dataProvider it keeps the same object selected and only reverts back t...

Find the word the mouse is over for Text component (Flex/Actionscript)

Is it possible (if so how) to find out what word the cursor/mouse is over when it is moving over a < mx:Text > component? So for example as the user moves the mouse along a sentence (inside text component), each word will highlight as they go (I know you can highlight while pressing the mouse button down - but that not how I wish to do i...

How to Auto-resize font size to fit text box height / width?

I am trying to have text automatically size its font to fill an entire text component. My current approach is to set font size as a function of the number of text characters and the text components height and width but I can't find the right coefficients to make this work nicely. Is there a simpler or more elegant way? Does truncateTo...

Flash versus Flex

I've tried looking everywhere for a concise list of the advantages and disadvantages of using Flex vs. Flash. Coming from a programming background, I absolutely love Flex. It's easy to pick up, and since it can use flash classes, why would I want to use Flash without flex? Flex: Pros: good for RIA development provides many user-inp...

Flex: container scrollbars in HBox

I have an HBox in my flex application. The problem is, when there are too many things inside the HBox a scroll bar appears at the bottom of the app. How can I make it appear in the HBox, so the scrollbar only scrolls thestuff inside the HBox and not the entire app? ...

Flex: Manually adding drag and drop support

I have a container that contains an image that I need to drag from one container to the other. The Flex language references don't specify anything useful, nor did I find a tutorial for how to do this. How do I manually add drag and drop support for elements like images? Any help would be greatly appreciated. ...

Is it possible to access static fields declared in a host application by movies loaded dynamically using SWFLoader

Is it possible to access declared static fields in a host by a dynamically loaded movie (provided the loaded movie is from a fully trusted domain). My main concern is to make sure we don't expose data to loaded swf's, but want to still listen to events (via hosted apps callback functions) fired by the loaded swf. UPDATE SWFLoader (f...