flexbuilder

flex 4 release changes to application are not showing up.

I just took over a clients flex project and I can't get the app to reflect even a simple trace statement. Before I took over, the project was last successfully built using the Flash Builder Beta 2 environment/sdk. I have the latest release version of Flash Builder 4. Upon importing the project into FB4, I got a ton of errors. Most of t...

Flex SDK missing fundamental things

All of a sudden Flash Builder 4 is missing all kinds of fundamental things and is generating incorrect errors. I've had the same issue yesterday, where I fixed it by downloading a new Flex SDK and importing that into FB. I did this again, but this time it fixed nothing. I don't think it's something I did, like removing critical refere...

Is it possible to nest folders in the Flash Builder bin-debug

I'm trying to setup my bin-debug folder so that the structure looks like this: bin-debug assets img swf main.swf css style.css js swfobject.js index.html I've tried setting the project's output folder to: bin-debug/assets/swf which does get my main.swf where I want it, but then my other source folders get dumped into that s...

Flex ; get the value of RadioButton inside a FormItem

Hi, I'm working on Flash Builder with latest flex SDK. I have a problem getting the value radioButton of the selceted radio button inside a form: <mx:Form id="form_new_contribution"> <mx:FormItem label="Contribution type" includeIn="project_contributions"> <mx:RadioButtonGroup id="myG" enabled="true" /> <mx:RadioButton id="subtit...

Populating a Datagrid with variable number of columns and rows in Flex

I am trying to figure out how to manage a Datagrid based on an XML object like this: <matrix rows="5" columns="5"> <column> <row>0.5</row> <row>0.21</row> </column> <column> <row>0.6</row> <row>0.9</row> </column> <column> <row>0.5</row> <row>0.5</row> </column> <column> <row>0.8</row> <row>0.4</row> </c...

Issues with Flex 4 SDK under Flex Builder 3

I have managed to adjust Flex Builder 3 to work with the Flex 4 SDK thanks to this article. However, some strange things are happening. I changed all the namespaces as suggested, but I cannot get anything from the fx: namespace using the Flex Builder code completion, as well as the spark List class. ...

flex transition effects works on 2nd and after transition, but not on very first transition

i have a flex app that transitions between 2 states with the toggle of a button. my issue is that the effect of fading only seems to work on the 2nd transition and after. However, for my first transition... going from State1 to studyState... there is no fade effect whatsoever, in fact the components in state1 disappear completely (the ...

Can't export release build / compile for Adobe AIR 1.0

I opened up an old project in Flex Builder 3 which runs on Adobe AIR 1.0. I believe it was originally written in Flex Builder 2. When I try to run the Adobe Air application, nothing happens. When I try to export a release build, I get this error: If I change the main-app.xml file to use the 1.5 version of the namespace, it builds fin...

password validator using RegExp in Flex

I have seen several examples in Flex for passowrd validator using RegExp. But every where the validation is happend for single validation. I have a requirement, like password validations like • At least one Upper case letter • At least one numeric character • At least one special character such as @, #, $, etc. • At least one Lower ...

flex/actionscript assignment failing?

I'm seeing something weird in my actionscript code I have two classes foo and bar, bar extends foo. In a model class I have a foo member variable, I assign an bar object to the foo variable. But after the assignment the foo variable is null. [Bindable] public var f:foo; public function someFunc(arr:ArrayCollection):void { if(arr...

Flex Builder 3 debug flash player fails to install

I recently upgraded to Windows 7 (not sure if that's related) and after re-installing Flex 3, I get the error that I'm using a non-debug version of Flash Player (when trying to run debug on a project). That makes sense, so I go to install the latest version of the debugger, but when I go to adobe for it: http://www.adobe.com/support/fl...

Insane Graphics.lineStyle behavior

Hi all, I'd like some help with a little project of mine. Background: i have a little hierarchy of Sprite derived classes (5 levels starting from the one, that is the root application class in Flex Builder). Width and Height properties are overriden so that my class always remembers it's requested size (not just bounding size around con...

Using Flex Builder with source control

When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of...

My flex 4 program has a button controlled animation. it works but is playing once once, if i click the button again it doesnt work...

i'm pasting part of the the code here <s:Parallel id="panelIn" target="{back}" > <mx:Move xTo="-400" duration="2500" easingFunction="Bounce.easeIn"/> <s:Fade alphaFrom="1.0" alphaTo="0.0" duration="2500" /> </s:Parallel> this is the animation protected function button1_clickHa...

Adobe Export Release Build doesn't work - Mac OSX - Flex Builder 3

Hello, I have an AIR application i'm trying to release with flexbuilder. Launching application has no problem ... bin-debug dir is correctly filled with my files. But when i want to create the AIR file (export release fuild), AIR files content view is empty and bin-debug directory is never filled ... Any idea ? Thanks, Yannick Gren...

Flex Builder debug problem

I am running on Windows XP and recently updated Flash Player from v9 to v10.1. And Now, in the Debug Console under Flex Builder, I am getting a lot of debug statements(I think that is assembly). Below is an example, of what I get: " active: eax(737-757) ecx(738-758) ebx(3-797) esi(728-756) @739 st 143112124(0) <- @3 09002830 mo...

clean project in flash builder on debug launch

Using Flash builder 4 to build an AIR app. I keep having my code changes not take effect when I launch the project with the debugger, probably happens about once an hour. So does anyone know how to have FlashBuilder clean the project automatically before each launch? Thanks ...

How to view shell commands used by eclipse "run configurations"

Given a "run configuration" in Eclipse, I want to print out the associated shell command that would be used to run it. For example: Right now, in Eclipse, if I click "play" it will run: mvn assembly:directory -Dmaven.test.skip=true I don't see that command, I just know that's what the IDE must run, at some point. However, some of the...

Display embed images in Flash/Flex Builder

Hi, i'm using image embedding in Flex 4 (the same goes with Flex 3). I have one class with a lot of [Embed(source="../assets/icons/icon1.png")] public static const image:ClasS And i reference them using: <mx:Image source="{imagesResources.image}"/> When i run the application i see the icon but in Flash(Flex) Builder i can't see th...

How to print entire scene contents in Actionscript 3 for Flash Builder 4?

How do i print the entire scene contents to photographic paper? ...