gumbo

Custom Preloader in Flex 4?

Has anyone successfully implemented a custom preloader in Flex 4? In my experience, when I specify a custom preloader using the preloader="com.foo.MyPreloader" in the Application tag, the preloader does not display until the SWF is completely downloaded, defeating the purpose of the preloader! Perhaps this is a bug in the still-beta Flex...

Adobe Air 1.5.2 and Flash Builder

Recently I'm working on some air stuff, and I am using Flash Builder and latest Nightly build SDK in order to compile my application ( I even used stable version before this stage ), but when ever I export the final air file from the Flash Builder, the air file giving me this error message : The application could not be installed becaus...

FileReference and HttpService Browse Image Modify it then Upload it

Hello, I am trying to do an image uploader, user can: - browse local file with button.browse - select one and save it as a FileReference. - then we do FileReference.load() then bind the data to our image control. - after we make a rotation on it and change the data of image. - and to finish we upload it to a server. To change the data ...

Complex Maven2 with Flex4 Setup

Hi. I have been struggling to get Maven2 to cooperate with me, and was wondering if anyone out there had any ideas on how to get this working.... I am working on a Flash project, and we are considering switching from our hybrid Flex4/FlashCS4 to a pure Flex4 solution. We would like to use the Maven2 build system, so that our developers d...

Convert Flex Builder 3 project to Flash Builder 4

Hi, I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex ...

Syntax/error checking breaks in FlexBuilder/Flashbuilder with class libraries over Samba?

We have our class libraries on a shared server we access via Samba (and ssh for command line). Sadly, several features seem to fail in both Flex Builder and Flash Builder/Gumbo with this setup. For example, we no longer get automatic syntax and error checking. Anyone familiar with this issue and able to suggest a solution? Thanks! ...

Edit Multiple States At Once in Flash Builder 4

While in Design mode in Flash Builder 4 (gumbo, beta 2), is it possible to edit multiple states at once? In the "states" window, it would seem like I should be able to shift-select multiple states so changes made will affect all the selected states, and if all are selected it will not add the state selector to the property in the mxml ta...

Flex 4: Build a Group with a background

I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background. This is what I've come up with thus far: <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="libra...

Changing css properties for selector at runtime.

Hi, I have a css that defines de skin-class for a custom component, like this : view|PlaceHolderView { skin-class:ClassReference('view.skin.PlaceHolderSkin'); } Is there a way to change that value at runtime, so that all instances of the component switch skin? ...

Flex Multi Service call problem

I tried to call a service using a for loop and it seems that only the first service call seems to work. My guess is that once a service is called it needs to wait until result event until it can be called again. How can I workaround this? Waiting for each service to complete before querying for another is too slow. Ex. callresponder ...

Why is the compiler complaining about a possibly undefined property

Hello, I have a very simple practice program for Flex 4 ( Gumbo ). package { import mx.controls.ColorPicker; import mx.controls.Label; import mx.events.ColorPickerEvent; import flash.display.Sprite; public class testClass extends Sprite { private var cPicker:ColorPicker = new ColorPicker(); privat...

Air: Possible? Writing into installed application package

This is probably a bad idea or whatever you wan't to call it. Nevertheless, curious to know if Air can write inside it's own installed package. I'm referring to the OSX '.app' files found in great numbers in the applications folder. Since every one of these can be opened as a regular folder, i'm guessing that's what they are. What other...

Can't interact with children of an itemRenderer in Flex 4 Gumbo

I thought this would be pretty easy but I'm running into all sorts of problems with this. I have an ItemRenderer with a an image and two labels. I want to assign separate mouse events to the image and two labels. It seems like the item renderer is treated like a single interactive piece and I haven't found a way to override that. I could...

How to set skin at runtime in Flex 4

Hi, I have a bunch of custom controls based on a SkinnableContainer. When adding the control at design time, I can specify a skin by using the skinClass attribute on the tag. I need to add some of these elements during runtime, and I can't figure out how to specify the skinClass for my controls. eg. var something:CustomThing = new ...

Can one keep both version of Flex builder simultaneously (verision 3 and version 4) on his/her machine

Dear Friends, I have Flex builder 3 already installed on my machine. Now, I want to use Flex builder 4 also (officially Flash BUilder 4) on same machine. Can I directly start with Flex builder 4 and import my Flex BUilder 3 project there w/o any loss ? If not then, do I need to first uninstall my current version (3) or can I keep both t...

Can somebody please explain this common binding pitfall to me? (using the wrong bindable event name)

I refer to this site link text Using the wrong event name in the [Bindable] tag can cause your application to not bind your property, and you will not even know why. When you use the [Bindable] tag with a custom name, the example below looks like a good idea: public static const EVENT_CHANGED_CONST:String = "eventChan...