flex

Manipulation of stage elements

I need a library that help me to create an image editor in Adobe Flex, anybody know about someone??? or what do you suggest to me?? I have a site where people can create your own backgrounds for their desktops, they select the background, they can write something over the backgorund, upload their images and put into the stage, something...

Speex-encoded SWF?

A project that I'm working on requires being able to dynamically create sound-asset SWF files (using DefineSound tags). Even though I've been able to successfully create DefineSound tags using raw pcm, I haven't been able to do so with Speex. The SWF format spec (pgs 202-204) specifies that you can use Speex in a DefineSound tag, but i...

Can Remoting be inside a class....

Should i keep Remoting Methods outside a class in a seperate AS file or is it possible to call Remoting inside a class. ...

How do I programmatically associate a RadioButton with a RadioButtonGroup in ActionScript3?

I have a UI component that, for various reasons, I have to construct programatically. The component is a table of radio buttons grouped by column. Right now, I'm constructing the column groups like so: private function createGroupsForItemList(items: XMLList): void { for each (var item: XML in items) { var rbGroup: RadioBu...

Creating an Instance of MXML

Is it possible to create an instance of the main MXML and use it inside the ActionScript class. public var obj:classname= new classname(); When i try to call a components id through obj.textfieldID... it does not... though obj is an instance of the classname.mxml. ...

Flex CategoryAxis with non-unique values

I have a BarChart that compares different user interactions with a program we have. Obviously some users will have multiple sessions and depending on what the filtering is, a single user may have multiple entries displayed at once. The problem comes in with the Category Axis, which uses the username as the categoryField. This is fine an...

Calling MXML inside ActionScript class...

How can i call MXML components inside my ActionScript Class. // filename.mxml <mx:Canvas x="181" y="180" width="333"> <mx:Button styleName="LoginButton" id="loginButton" click="checkLogin();" x="160" y="261"/> <mx:TextInput styleName="loginTextInput" id="username" x="160" y="161"/> <mx:TextInput styleName="loginTextInp...

Run a flash movie in flex application.

I've a flash movie that I would like to use inside of a flex application, very similar to a preloader. Looking at this tutorial, http://www.flexer.info/2008/02/07/very-first-flex-preloader-customization/, I expected it would be a matter of not extending "Preloader" and extending "Sprite" and using the class i created wherever i needed....

calling a static method of a class with only an instance

If all I have is an instance of an object, can I call a static method of its class? For fun, let's say I don't know what the name of the class is, only the name of the static method. Can I do this? How do I do this? ...

Flex : button acting like a backspace

Hi, How would you make a button event call a function which acts like a backspace keyboard event delete. I tried faking the dispatch keyboard event "keyup" "keydown" with keycode 8 and keynumber 8 without success. No other way than doing it by hand with begin and end select index plus substr ? I have a textinput i just want to add a ...

Getter and Setter methods Versus Public properties in FLex

Which is a much better practice in binding a value in Flex? ...

mxmlc with both linked and not linked rsls?

On the mxmlc command line, I can include paths to RSL files. I can choose to link these RSLs at runtime by setting -static-link-runtime-shared-libraries=false What if I need to link to some rsls and embed (static-link) other rsls? Is there a way to set the link settings for each rsl? ...

Adding flex components using xml

I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime. A brief example will greatly help. ...

Flex 3 - What Component to extend for drawing application

Hi all, I wonder which component to extend in Flex 3 in order to make a drawing stage. ...

Which container is mostly used for load new custom component into flex ?

In AIR application i have link button like winner statistics . if i like this button then show winner statistics (canves) reports full page on my application . I Already created winner statistics using canves component .Which container is mostly used for view data ? Please refer me ? i tried viewstack but it will overwrite Main page ? ...

Add own watermark to flex chart

Hi community, does someone know how to add a watermark to a charting component in flex? Maybe to a Line Chart or just simple to a canvas. Thanks in advance Sebastian ...

Flex Custom Component problem

Hello, I've made a custom component based on MenuBar. This is the code <?xml version="1.0" encoding="utf-8"?> <mx:MenuBar xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" labelField="@label"> <mx:XMLList> <menuitem label="Website" /> </mx:XMLList> </mx:MenuBar> The problem is that the "Website" isn't displ...

Passing an ArrayCollection from ColdFusion to Flex (with BlazeDS)

When pushing objects from ColdFusion to Flex via BlazeDS, and mapping the classes using RemoteClass... [RemoteClass(alias="blah.blah")] ...is it possible to have ColdFusion "Arrays" (or some Java equivalent) automatically mapped to ActionScript ArrayCollections? This chap nearly had it, but not quite: http://www.richinternet.de/blo...

Passing a value from one MXML to another

I am getting a value in a MXML... now i need to pass it to another MXML to invoke an event... how can i do it. ...

Limiting the values in an array collection

I have an array collection that I would like to limit to say 100 items. I tried setting up a filter function where the return was: return (myAC.getItemIndex(item) > 100); but the value was always -1. For whatever reason it couldn't find the item, even though the item is definitely there. I'm able to do this with a while loop: while...