flex

foregoing intialization on a page

Once you load an actionscript page from scratch (in my case loading XML data from a file, initializing various other elements in a fairly time consuming way) if you navigate away from that page and then return to it, (via the browser 'back' key for example) is their a way to forego the previous initialization and just immediately bring...

Flex - Using the vanilla preloader to load additional assets?

I have a Flex application that automatically loads the SWF and it's contents and displays the default progress bar like in all Flex apps. Currently I have a class in the application using a Loader instance to load an external bitmap to be added to the stage/canvas. I'd like to handle the loading of this bitmap in the Flex default preload...

Is there something using which i can write the code in jsp, and run it as standalone program?

Is it possible to code as if you are coding for any web application [ use html, jsp, css, spring etc ], but on execution it should not require any container or any server. It should run as if we are running a swing application. Somebody told me that Adobe Flex is just what i am asking for. Is it so? ...

caret moves 2 positions in stead of 1

I have the strangest issue in Flex! Consider an <mx:TextInput /> with text. This textbox has focus and a nice little caret blinking inside. Now when you press the -> or <- button, the caret moves two positions instead of one! Also when you press the delete button, it removes two characters instead of one. This only occurs in Firefox, but...

Flex Get the XML parent of a selected Tree item

Hi everybody, I have a XML based Tree Control. The XML Structure is recursive, so the children's can have the same Element as the parent. I now want to let the user add and remove the elements. Do do so I need to get the parent element of the selected Item. Following code I already collected together: var selected:XML = treeControl.sel...

Flex Tree Control how to get the itemEditorInstance of a just added xml node

Hi everybody, I have a Tree Control on which I let user add some nodes. When a node gets added I want to let the user edit the added control right away. How do I get the itemEditorInstance of a just added xml node? Thanks for hints! Markus ...

How to do Actionscript trace and/or component flow log using debugger

An existing (though incomplete) FLEX3 project was given to us to finish (always a nightmare). It is quite small but highly abstracted (contains well over 150 files to support only about 10 page views). I'm attempting to trace a single mouseclick event through this maze. Is there a way to print out an actionscript trace and/or componen...

Flash/Flex runs slower on Mac?

I was in the middle of developing a Flex applcation, and then I recently switched from Windows XP to Mac. My app is noticeably less responsive on my Mac than on Windows, and today I proved it's not a hardware issue, because I ran the App on my Mac and a Window XP on Virtual Box side by side, and IS much more responsive on XP. Things like...

check for application update with flash builder

i just changed from using flex builder 3 to the new flash builder 4 and the code to check for update when my app runs is not working with flash builder 4. How do i get it to run. Thanks in advance. ...

Flex transitions target all elements

I want to fade all the elements of the next state when transitioning from any state. I tried different things but I can't get it to work. And I don't want to manually add transitions for every state. Something like: <s:Transition fromState="*" toState="*"> <s:Fade target="*" duration="500" /> </s:Transition> ...

Reading Tiff files in Adobe Flex based Application

Hello all, can some one help me in reading TIFF files at runtime in Flex/AS3 based applications? Thanks for your time guys. ...

Flex + buffer + live stream via RTMP = disaster

Can't get any love anywhere on this and it's pretty hard to believe. Live streaming and a buffer on a NetStream do not mix. Why? The docs don't say you can't do this. The playback gets hosed. Buffer is supposed to fill to what you set it to before playing. Instead though, about half the time, the player starts playing right away an...

Title Pop Up window slow movement

Hello flexers, I have a big flex app with several elements laying out (see http://www.edoboard.com) When i create Popup of TileWindow with PopUpManager they show up well but are slooww when dragged around. Even slower in the version i am working on. Do you have any idea why is it slow ? Even on simple examples http://blog.flexmonkeyp...

Hide ColumnSeries in Flex Chart

I have a clustered chart with 2 column series. The problem is that sometimes one column's values are so large, the other column is dwarfed. So I added checkboxes to show/hide a given column, and set the visibility of the ColumnSeries as such: visible="{checkbox.selected}" includeInLayout="{checkbox.selected}" This shows/hides the give...

Moving children of a container (defined in MXML) inside an "inner container"

I'm currently working on a custom component which extends Canvas (let's call it SuperCanvas) ; it's basically a container that let you zoom & pan its contents. It would be too long to explain why, but I can't use scrollRect, so I was forced to declare a Canvas object (called innerCanvas)... inside my SuperCanvas (I know, not very nice =...

RadioBtnGroup, NumericStepper and the use of multiple ....

Hi there, I have a RadioBtnGroup with (8) RBtn, and also One ‘NumericStepper’ which uses the change property to address a ‘changeHandler’, and to count appropriate values up or down. At the moment I can only select the first RBtn and the ‘changHandler' associated with it, but now I’m trying to find a way to use the change property of t...

Disappointed with BlazeDS... are there ways around these disadvantages?

I used to use soap webservices for transferring chart data to my flex app, but recently switched over to using BlazeDS because of performance, convenient typing, etc. I'm considering switching over to using JSON (as I do in other parts of the app) for these reasons: Proliferation of DTOs for communicating with flex.* (With JSON, I jus...

Fill an HBox in from the right? VBox from the bottom?

I only really need the HBox answer but figure that if we get a good answer in here it would help anyone trying to do a similar thing with a VBox. It would be nice to know this in both actionscript and MXML. So I have an HBox that I want some text aligned from the left and some radios from the right. Like so: __________________________...

In ActionScript, fill stage with external SWF

EDIT: I have since solved this problem by simply reworking my MXML-based app and using the SWFLoader component to get the desired effect, without any reloading necessary. This question is therefore no longer an issue for me, but I leave it open for reference. In MXML, I can get the desired effect easily: <?xml version="1.0" encoding=...

How do I create a "closed" Flex Accordian control?

I'm trying to create a navigation panel based on the Flex Accordion control. The 2 things I'm trying to figure out are how to: modify the Accordion so that all of the of "panels" are closed by default. (normally one of the panels is open by default) treat some of the Accordian headers as just simple buttons (ie you click and an event ...