flex4

Flex and Flash CS, how the integration is done?

Flex is good at produce code, whereas Flash is good at animation, how the integration is done? If I want to insert the animcation produced by flash, what's the recommend way to do the integration? Do I need to use SWFLoader? Or is there any book/tutorial on this? ...

Adobe Flex4 mxml schema

Is there a MXML schema xsd given by the latest Flex4 distribution? I found from the old release notes that : Flex includes an XSD file that you can integrate with your third-party editing tools for schema validation and easier MXML coding. This file is installed in the following location: {install.dir}/extras/schema/mxml.xs...

Flex Custom Event dispatching

Hi there! I got a question about event dispatching in flex. my goal is to get a custom event loaded up with some data and than bubble up to the eventlistener. my main application has and AMF service request inside which calls an service class. that class is supposed to dispatch an event when the AMF service request returns a result or...

Flex 4 animate resize and move on group and children of group

Hello! I have a Spark Group with an image inside and a label control. <s:Group><mx:Image source="..."/><s:Label text="Hello!"/></s:Group> The image is that of a speech bubble. I want to make the effect of it growing from bottom-right to full size. How can I do this and make it that resizing the Group will also resize the children? Th...

How to setup PHP Server for Flex app.

I am creating a Flex project on my Windows machine but it will deploy on my Linux machine. For application server type I selected PHP I click next to go to the next screen. I am then asked for Web root. I put in /var/www which is the web root of the linux server where the application will be. I get an error telling me: The selec...

Forcing screen updates for a ProgressBar attached to an URLLoader or slowing it down

I have a ProgressBar in MANUAL mode responding an URLLoader's progress events that seems to get drawn far less frequently than I would like. If I debug the app, I can see many events firing from the URLLoader yet it seems that the ProgressBar is being re-drawn at some random and slow rate. Now if this was my own code (URLLoader is a ...

How to embed a lot of images using Actionscript 3

Hi, i would like to know what is the more practical way to embed many images using actionscript. Firstly, i don't want to download an image every time from the server, and then, i would like to change the number of images and/or their names. What do you propose for these requirements? ps: I have been alerted for the Embed tag but it see...

drawing API on Flex 4 stage?

Hello all, I'm currently trying to debug a problem in Flex 4, in where a component is firing a custom event with its local coordinates translated to global coordinates (i.e. localToGlobal) and another component (in a separate "branch" of the display list hierarchy) recieves such event and uses it as a part of an animation, via globalToL...

flex bound visibility messes up during fx animations

working in flex 4 i have a variable: [Bindable] public var visibility:Boolean = true; these effects: <fx:Declarations> <mx:Fade id="fadeOut" duration="800" alphaFrom="1.0" alphaTo="0.0"/> <mx:Fade id="fadeIn" duration="800" alphaFrom="0.0" alphaTo="1.0"/> </fx:Declarations> and the following component: <s:HGroup visible="...

Catch event when text of flex spark label is changed

Hello guys, I've not found the dataChange handler for spark label, as it was for mx:Label. Is there ability to catch changing the text of spark label? Any help will be appreciated. ...

Embed unknown file formats

Using the Embed tag, we can embed in the swf file not only swf's or jpg's etc, but also unsupported file formats like: Embed[(source="mzip.zip", mimeType="application/octet-stream")] public static MyZip:Class; When i instantiate such a class, what type of object do i get? Is it possible to get a ByteArray from this class? When i do...

Flex 4: how to have a drop down list of Checkboxes.

Hi, How would I get a drop downlist to populate with check boxes. I am porting a c# project to flex, and I would like to imitate the functionality of their checkbox drop list. Anyone got any idea how I would go about this. Please and thank you. ...

Handling multiple artifacts from single maven project

Hi guys, I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces many *swf modules and it is really makes no sence to create a separate project for each module. For me it would be very convinient to handle all swf modules...

How to increase the buffer in Virtualized Flex 4 Layouts

Virtualized Layouts are nice, but I find that they often feel a bit "chunky" due to the "tightness" of the virtual range. This could be improved by increasing the range - one or two steps ahead (and behind) would often be enough to improve the "responsiveness" of the list, especially when external resources (like images) need to be loade...

Skinning a Spark HSlider in Flex 4

Hi, The application I'm working on needs to have a slider to allow the user to select a Date. However, the Spark hSlider component does not have a 'labels' field like the halo hSlider does - into which you could put a collection of labels to be displayed along the track of the slider to denote the values selectable from the slider. I ...

Is it possible to use MongoDB with flash/flex?

Hi, I would like to know if it is possible to connect MongoDB with Flash/Flex? If yes, kindly advise how could this be done? Thank you. ...

Spark Scroller in AdvancedDataGrid

Hello everybody! AdvancedDataGrid uses a Halo Scroller as default. How can I change it to Spark Scroller simply? Thanks for your attention! ...

TLFX, has anybody used it yet?

Has anybody use TLFX yet? The repository is here: http://code.google.com/p/tlfx/ but I'm not sure it's completed. I tried to compile it but look like some classes are missing. ...

Problem loading Bytearray into XML object. (Flex 4)

I get Index out of bounds when trying to readObject on my Byte array into the XML object. private var fr:FileReference; private var data:ByteArray = new ByteArray(); [Bindable] private var dataXML:XML = new XML(); ... public function onLoadComplete(e:Event):void { trace("Load Complete"); data = fr.data...

Adding an image on the right side of the title bar of a panel in Flex 4

Hi, I'm trying to create a MXML component based on the spark Panel and I would like to add an image on the right end of the title bar, so that the panel will have a text on the title bar and a small image at the right end. I'm using a skin to define the colors, background fill etc. But how do I add this image at the right end of the tit...