flex4

Flex 4 app, coldfusion help

I have some* experience using the flex framework for building web apps. But I have no experience with server side languages, I have heard the saying "choose one and stick to it" several times in reference to programming. I have chosen coldfusion. Now I have no clue what to do or where to start. Now to the details: It will be a site...

flex chats grid style

hi, How to change the flex chart grid style like dotted line? ...

How can I set handlers depending on the state ?

Hello, Let's say I have an application with several states: s1, s2, ..., sn and this app has a child component that dispatches several events: e1, e2, ..., em. I would like to define event handlers in MXML, conditional on the state of the app: <mx:Application > <mx:states> <s:State name="s1"> <s:State name="s2"> </...

Good book for Flex 4?

I read the O'Really Book: Programming Flex 3 and I thought it was awesome. I am now migrating to Flex 4 and wanted to read a great book for Flex 4. There are many Flex 4 books out there and I really just want to read 1 to get me up and running fast. So if anyone can share/recommend some books that would be great! ...

how to create cells in flex(have to find each cell)

Hi, can any one help me how to make cells in flex.... Suppose if i need 4 columns and 10 rows...it should display grid with rows and columns. And i should be able to find each cell. ...

How can I force a tree itemrenderer to redraw during a drag and drop operation?

I have a tree control with a custom item renderer. The item renderer has different states that should be set while an item is being dragged over the item renderer. I understand from reading this post http://forums.adobe.com/message/2091088 that the 'right way' to do this is to override the 'getCurrentState' method and append some text. I...

Screenflow based application in Adobe Flex/Flash

I'm searching for some code samples for my Flash application. The app is based on screen-flows , i.e each screen is defined with some visual elements with some buttons which have async events associated with them(consuming web services basically). The buttons also have functionality to go back and forth between screens and jump to any sc...

How to change a View from inside a view.

I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String)...

Attach data to Richtext using flex, mysql and php(newbie)

I'm trying to attach data to a richtext field in Flashbuilder. The data is an html string in a mysql database and I'm connecting using php. The php script is just converting to XML. The connection works because I can easily dump the data to a datagrid and I can see the string. when I try to hook the data to a Richtext field I get "obj...

how to write to an xml file using flex

Hi all, I have an application which takes live data from internet, I want to develop another application which reads data from the internet and writes it to an XML file (i.e. I want to save the state in an XML file). THE ONLY THING I NEED IS HOW TO WRITE THIS DATA IN AN XML FILE. I WANT TO SAVE THE XML FILE ON LOCAL DRIVE (SAY C: ...

Flex 4, rotation transition, use shortest route?

I have this object in Flex 4 <s:Group id="shanks" width="243" height="243" x="243" y="243" rotation.Classic="0" rotation.Centro="72" rotation.Lace="144" rotation.Lido="216" rotation.Euro="288" clipAndEnableScrolling="false"> <mx:Image so...

Flex 4: Scale to a point (zoom into an image where the mouse was clicked)

I've been trying to get this working and I can't seem to figure it out. There is an Image control that when I click on it I need to zoom in (using the center/transform point where the mouse is clicked). I have the zoom transition working great, but when I set transformX & tranformY (with autoCenterTransform false) it doesn't zoom int...

Does Flash Builder 4 now use AIR 2?

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5? Is there a way to tell which AIR runtime it is using? ...

Flex Builder 3 or Flex 4 (Flash Builder 4 aka Gumbo)

In order to learn flex as a beginner, which version should I go for or start i.e. Flex 3 or Flex 4 ? As you might have noticed that both have different components and architecture. Kindly advise it in details ...

Acess itemRenderer in List

How to access List itemRenderer and its properties (Spark - Flex 4)? I want to iterate through list and do something like (note it's pseudo code): for (var i=0;i<NUMBER_OF_ITEMS_IN_LIST; i++){ myList.getItemRenderer[i].property } ...

Flex HTMLLoader component not raising mouseDown events for all mouse clicks

I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently I am implementing a touch screen browser to enable users to navigate company training videos. In an attempt to improve the usability of the website on the touchscreen I have placed the HTML component in an adaption of Doug McCune's DragScrollingCanvas (updated ...

mx:Tree not dispatching "itemClick" event when click on icon

I have a flex tree that worked perfectly fine when we set the defaultLeafIcon={null} and the folderClosedIcon and folderOpenIcon to {null}. We decided to put the icons back in and took out the nulls. Now they show up fine, but if you click on the icon instead of the label or the rest of the row, it seems to change the selected item, show...

disable auto-save in editable datagrid Flex

I have an editable datagrid, whenever I make a change it automatically gets saved. How can I disable this? So the changes gets saved only when I click on an external save button. ...

Dynamic tab width in a Flex 4 TabBar component with skin

Hi, I have a Flex 4 TabBar component with a custom skin. In this skin, the item renderer is defined with an ButtonBarButton with a custom skin. All the tabs in the itemrenderer have now the same width. The client however wants me to make the tabs width dynamically, so a smaller tab for a smaller label, a bigger one for a long label. Do...

Flex 4 swc size smaller compiled by FlashBuilder than using ANT

I'm trying to figure out why when I compile my Flex 4 Library swc using a simple ANT tasks, it compiles to about three times the size of the swc that's compiled by FlashBuilder. Here is my ANT script to compile my swc <target name="compileSWC" description="compiles the Library"> <echo>Compiling Library SWC To Deploy SWC Folder</echo> ...