flash-builder

Flex service in debug

Hello everybody, I am trying to learn the new services method in flex 4. but i can´t get it work. A test oparation near the service in flash builder 4 works. But when i run the code i get NetConnection.Call.Failed: HTTP: Failed. Does somebody knows what the problem can be? Tom CODE: PHP <?php class AuthService { public funct...

When I run my Flex app, a different, older version is run?

Hey guys, When I hit the run button in Flash Builder 4, an older version of my app is being run. I can't for the life of me work out why this is happening. Can anyone help? Thanks. ...

Flex / Flash builder : no returning data using database

Hello, i'm following some flex tutorials everything's working as wanted expected for one thing : When i use my function getServerByBrand($brand) there is no returned data into my datagrid and i don't know why because it uses the same schema as getAllserver() which is working . I don't know whether it's cause by the function itselft ...

AMF data is incomplete with Flex Service

Hello everybody. I am bussy with a Flex Project with a data services. Flash builder installed Zend Framework with Zend_Amf. When i run the project i get the error NetConnection.Call.Failed: HTTP: Failed. With chalers i say that Zend_Amf give the error: AMF data is incomplete (0 bytes of 0 bytes). Please check the recording limits in th...

In FlashBuilder4(eclipse), what's the shortcut key to repeat last run, to repeat last debug, to repeat last profilling

In FlashBuilder4, what's the shortcut key to repeat last run, to repeat last debug, to repeat last profilling I have been clicking the debug dropdown menu for a couple of hundred times, really fed up with that. ...

How can I use the same buildscript for Flash Builder 4 and Ant/Mvn?

I'm setting up a build system for a Flash Builder 4 (Flex 4) based project; and I'm struggling to get a setup that compiles in the IDE the same as it does from the command line on the build server. I come from a C# background; and my expectation is that I'll be able to create a "solution" with a collection of "projects" that I can compi...

Flash builder 4 - change output filename using external build-config.xml (not Ant)

I'm trying to change the output filename with a config file loaded via the compiler option -load-config. It looks like this in my compiler arguments: -load-config+=build-config.xml. I've tried the following: <flex-config> <o>absolute/path/to/filename</o> </flex-config> and <flex-config> <output>absolute/path/to/filename</o...

Flash Builder 4 - using relative paths with the -output (-o) compiler argument

I'm trying to use a relative path in the -output compiler argument, here's what I've tried (with and without quotes): -o="./deploy/file.swf" -o="/./deploy/file.swf" -o="./file.swf" -o="/./file.swf" -o="file.swf" -o="file.swf" None of these attempts yields a new file, it's as if they are ignored. The deploy directory is in the roo...

Flash Builder 4 automate building for Flash CS5?

Does Flash Builder 4 allow one to automate building Flash CS5/as3 .flas? ...

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

Flex Flash Action Script Form Events

Doing some development in Flash Builder 4 using Action Script 3.0. I'm trying to have some code run each time the form is displayed. The form is not always recreated, but sometimes hidden and reused. Visual Basic used to have an Activate event that does similar to what I want. I tried Render, but that fires every time the form change...

Disable CTRL-TAB in Flash Builder App

When a flash app is loaded in the browser, it default captures the CTRL-TAB keystroke which is needed for changes tabs in modern browsers. Any ideas on how to configure Flash Builder 4 to not listen for these keystrokes or to bubble them up to the browser? ...

Package SWF into an EXE or APP

I am trying to adjust my Flash development workflow so that I am using Flash Builder for all of my coding and multiple FLA files for the user interfaces. I will be creating an ActionScript project in Flash Builder and then having each FLA export a SWC into a resources folder. It is important that I retain the ability to export PC and Ma...

Difference b/w Skins and CSS themes in Flash Builder

my question consists of tow parts **1- why we need skins for every elements if we can style our application using CSS file. for example in theme Graphite in SDK's Sample consists of both CSS+.fla and skins---.mxml files. 2- How we can create a whole theme with out coding CSS.** ...

how to use SWF Symbol as up,down,up etc skin in Skin file ?

How can we embed the over,up,down etc skins defined as sybols in a .swf file... i mean in skin file how can i specify those symbols to be used as up,over,down skins. ...

deploying flex on tomcat

Hello, I am using Flash builder 4 (SDK3.5) to create my flex program. I want to deploy this program and load it to a tomcat server. I configure my "flex server" root folder and other parameters in the project properties. The problem is, that i don't know how to make it generic. e.g. my friend's tomcat is installed in other directory on ...

what dataprovider in flex (aside from ArrayCollection) will work for single, non-repeating XML nodes?

hello, i asked this question before but haven't been able to get an answer.. i get the following error when i retrieve an XML that only has 1 node (no repeating nodes) from a PHP page and i try to store in an ArrayCollection. -When I have MORE than 1 "name" nodes...i do NOT get an error. TypeError: Error #1034: Type Coercion failed: can...

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

flex data provider not working if XML has single node value or less

hello, i get this error when i retrieve an XML that only has 1 node (no repeating nodes) and i try to store in an ArrayCollection. -When I have MORE than 1 "name" nodes...i do NOT get an error. My test show that XMLListCollection does NOT work either. TypeError: Error #1034: Type Coercion failed: cannot convert "XXXXXX" to mx.collectio...

How to load only one symbol out of .swf on canvas?

i was wondering that how to load a single symbol from a swf file contatining many symbols. we can use this symbol in CSS but my point is how we can display it on canvas ? as SWFLoader loads the whole SWF but i need.. only one symbol. ...