flex

flashdevelop not compiling correctly

When I try to compile my application in flash develop. it wont compile. even if I put a simple trace in the Main class. Nothing happen. the sdk is in the correct place. ...

Error on second datagrid..multiple initializers for dataprovider

I have a main datagrid, and want to launch a window with another datagrid in it, bringing in a different dataprovider. However, when I do this it acts funnny, brings in some default datagrid information and then gives me an error when I try to set the dataprovider: "multiple initializers for property dataprovider. (note: 'dataprovider'...

How to show Image Thumb in Flex DataGrid linked to FileReferenceList

Hello I have a Flex datagrid linked to an array collection that gets filled from a FileReferenceList for uploading images to a server. I want to show a thumbnail of the image in one of the grid columns as a preview. I have seen a lot of examples of doing this with an Item Render but those examples where using images on the server. These...

trouble with stylesheets in flex 4

For the life of me I can't get stylesheets to work.. something having to do with the namespaces and the way I am setting them. So here is my code. <mx:Style> @namespace mx "library://ns.adobe.com/flex/halo"; mx|DataGrid { headerColors: #0066cc, #00ffff; borderThickness: 7; borderColor: #00ff33; } </mx:Style> <mx:Da...

Is immutability and Flex a bad mix?

In my little scratch built flex game framework, I have defined a class called ThreeDPoint, that carries an x, y, and z co-ordinate set to track my in-game objects, called Actors. I also use the class to create movement vectors that stack up and are added together every frame to create a cumulative movement vector for each Actor. I made ...

Show image inside chart datatip (Flex)

Hi, I want to show an image inside a chart data tip, I did it using html but the problem is that the image is big but the datatip doesnt expand so the imagen overflows the datatip box, how can I make the datatip to resize? Thanks! Here is the image of my problem ...

External SWF variable updates global variable in Main timeline

I have been searching all over and have yet to find an actual working solution for this I have 2 movie clips, one being loaded into a container MC via "loadMovie();" In the main movie there is a variable with no value, in the external movie there are 5 frames, each with a value to update the variable in the main movie. IE: if on fram...

for HTTPS application

Hi, I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. Any one please help me which one is the best for developing HTTPS application. Thanks, Ravi ...

Parsed XML Printing Using E4X: Inconsistent Results?

I'm trying to parse an XML file of tweets as retreived from Twitter's restful API (http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-user_timeline). The issue is, when I print it using: tweetTextArea.text += xml..text; I get the tweets. However, when I try the following, I get just numbers: // Print all tweets. for (var t...

Uploading images from Flex to Rails using Paperclip

Hi everyone, I'm looking for a way to upload images that were created in my flex app to rails. I've tried to use paperclip, but it don't seem to work. I've got this tutorial here: http://blog.alexonrails.net/?p=218 The problem is, that they are using a FileReference to browse for files on the clients computer. They call the .upload(.....

Flex, Cairngorm and XML-RPC

I'm new to Flex, and Cairngorm so bear with me... I need to integrate a Flex application with a Magento site. I prefer to do it with XML-RPC instead of web services because of speed and our other applications integrate via this method. I'm using the as3-rpclib to do the XML-RPC communication. I can get things to talk, but timing is ...

Inspect HTTPS traffic from SWF files

Is there a way to inspect HTTPS traffic from Flex applications compiled to SWF files? I'm trying to use Fiddler for this, have added DO_NOT_TRUST_FiddlerRoot to my Trusted Root Certification Authorities so my IE now can access other HTML sites that would normally complain about untrusted certificate. However, the HTTPS traffic from the ...

Flex: Modules v/s Components for a large scale project

Hi, I am planning on a Flex project that involves incorporation of a lot of features. Each 'feature' can be a component / module. Which is preferred and what is the difference between a module and a component? Thanks ...

I cannot figure out how to access items by their ID if I create them dynamically.

In one area of my application I am creating a display that builds itself with actionscript during a loop. (in my actual app there are A LOT of nested children and my function might be looking for any of those children) In that AS I assign each item an ID, but when I try to access that item by it's id it fails. What gives? and how can I a...

flex creating xmllist with cdata

I am trying to dynamically create an xml list.. however when I add in cdata tags it give me an error saying tags must be terminated, even though I'm not using those. It seems like it is trying to read the cdata tags as tags. var addList:XMLList = new XMLList( "" + "" + personName + "" + "" + personTitle + "" + "" +...

Flex chart datatip position

I have created my own dataTipRenderer for a PlotChart and I am trying to change the position at which it is displayed. I have tried: this.x -= (some number); this.y -= (some number); Ive tried putting this code in the updateDisplayList function and when I set the data, but that didnt seem to move the datatip at all. ...

FlexBuilder/MXMLC: Profiling the build process?

I've noticed that, recently, builds in FlexBuilder have been taking much, much longer than they used to (30 or 40 seconds, as opposed to 3 or 4). What is the simplest way of profiling these builds to figure out what is taking so much time? ...

Catch any error in Flex app and record it

Hey all, is there any way to catch any error within Flex application and send it via let's say email or record it somehow (this emailing or recording part is not the problem, just error catching for whole application is). This would be very useful, for fining any bugs that clients get while using app, and which they don't send in as n...

flashdevelop vs flex builder

I just started making games and I decided for my next project to use either flashdevelop or flex builder. Reason being is because you can embed just about everything and for licensing purposes and it recommended the the game is compiled into one file. flex sdk is good with that type of stuff. As of right now I decided to use flashdevel...

freely floating Adobe Flex application panes inside a browser window

In a browser-deployed Flex app, is it possible to create several freely floating and independently draggable panes, each of which contains Flex GUI elements, and each of which can communicate with each other as well as with the DOM via the Flex-Ajax Bridge? ...