flex

flex tree busy cursor

Hi, i am using a tree with an array collection, i have tried to run busy cursor on expandItem but now i dont know were to stop it when the tree finishes loading children, ...

can any one list all the valid arguments for setstyle() function for UIcomponents?

hello i am working with actionscript flex and using UIcomponents i need all the valid arguments for this function for example component.setStyle("borderColor","white"); i need all valid strings for first string parameter and 2nd valid argument for there value setting, i have some of them that are given below but i need all possible...

Switching between DynamicStreamingVideoItems

I'm making a custom spark videoplayer able to play multiple rtmp stream with multiple bitrates using DynamicStreamingVideoItem. But how do i switch between DynamicStreamingVideoItems ?? ...

How to turn off anti-aliasing on an embedded font.

I have a pixel font from www.fontsforflash.com. I have embedded it using flex then loaded the swf in flash CS4 to make it available. But its very blurry and I can find a way to turn off anti-aliasing in as3. Its the right size and placed with whole numbers. The reason I have embedded this method is because I don't want to load an entire...

ARCGIS flex overlay floor plan png

Hi, We have floor plans of a building in the DB in PNG format. We am using arcGIS flex api. We want to build something like http://www.laudontech.com/officeplans/ How can we load my building floor plan onto the arcGIS flex map. Please let me know. Thanks, Vish. ...

What interfaces/base-class should my AS3 engine's base renderable class implement/extend?

I'm writing an AS3/Flex4 game engine, and I want to have a base class for any item that can be put in the scenegraph. I wondered if extending UIComponent is the right approach, but there seems to be a whole lot of internal stuff there I don't want to get tangled up in... if possible I'd have some separation between my engine and the Flex...

Changing the background image of HBox

Hi, I have assigned a logo image of my software to HBox as follows - <mx:HBox id="logoBox" width="98%" textAlign="left" backgroundSize="100%" horizontalAlign="left" height="18%" backgroundImage="images/img_header_new_3-bg.jpg" verticalAlign="bottom" backgroundColor="#1573A4"> Now I need to change the backgroundImage to some other im...

BlazeDS serialization with complex types

I recently came into a situation when sending a nested object from Java to Flex via a HashMap the Objects were null. More precisely: final Map<Integer, List<String>> tempMap = new HashMap<Integer, List<String>>(); would send the keys as integers but the values were all null. But when sending the same with String keys: final Map<Stri...

Create fat client (RIA) with HTML - controlled environment

I realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scoring, ... can all be...

Drawing a stick-man in AS3

A stickman is defined as a set of points, a set of lines between certain points, and other simple shapes (like a circle for a head). It looks to me like the easiest route in AS3 is to use a Shape/Sprite's Graphics property to draw these lines, clearing and re-drawing each time the stickman changes. But some of the newer Flash 10 stuff s...

Size problem while loading flex inside flash CS5 application

Hello, I'm loading a flex form into a pure Flash CS5 website. I'm able to load and display it correctly but for some reason the flex swf size seems to be off : the content and background of the form are displayed correctly but there is a transparent layer covering a large part of the stage (from myFlex.x to stage.width and from myFlex.y...

Printing from AIR/Flex application causes large files being sent to printer

Dear friends, I am working on an Adobe AIR (2.0) application that contains a feature to allow users to print documents (such as salary slips). Those documents are originally in PDF format. Due to circumstances we cannot directly display those PDFs in the AIR application (for example using flash.html.HTMLLoader). Therefore we convert the...

Flex: Does spark supercede or complement mx?

I worked on quite a large Flex3, Flash9 project but then dropped out of Flex/AS3 for a couple of years. Now I'm finding it a little confusing getting to grips with how things work in Flex 4, especially this whole Spark thing. My main use of Flex is for real-time applications like games (main project before was www.mydinos.com) where we u...

Using (Flex)Sprite objects in an MXML-based application

Canvas.addChild() insists any DisplayObject added implements IUIComponent. But I don't want my core graphics engine dependent on Flex. Is there an obvious/common way around this, to have simple graphical objects like Sprites & Shapes in a Flex application? The individual DisplayObject children I want to add as children represent objects ...

Adobe Air SDK 2.0-2.5 Errors

I downloaded the Air 2.5 SDK and get the following Errors: 1-Design mode could not load aircore.swc. It may be incompatible with this SDK, or invalid. 2-Design mode could not load applicationupdater_ui.swc. It may be incompatible with this SDK, or invalid. 3-Design mode could not load applicationupdater.swc. It may be incompatible wit...

Setting variables during component initialization in Flex

I am loading a component which makes a HTTPService call to get data that will then be used to set certain variables in the component. I make the HTTPService call in an init() function (for the initialization event) and then set the variables according to the data received in the HTTPService result handler. However, the variables are st...

Flex execution timeout in AdvancedDataGrid

Hi, I've a problem, I'm using an AdvancedDataGrid . It loads about 3000 records with about 20 columns. I constantly get Flex execution timeout because the grid executes a lot inside LayoutManager. How can I make it asyncronousely or faster at all? ...

Is anyone doing professional flash / flex / actionscript development on a linux platform? Please share setups if you are.

I've used axdt ( http://new.axdt.org/ ) with Eclipse. I've read about fdt on on linux ( http://www.brighthub.com/hubfolio/matthew-casperson/articles/73648.aspx ). FDT is a commercial package that I wouldn't mind paying for if it officially supported linux. Right now I'm using vim with the command line tools, and I'm not really satisfied ...

Flex4 Anchor Points

Hello to all. I created one aplication that have a lot of components and a height of 2500 ,in the bottom I have a navigation menu. I need to take the focus to the top of the page after a click in the bottom. How can this be done? Thanks in advance for all the help. ...

Merge a VDivided Box & Accordian

I have an application w/ 2 side-by-side pages of text. I have the VDivided box set up so the user can drag it to make one of the documents bigger or smaller. Is there a way to get the look of a VDivided box & the functionality of an Accordian, so that when the user clicks the VDivided box (or double clicks, I haven't decided) one of th...