flex3

Disable WindowedApplication Resize in Flex

I'm trying to make it so the WindowedApplication in Flex is not resizable. However, resizable is a read-only public variable for the class. How do I make it so the user cannot resize the Flex application (running in Adobe Air)? ...

New to FLEX - translating asynchronous comms from Java

Hi, I'm currently translating a Java project to Flex 3. A large part of the project involves asynchronous communications. The program will connect to a stream, start downloading data. Shortly after connecting, it will need to download context data in the same format (a keyframe) by HTTP. At various points during the stream or keyframe,...

flex textflow link processing

Text Flow: <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"&gt; This os the Xml content to be displayed in my text flow. Added <a>link</a> for testing. I need to show a custom tool tip on click of the link. <img source="assets/images/0.jpg"/> </TextFlow> I am importing text xml in Text Flow using: _textFlow = TextFilter.impo...

how to have a Hover details box in flex 3 similar to ones present in google geomap visualization examples.

Hi all, i want to know if there is a already available hover details component similar to the one shown in google geomap visualizations examples which shows city name and its details, or any other similar component that can be used a hover details box. ...

How do teams use Flex Builder Pro to develop large applications?

We develop applications for the Flash platform, which have LOTS of run-time loaded assets (graphics, data, audio, code-libraries, etc.) Those assets are logically organized within project folders. Programmers and designers get the latest from version control, check-out their code or design work, test within a full local copy of the app...

confused about HttpService's useProxy (Flex 3)

I have a flex app, where the user can provide a link to a resource. I want to perform a simple validation and check if the url is actually valid (not just structure, but actually test the link to ensure I get a 200 OK). I figured I would just use HttpService and use the HEAD method, but it seems that this is only available when you set ...

Flex AMFPHP vs WebORB vs XMl

I am a newbie to Flex 3 and Flash remoting and I can't decide which technique to use for frontend/backend communication. I started of with XML, but it seems overhead to construct all XMLs in PHP, parse them in Flex, and for sending back data constructing again XMLs in Flex and then parsing them in PHP. That's why I found AMFPHP, which ...

flex air datagrid setfocus cell by cell

Hi all, I have a datagrid with custom itemRenderer. Now I need to setfocus int the grid cell by cell. For that I Googled & got a way i.e var findrowindex:int = 0; //nextButton Click Handler var focusedCell: Object = new Object(); focusedCell. columnIndex = 3; focusedCell. rowIndex = findrowindex; dg.editedItemPosition = focuse...

Flex 3 - Send a HTTP Get request from Flash and want Firefox to show Open With Box.

Hi all, I am a newb developer as far as Flex and Flash is concerned. This is what I'm trying to do: 1) Send a HTTP request to our server (with a custom made URL). The URL basically tells the server to send data in a CSV format. 2) The server sends a 200 OK response, which has Content-Type: application/csv and the payload is pure CSV da...

Recreate a Flex 3 scene

Hi, Does anyone know how i can reset/reinitialize a state in flex 3? Let's say I have the following code: <mx:states> <mx:State name="Scene1"> <mx:AddChild> <Scenes:Scene1 id="scene1"></Scenes:Scene1> </mx:AddChild> </mx:State> <mx:State name="Scene2"> <mx:AddChild> <Scenes:Sc...

Call python script from AIR application?

How can we invoke a python script using AIR 1.5? ...

Flex 3 - Equals sign (=) in TextInput control Is displaying as a plus sign (+) in Firefox

When I deploy my Flex application and browse to it in Firefox (3.0.8), typing an equals sign into a TextInput control results in a plus sign. In Chrome and IE, an equals sign works as expected. Also, when I run the Flex project locally in Firefox, the equals sign works properly. I have tried deploying the SWF on a different server...

Can you have multiple groupings of axis labels in Flex?

I'm trying to build a column chart that has groups it's data by quarter, then by year... | Q1 | Q2 | Q3 | Q4 | Q1 | Q2 | Q3 | Q4 | | 2008 | 2009 | I have been unable to find any examples of this in the flex docs. Is this possible to do in Flex 3? ...

flex xml appendchild

Hi, In my flex project I am using XML to populate TextFlow using: TextFilter.importToFlow(XML(str), TextFilter.PLAIN_TEXT_FORMAT); I woud like to add html links to the textflow. For that I adding html a tag in xml but I am getting parser error(malformed xml). var fixed:String; fixed = fixed.replace(link, "<a href='event:xyz' >"+link...

AdvancedDataGrid SummryRow

One update: I tried using the SummaryRow on the datagrid for its basic functionalities and it is working. Now, I need to embed the text in the summary fields. E.g. If one of my summaryfields returns me the count then it should be able to display 'TOTAL (count)' Is it possible with the summaryrow? Also, I need to have the data to be fo...

In Flex, how do I create, populate, and display a bitmap?

Starting from a totally empty MXML application: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > </mx:Application> What is the script that will: create a bitmap (should this be a BitmapData object?) programatically populate it with data (e.g. draw a circle) (i...

Flex3: Custom Item Renderer does not listen to events dispatched by parent

I have a List with a custom ItemRenderer. The ItemRenderer contains a Checkbox and a Label. The component with the List has a 'select all' checkbox. When the 'select all' checkbox is checked, it dispatches an event that each item should listen to in order to select its own checkbox. The eventlistener is added on creationComplete of each ...

ADG SummaryRow Sorting Problem

This is my 2nd post on SummaryRows. I am done with building the summaryrow and its working fine. But, one problem I am encountering is having the row moving in between the AdvancedDataGrid when I sort by some columns. If it stays on the TOP or BOTTOM of the grid, it is understandable. But it sometimes goes in between the rows. I am findi...

Access system environment variable in AIR?

How can one access a system environment variable in Flex/AIR (say %appdata%, %userdomain%)? ...

AdvancedDataGrid LockedRowCount not working

I am trying to lock the 1st row in my ADG. This 1st row is the SummaryRow. When I set the lockedRowCount property to 1, it still does not freeze the 1st row. I have tried with different numbers, but it is still not working. In fact, when I try to trace the value for lockedRowCount, it traces it as 0. Can anyone provide suggestion on how...