flashbuilder

Find workspace location using ANT

I'm working on a build script in the Flash Builder version of Eclipse. This build script needs to import launch configuration .launch files into the user's workspace. However there doesn't seem to be an available ANT var for determining the workspace location. While stepping through the available vars with intellisense I noticed that ${o...

Is it possible to find out what FlashBuilder is doing during compilation?

I've found that Flash Builder 4 (formerly Flex Builder) has trouble working with large projects. After a certain point, builds seem to take longer and longer. I've tried many different ways of improving build time including: Moving embedded resources into externally linked projects. Using -incremental. Tweaking the .ini jvm settings in...

filter client side data flashbuilder php server

How do I filter data received from a database.I dont see an arraycollection to bind to. ...

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

Flex 4 - Using .pfm/.pfb fonts

Hi everyone, I just switched to Flash Builder 4 & Flex 4 SDK, and it seems it's no longer possible to use a .pfm/.pfb font, either by embedding it or using it as a system font. I keep getting error messages, and Google can't find anybody having the same issue. I tried several methods: - copy/pasting the [Embed] statement which was wor...

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

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

Any ideas on how to prepare for the future of Flash/Flex/HTML5 Development?

I've chosen Flex 4 as the most appropriate technology to develop a graphically-rich web application (its not a simple content-driven site), but worried about how the recent negative press (i.e. security issues) may effect end-user's trust and ultimately whether the user-base may drop promptly in response. (I don't care if my app works on...

Flex : error while connecting to database with XML

Hello, i'm new to flex, and i've an exam on it next week. I'm following how to build an application in 1 day tutorial from adobe. I'm stuck on how to recieve data from database. First, i choose to use AMF to connect with data : my PHP class to access my database doesn't work (got an error like: is zend correctly installed,include ....

Simple question about operator ||

HEllo, i try to do that in FlashBuilder (FlexProject) protected function btn_detail_view_clickHandler(event:MouseEvent):void { CurrentState="Statistiques" || "PartMarche"; } But it's not working, i guess this is not the right syntax but what's the right syntax ? Thanks PS: i want to when the state is equ...

How to get the URL of a Flex Module from within the Module when this.loaderInfo is null

I've used ModuleManager to load a Flex Module. When the module is fully loaded I want learn the URL of the swf that contains the class definition from which the module instance was created. I haven't studied the internals of the Flex framework, but I suspect that the IModuleInfo instance's factory.create() is probably calling on applic...

Flex : How to link data to a datagrid ?

Hello, I'm following flex tutorials but i'm not doing exactly as they do, so : What i want I have an input text, with a button 'search'. I want when this button is clicked that the data returned by the function search are displayed in the datagrid. What i have : The text input : <s:TextInput includeIn="DetailServeurs" x="58" y="3...

Attach data to Richtext using flex, mysql and php(newbie)

I'm trying to attach data to a richtext field in Flashbuilder. The data is an html string in a mysql database and I'm connecting using php. The php script is just converting to XML. The connection works because I can easily dump the data to a datagrid and I can see the string. when I try to hook the data to a Richtext field I get "obj...

Flex 4 swc size smaller compiled by FlashBuilder than using ANT

I'm trying to figure out why when I compile my Flex 4 Library swc using a simple ANT tasks, it compiles to about three times the size of the swc that's compiled by FlashBuilder. Here is my ANT script to compile my swc <target name="compileSWC" description="compiles the Library"> <echo>Compiling Library SWC To Deploy SWC Folder</echo> ...

Creating custom MXML components

When I define custom propertie in my MXML component, I also want to define a set of possible values of that property to make Flex Builder show then (possible values of the custom property) when I invoke code completion function. Any idea how it could be done? ...

Best way to organize a Flex application for compile performance?

I'm preparing to reorganize & refactory a Flash Builder application. The goals of the reorg are 1.) keep compile times for the part of the project I'm working on as fast as possible, 2.) keep the unrelated parts separate for code reuse. Goal #1 trumps goal #2 if there's a trade-off. Currently, the app has assets in one project, core fun...

Which one is best for UDP applications?

Hi all, I'm working on file transfer project using UDP. Server side CPP. I developed an application of client end in Flash builder but its not giving the proper result. There is no multi threading in Flash, this is also one reason. Can anybody tell me which one is better than this and which supports multi threading. I'm looki...

How can I use URL parameters while debugging in Flash Builder 4?

How can I use URL parameters while debugging in Flash Builder 4? ...

TypeError: Error #1009: Cannot access a property or method of a null object reference.

I get this error when i launch the application(flash type with dismiss all and continue) and i'm out of ideas: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Magazin/xmlService_resultHandler()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:41] a...

How do I recompile Flex 4 Framework RSLs?

Does anyone know how to recompile Adobe Flex 4 framework RSLs? I'm using the compiler directive -dump-config to get the build config file that the FlashBuilder IDE is using for compiling my application. I then pass that config file into the mxmlc compiler so I can build from the command-line. The results of the command-line build are ...