flex

How do I change the location of the html-template folder in a flex app?

The normal structure is: project/ bin-debug html-template libs src I want to change it to: project/ bin-debug flash/ html-template libs src I know how to change the libs and src folders, but not html-template. Is it possible? ...

Cropping/Clipping A Sprite

How is cropping/clipping accomplished on a Sprite in Flex? <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="Init()"> <mx:Script> <![CDATA[ public function Init():void { var spr:Sprite=new Sprite(); uic.addChild(spr); ...

how to navigate from one mxml to another mxml in flex3

suppose i have 3 buttons(for example say, productin, marketing, sales ) on my main.mxml.. once i click on one button it should take me to abc.mxml page with production data, once again if i click on second button it should take me to the same abc.mxml but with marketing data. same as for 3rd button also, how can i achieve this ? ...

How can i do chroma keying in flex/actionscript

I need to develop a flex component which can take two videos and mix them using chroma keying. Is there library support in adobe flex for chroma keying. How can i get it done . Is there a sample code snippet for reference ...

flex contextmenu component reference

I have a DataGrid with a custom itemRenderer(Canvas) which has a context menu on its right click. I am trying to get the data of the itemRenderer. I tried to find something in event & variables. I also tried with FlexNativeMenu on RIGHT_MOUSE_CLICK. But I didn't find any way out. Please help me in getting the data of the itemrenderer ...

Creating EXE using flex and air from visualstudio using ensemble tufino

Hi, I need to know how can we create a exe using flex and air from visual studio using ensemble tufino....... ...

Flex PopupManager Issue

I have been working with pop-up manager lately and have an inconsistency issue. This is created at application level, and then various levels are added to the application requiring the pop-up to be brought to the front. roughly 1 in 5 times the grayish haze will appear (which renders the application unusable) as with any pop-ups, b...

Remoting in flex - Is service-config really needed? And What is endpoint url?

Hi, Rather than calling it a question, i would like to call it a discussion and the topic is Flex Remoting. Forms and blogs explaining remoting in flex always mention 2 things: service-config.xml endpoint url Now what i want to know is that 1. is service-config file actually needed if we need to bind our front end (which ...

Flex 4 transition not playing first time

Hello everyone, the first time I change from state A to B it doesn't play the transition. After the first transition, the same state change does play the transition. Before I let state B load, it parses an xml file and maps it to objects. When this is done, the state changes. Maybe it has to do with the parsing of the xml. But I can co...

Is is possible to add member variables to objects at runtime in Actionscript 3?

I have an object of type sprite. I would like to add a new field in the sprite object without deriving the class. I'm not sure is possible. I tried to do object.newField = 'value'; but it's not working. I need it because the Api expect that field in the sprite class. ...

Define's in Action script

I'm trying to pass a build number from Hudson into a Flex application. I've found Adobe's document (http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html) on conditional compilation which seems it should solve it but i must be missing something. So in my ant build file i have:- <mxmlc file="${app.dir}/${app...

How to specify swc when building a swf?

Hi, I have implemented some utility classes in Flex that I want to use in multiple AIR projects. I have created a swc which contain these classes. I am working on a Linux machine and do not have FlashBuilder. So I am using the compc and mxmlc command line SDK tools. My problem is that I have not been able to find a way to specify the swc...

Weird problem with a custom bindable class and a vector.

Hello.... I'm having a very weird problem with a vector in my application. Details... I have the following classes. Person,Player,PlayerController. Player extends Person. Person extends ObjectProxy in order to enable binding. So the Player class has the [Bindable] tag. The PlayerController class contains a remote object calling a ph...

using an image item render in a flex data grid

I'm attempting to add an image to a datagrid item render dynamically in flex. Here is my DataGrid code The value of "str" in the getImagePath function is correct. <?xml version="1.0" encoding="utf-8"?> <mx:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" doubleClickEnabled="true"> <mx:Script> <![CDATA[ ...

Adobe Flex: hiding tab bar in tabNavigator

Hi All, Does anyone know how to hide the tab bar up top on a flex tabnavigator component? I don't want to see the tab bar at all and I don't need to click on it (I have an automated iterator through the tabs). I have tried .removeChildren, hideElementAt() with no success. Thanks for any input! Regards, Joseph ...

Flex - how to create a lightbox-style loading?

My application's creationComplete="onInit()" has a lot of processing. Therefore I want to mask the entire application with a lightbox-style loading screen while the processing is being handled. The screen should be dark and a loading animation image in the center. After onInit() is completed the loading screen is removed. My thoughts a...

Flex Builder: not picking up index.template.html

I'm using Flex Builder 3 and in my html-template directory I have my index.template.html. However, Flex Builder is not generating the proper binary .html file for me. What could be wrong? I've diffed the index.template.html to someone's else (whose works). Anybody have any idea? ...

Flex: TextArea attached Image

Is there any advance TextArea that can attached image(image is alligned with the text) and the image can be movable inside the text area.I know that text area can support html text and can insert image tag but it is very limited, I can't move the picture inside textArea by dragging it or even add events on it.Is there any approach or sol...

how to settimeout in flex 4?

Hello friends, what is the setTimeout function in Flex 4? I tried the old methods like setTimeout () or setInterval but not working, not found any web references as well, anyone know? Thank you all ...

Why does BindingUtils.bindProperty() not work immediately?

I have a two way binding between a loaded flash file and the main application in flex. BindingUtils.bindProperty(this, "micGainValue", audioPublisherApp, "micVolume"); BindingUtils.bindProperty(audioPublisherApp, "micVolume", this, "micGainValue"); micGainValue=75; However, the setting of micGainValue does not set micVolum...