flex

How can I check if a Flex 4 component belogs to a stategroup from actionscript?

I have a component with various states. From mxml, the includeIn and exclueFrom properties takes state groups as an argument. How can I check if the current state belongs to a state group? ...

Flex: type was not found or was not a compile-time constant: Button

Hi guys.. I am trying to build a pure as3 project in flex and I got the following error: type was not found or was not a compile-time constant: Button type was not found or was not a compile-time constant: TextField My code is: import fl.controls.TextInput; // import my textinput import flash.display.Shape; import flash.dis...

flex ribbon bar

Anybody knows a good free Office 2007-styled Ribbon bar component? I googled this for long time...but unsuccessfully. ...

Concurrency and Networking in Flex and Actionscript

I am interested in making a RIA in Flex that will communicate with my server. The application will be downloading and uploading very often. It will need to be able to download hundreds of images over the course of its runtime. However, I have read that Flash does not support threading. Would this be a major problem if I want the UI to ...

Communication between two Flex applications

I have two web applications written in Flex I would like to integrate. I would like one Flex app (let's call it application A) to invoke second Flex app (let's call it application B). Application A has access only to swf file of application B (not source code). When application A invokes application B, it should be able to pass some data...

Flex crazy issue

Hi guys I am trying to export the button symbol from Flash and publish swc file for Flex. I have successfully export 3 buttons which are playBtn, stopBtn, pauseBtn from flash and add swc file to my flex actionscript files. my code is: private var stopBt:stopBtn; private var playBt:playBtn; private var pauseBt:pauseBtn; privat...

FLEX IFrame in IE 6

I have IFrame not working in IE6 but fine in firefox, any ideas? ...

Flex 4 datagrid stops paging

I am using flashbuilder 4 with a simple datagrid and php. I have paging enabled. When I launch the app, I can page about 3 or 4 times but then it abruptly stops getting more data. I've tried various sdks, including 4.0.0.14159 and 4.1.0.16076...I get the same result. I followed the tutorial here, where they claim you can do it without a...

How to debug in AS3 only project in Flex...?

Hi guys.. I am trying to build a AS3 only project in Flex....I have tried debug mode, but seems like it takes so long to compile....I can't use trace or check variables...Are there anyway to do debug?? Thanks for the help.. ...

MinimalComps Flash GUI and Transcoding Errors.

Basically, irrespective of what changes I make to my source, compiling alway yields either a transcoding error, or a missing definition. I'm new to flash so it's difficult for me to understand how to go about fixing the problem. Anyway here is the source. The stack overflow link I always put in all my source, to look at for encouragement...

Flex Event Dispatcher Questions......

Hi guys... I am trying to dispatch an custom YouTubeEvent from my Player.as and wish my Main.as would listen and create the video player...Apparently my eventHandler can't catch the event to create the videoplayer.......My flex debug mode is so screw up I can't even use it...My code is as follow..I really appreciate any reply or help....

Flex ExternalInterface not firing in Safari (works everwhere else!)

Hi all, I know there have been other questions on getting JavaScript / Flex ExternalInterface to play nicely, but I've what I think is a weird one. It works perfectly in every browser except Safari (on a Mac). Chrome, IE, Firefox - all ok, but Safari, nope it just wont fire. I've copied my code below, can anyone see why it doesn't work i...

Embed Flex app into Mediawiki

I have a flex app, which I want to embed into a Mediawiki, preferably. in the form of an extension. Can anybody give some links or tell me, how to start. ...

flex datechooser can't select first "selectable" date

Problem: I'm using the selectableRange property of a DateChooser, but the DateChooser will not allow me to "select" the first date within the selectableRange. Here is the code. Give it a go. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:comps="comps.*" backgroundColor="0xFFFFFF" layout="vertical" xmlns:text="f...

how to convert a mxml file to a compoent that i.e .swc file

hi i hav tried to covert .mxlml to .swc file using flex builder it's not working when i integrate with other application...can any one say how to get .swc using SDK...pls i need very clearly ...

Simple AddChild question....

Hi guys.. I am checking this guy's code... http://www.codingcolor.com/as3/as3-youtube-chromless-api/ I have download the source code...but I couldn't figure out how he add the play, pause and stop button in the stage. I know in his VideoPlayerControl.as, he has playbackControl = new PlayPauseButton(); playbackControl.addEventListene...

mxmlc/fcsh ignoring [SWF(width="550", height="400", ...)]

I'm compiling an .as file using fcsh, which uses it mxmlc. I use the following shell: mxmlc /Users/johannesjensen/Desktop/Doodler.as -static-link-runtime-shared-libraries=true But when I get the .swf on my desktop it's dimensions are 500x375 and framerate is 24 when I told it that it needs to be 550x400 and framerate needs to be 12...

Actionscript 3 Null Object Error Message

Hi guys.. I am building a AS3 only project and got runtime error that said "Cannot access a property or method of a null object reference." Here is my code: main.as public class videoMain extends Sprite{ private var videoPlayer:Player; public function videoMain (){ loadPlayer() loadProgres...

Flex/Flash Event Question..

Hi guys.. I am trying to get the event data in a event handler..my debugger image is as follow: I tried to dispatch my custom event with the event.data please see onPlayerError function... My debug shows my data value is -1 but the compile said "access of undefined property data throught a reference with a static type flash.events....

preventDefault messes with tab ordering - AdvancedDataGrid itemeditor

Checkout following sample code <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.controls.CheckBox; import mx.events.CollectionEventKind; import mx.events.CollectionEvent; import mx.events.DataGri...