flex

PyAMF / Django - Flex class mapping errors

Hey there, I'm using PyAmf to communicate with a Flex app. But I keep getting errors. My model: from django.contrib.auth.models import User class Talent(User): street = models.CharField(max_length=100) street_nr = models.CharField(max_length=100) postal_code = models.PositiveIntegerField() city = models.CharField(max_...

Flex: is there a way to put TileList highlight "over" itemRenderer?

My item renderer is an image, and the highlight for the selected item is under the image so you cannot see the highlight, is there a way to make the highlight "over" the image? Thanks. ...

Flex / AS3 : Red Eye reduction

Hi! I was looking a component to reduce red eye effect on taken photos. Ive found an image Processing library, but it does not work well at all. I was thinking on brush an image, manually, and only paint if the base pixel color its red or near in RGB. Have no time now to explain all the process, but i need help to get this idea, or to g...

Flex: Capitalize words in string?

I am trying to do the equivalent of PHP's ucwords() in Flex. I dont want the whole string in uppercase just the first letter of each word. Does anyone know a way? Thanks! ...

Responding to ItemClick events in rows, not the headers

I have a functional datagrid that responds to itemClick events. Everything works, except that it also triggers the itemClick event when the headers are clicked. So instead of sorting the grid data they trigger the event which changes the state. I want to only have the click event respond to the rows being clicked, not the headers. ...

Adobe Flex - How to jump view?

I understand that we need to create MXML file to define a view. Suppose on user click of a button I want to show another view defined in another MXML file. How can I do this? ...

Mate PropertyInjectors - Inject to as3 class?

Does anyone know if it is possible to inject into a regular as3 (non mxml) class? I've tried with limited success. Thanks ...

Could u tell me any popular air animation site ?

i want learn more thinks about air animation . not an application so any one know popular air animation site ? ...

What is a good resource for learning Flex as a .NET developer?

What is a good resource for learning Flex as a .NET developer? ...

Adding icon to Flex color picker

Hi , I want to add an icon to the color picker component which will have the value of no color (a blank rectangle) . is ther a way to do it ? Thanks ...

Atom data binding not working

Hi guys To make it simple, I've got a Flex application with Advanced Data Grids binded with XML and Atom feeds. With my XML file, the application works very well: jiraList = new XMLList(event.result.channel.item); However, when I try to access Atom feeds, I cannot go lower than "event.result". This works: clarityList = event.res...

Can relative paths be used when using "include-libraries" in the Flex mxmlc compiler?

I am trying to force all of the classes in a .swc to be linked into my Flex project's resulting SWF file. From the docs: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_03.html include-libraries library [...] Links all classes inside a SWC file to the resulting application SWF file, regardless of whether or ...

Easy way to handle developemnt/production URLs in flex air app

Easy way to handle developemnt/production URLs in flex air app? I want to point to my local box for testing, but when I launch I want it to automatically point to the production URL. ...

Flex3 Improving basic trace

Hi, I read somewhere a utils to show the class + line nbr of the function who called a trace("foo") which is very handy once you start getting a lot of debug output. Any hints on where to find it ? it was open source, maybe shown at a flex event. trace("my debug"); > mydebug :34 bla.as3 .. Thanks, Greg ...

Compile Flex application without debug? Optimisation options for flex compiler?

I have created a simple test application with the following code var i : int; for (i=0; i<3000000; i++){ trace(i); } When I run the application, it's very slow to load, which means the "trace" is running. I check the flash player by right-clicking, the debugger option is not enable. So I wonder if there is an option to put in com...

Flex canvas and mouse event

Hello flexers, This simple code shows a green canvas on a red canvas, i would like the Green canvas to let the mouse down event to be catch by the child behind him: the red Canvas. How can i do this ? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete=...

FileReference.save() duplicates ByteArray

Hi, I've encountered a memory problem using FileReference.save(). My Flash application generates of a lot of data in real-time and needs to save this data to a local file. As I understand, Flash 10 (as opposed to AIR) does not support streaming to a file. But, what's even worse is that FileReference.save() duplicates all the data before...

Any ideas why incremental flex compilation would not work for successive compilations of identical source?

I am running mxmlc in the command-line with -incremental=true. Flex is building the cache file using a checksum the first time. Subsequent compilations fail with this message: Failed to match the compile target with path_to_cache/projectname_329043.cache. The cache file will not be reused. path_to_cache exists the cache file exists i...

Load SWF Compiled for Flash 10 into Flash 9 SWF

Is this possible? I would like to have a main swf that can be viewed by users who either have flash 9 or flash 10 installed. Inside of this swf, a separate module will be loaded only for users who have flash 10 installed. This module will use some advanced flash 10 features. ...

How do I remove "http://" from a string in actionscript?

This one may seem basic but I don't know how to do it - anybody else? I have a string that looks like this: private var url:String = "http://subdomain"; What regex do I need so I can do this: url.replace(regex,""); and wind up with this? trace(url); // subdomain Or is there an even better way to do it? ...