flash-builder

Specific mouse buttons in Flex

How to work with specific mouse buttons such as xbutton1 and xbuton2? ...

The height and width properties on my Flex 4 app are not working?

In the opening application tag of my Flex 4 app, I set the width and height properties as follows: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()...

Adding Flex Modules

Is it possible to add multiple Flex Modules at a time to be built in a project as opposed to adding them one by one, as this is becoming a very tedious task. This is for both Eclipse and Flash Builder 4 ...

Can't find compiled resource bundles

I am using Adobe Flash Builder 4. I've run into this issue with my latest project, but I was able to re-create it with an almost empty project. Here is what I've done. Created a new Flex Project Created a locale/en_US folder within this project. Added a class that extends SparkDownloadProgressBar. All this class does is attempt to cr...

How to prevent Flash Builder from running/debugging from the cache?

I've been bitten by this a few times, and when it shows up it can make simple problems very difficult to solve. For example: var x:int = y + 1; if(x < y) { trace("Okay, you got me."); } Under what conditions will that trace show up? Normally it shouldn't, but if the player is using its cache it might. Sometimes I don't realize what'...

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...

How do I emebed css at compile-time using AS3 (just like the <fx:style> tag)?

I'm working in a Flash Builder 4 Actionscript project and trying to figure out how to embed a css file into the project at "compile-time". Just as we did when we use MXML's <fx:Style> tag. Any idea? ...

Issues with Firefox 3.6 & SWFObject 2.2

I've searched the net for a solution but still haven't found one yet. I'm on Mac OSX and I use FlashBuilder. I try to publish a movie with the values of 100% for the width & the height. These are the values I use both in SWFObject and the CSS. Flash doesn't display in Firefox but displays on Opera, Chrome & Safari. SWFObject test suit...

Debugging a release only flash problem

I've got an Adobe Flash 10 program that freezes in certain cases, however only when running under a release version of the flash player. With the debug version, the application works fine. What are the best approaches to debugging such issues? I considered installing the release player on my computer and trying to set some kind of non-g...

Include all imports in Air application Bundle?

How can I import all files and classes into my AIR bundle... it must take a note that I created first a flex project, and set it's main class as Actionscript (.as) . When I build a release all my imports (org) etc.. are not included in the .AIR installer... i have checked this by installing the app and then after show package contents, ...

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

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

How can I automate build of multiple swfs from Flash Builder 4?

I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automati...

how can we implement movable flex buttons or other controls on canvas or SBorderContainer ?

how can we implement movable flex buttons or other controls on canvas or SBorderContainer ? any clue, or solution.. ...

Quick fix (CTRL+1) in Flash Builder 4

What is the purpose of quick fix in Flash Builder 4? I have tried using it to auto create event listener functions, class methods or properties, local variables etc but none of these work. Does this functionality only exist in FDT? If so what does quick fix do in FB4? For example: myEventDispatcher.addEventListener(SomeEvent.EVENT_TYPE...

FlashBuilder 4 and Zend Framework error

I am trying to use adobe flash builder 4 with a php service. I had it set up an older macbook running leopard, but just tried to set it up on my new laptop running snow leopard. I did all the same steps.. set the Flex Server to be PHP, set the web root and url. Then I go to Data->Connect To PHP and point it to a php file I have in my ...

TextArea component is null on applicationComplete event

I have a weird issue (weird because it is specific to one component) with applicationComplete in a fairly simple application. All the UI components are declared in MXML. I can access them all in applicationComplete, but not a spark.components.TextArea component, named taStatus here; it is null in the handler. MXML looks sort of like t...

How do I get a list of the classes compiled into my Flex app?

I have several Flex applications in a project, and I would like to know if there's a way to get a list of the classes (and ideally, other assets) that are being compiled into each one. I want an easy way of making sure I've kept things separate and there aren't unnecessary dependencies. Any ideas? I'm running Flash Builder 4. ...

Determining linkage dependencies in Flex applications

I have a large Flex project with two Applications in it. A lot of code is shared between these Applications. However, the smaller of the Applications does not require much of the code that the larger one does. I'm trying to ensure that code that isn't required by the smaller application isn't getting compiled into it. Is there an easy w...

Flex4 Application state in a custom component

Hi, I'm porting my Flex3 app to Flex4 (FlashBuilder4). I get the whole new state concept, except one thing. In a custom component (separate mxml file) I'm using the main level Application's state. In Flex3 it was: <mx:State name="only_view_mode"> <mx:RemoveChild target="{myComponent.button1}" /> </mx:State> In Flex4 it should be s...

Help with Music Video App.. Filtering data lists and "Next Video" button function

I have two lists.. I need help filtering one list when an "Artist" is selected in the other.. I also want to play the next video when the "Next Video" button is selected.. Here is a link to an example with a few videos.. http://www.yourtimeisborrowed.com/bin-release/gg.html View source is enabled so feel free to grab the code.. I wil...