flex

Can I use google analytics on vkontakte?

I want to use Google Analytics on my Vkontakte application (written with Flex). Vkontakte does not support naturally in Google Analytics (not as Facebook) which means I can't even put the Google Analytics JS at the bottom of the page (or even use JS for that matter). What I can use is the AS3 library of Google Analytics, but for some rea...

Blank space should not be allowed in Flex Input field

Blank space should not be allowed in Flex Input field... one is fine... but not more than one... ...

Flex + Runtime + httpFaultHandler

I'm creating a graph and loading images. When I try to run the program using the builder, it works fine, but minute I export it and try to run it, I get an httpFaultHandler issue. I've tried to give the absolute path, logical path, but no success. My sequence of creation of object are: 1. In Application, i've set the creationPol...

Flex swf file: how to inspect the method exposed?

In every language there are a lot of tool to inspect the interface exposed by the compiled file, then what is the best tool for Flex swf file? I am debugging my code but the invoke always failed, I am writing my callee like below in my mcml file: public function playVideo():void { svid.play(); return; } ...

Call a Java Applet from Flex

Hi all! I'm working on Flex application and I need to open a Java Applet from Flex (e.g. clicking a button). In particular I'd like to open imageJ, a particular imaging program that could work as application, applet or be integrated in a web page. Is there a way to call it from Flex? I've seen a couple of tutorials that explain how to c...

Flex actionscript: how can I export my function to other SWF?

I want to export some of my functions to external so that other people can embed my SWF into their's and invoke the function, how can I achieve that? ...

How to collaborate on a Flex project?

Hi, I shall be working with my classmates over a Flex project, and we would need to collaborate for this. Each of us will be developing modules, and we would like to use version controlling. We've never done this for a Flex project, those who have done so before, can you please give us a few leads. Thanks ...

Include ComboBox in flex datagrid header

Hi, I want the comboBox to be placed in one of the columns of the datagrid header.The datagrid should be filtered according to the value selected in the comboBox. Can anyone help me out in this with a sample code. Thanks in advance. ...

Does Flex require PHP framework?

Hi, I am new to Flex and have written code in PHP before, but not used any PHP framework like Zend, CakePHP etc... I plan to use Flex with PHP, for that do I need to use any MVC PHP framework? Do any of the frameworks integrate with Flex for the View? ...

Parse string pattern into Date in Flex

Hi Friends, Is there some way in flex to parse strings to date. I want it to support custom formats similar to 'dateformatter'. Using 'dateformatter' class we can parse date object in various string formats as specified by 'formatString property'. I want it other way round, from string to date. The parse method 'Date.parse(my_string)' do...

Displaying error tooltips in Flex DataGrid's each row

Hello! I have a simple DataGrid in Flex 3: <mx:DataGrid width="{indexW - 20}" height="100%" headerHeight="0" resizableColumns="false" dataProvider="{itemsList}" itemClick="itemKlik(event)" dataTipFunction="displayTooltip"> <mx:columns> <mx:DataGridColumn id="col1" dataField="title" showDataTips="true"/> <m...

A real drawText call in Flex?

Hi, I am now developing a Flex application in which I need to control each pixel of my control of Flex. I want to calculate that how width and how height of some text used in my control and do some layout stuff.After some searching I find that the only way to draw text in Flex is to use something like TextField. So, I use TextField to ...

In search of a Flex panoramic (3D) image viewer?

I am in search of a Flex based panoramic image viewer, preferably open source. I have been looking at PanoSalado (OSS), however, it seems that this viewer can only be configured with XML. I need to ability to programatically configure the application as I have a very data driven application. Additionally, I need to be able to embedded...

Load a Web Page in Flex component

Is there a way to display a web page in a flex component like Canvas, Hbox or TextArea? Thanks ...

Two KeyboardEvent.KEY_DOWN events fired with wmode="transparent"

When I listen for key up and key down events with wmode="transparent", I receive 2 key down events followed by a single key up event for the following keys: F-keys, arrow keys, ins, del, home, end, page up, page down, pause, print screen, application key, windows key, and the equivalent numeric keypad keys. The other keys work normally...

In AIR how to set focus on textinput on application load?

On my application I have a login form. On application start, I want the focus/selected one is set on the user id textinput. I tried normal setFocus method and didnt worked. How can i make it work? ...

actionscript project compiled as swf. how can i load it with flex and use the functions it provides ?

Hi. I have an ActionScript project with several classes that i compiled as an swf using Adobe Flex (by creating an actionscript project and clicking on export -> release build) Is there a way to load that swf so i'll be able to load it's classes and use them on a different swf ? i know i can use the following code to load an swf file...

Flex: App sometimes never gets past preloader

Sometimes my Flex app, freezes on the preloader, and never reaches the main app. Refreshing the page usually fixes this. But I have no idea what would cause this. I am being told that this is happening in different browsers. Any ideas? I have noticed this on other Flex apps as well, so I don't really think its something specific with ...

GWT style code splitting in Flex

I do a lot of work with GWT but don't have experience of Flex. I was talking to a guy today who was looking at moving some large Flex based applications to GWT due to the Flex application getting too big and using too much memory in the browser. This is a problem I have had before with GWT - browser apps using lots of memory as all the c...

Flex: Get self SWF file name?

Is there a way I can programmatically determine the filename of the .swf my class is running in? Thanks! ...