I am using PopupManager in FB4 to display a custom dialog.
popwin = new TitleWindow();
popwin.addElement(myCustomDialog);
PopUpManager.addPopUp(popwin,this,false);
PopUpManager.centerPopUp(popwin);
It's possible to drag the popped up TitleWindow and let go of it when its gray title bar lies outside the bounds of th...
How to play mp3's from socket connections in Flash AS3?
I have some simple programm which is listening to some port (TCP).
I connect to it using as3 sockets and it starts sending me mp3 data
How to play that data?
...
How to use URLRequest to send data to TCP socket in Flash, Actionscript?
So I have TCP server which is listening to some port and on every connection is sending sounds MP3 data to requestor
I've done URLRequest and Sound class plays my sound.
How to send data to that socket not opening new socket connection (using URLRequest or someth...
Many Flex books seem to focus on people new to programming. E.g. I bought the book Learning Flex 3 from Adobe Developer Library, which IMO contained to much noise, like explaining basic programming concepts etc.
Is there a good book that don't take the 'new to programming' approach?
I have been a developer for 10 years, and used langu...
I'm trying to compile existing Flex 4 project but having an error:
Call to underfined method getStyleManager of StyleManager class.
The code is:
var styleManager:IStyleManager2 = StyleManager.getStyleManager(null);
I found the method in Flex documentation but when I open StyleManager.as I can't find the method declaration.
Used Fle...
I'm interested in getting started with Flex, as I've wanted to work with flash for quite awhile but have never liked the designer-oriented way of programming. I've heard flex can be used for free, and is programmer friendly, but I'm having some issues... I can't find any good sites with flex resources. I'm used to PHP, so maybe I'm spoil...
Hi;
I take data from Java to Flex by AMF (BlazeDS)
In java side object has Integer field. So it can be null.
In Flex side object is int. So null values are deserialized as 0.
This is not what I want, I want to see whether it is 0 or null.
Is there wrapper like (Integer in Java) for Flex?
Thanks
...
I have a combobox which gets populated by a remote method. I need to set the dropdownwidth of the combobox to the maximum length of the item in the combobox. I am able to achieve it by the following code. But if the resolution of the screen changes, the result is not similar. Is there any way to find the display width of the text in the ...
Ok so me and my 2 friends have to make a webapp and well we think it's a good opportunity to learn JEE and Flex. The thing is we have very little knowledge about them and we have only 3 months to do it (it doesn't have to be super complicated). So my question is: what, in your opinion, would be the fastest way to learn them both? I guess...
Hello everyone,
i'm trying to load a local SWF Application in my Air Application via the SWFLoader class. The SWFLoader class is displayed in a new Window. Therefore, i'm trying to resize the window automatically, when the Flash Application is resizing. But here's the problem. The SWFLoader does not get any events when the loader App ha...
I have embedded my font using the embed meta tag, along which the entire range of Unicode characters... here is my CustomTextField class:
[Embed(source='../assets/fonts/Arial.ttf',fontName='CustomFont',fontWeight='regular',
unicodeRange='U+0020-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E,U+0080-U+00FF,U+01...
In the root of my application I have 5 named "slots" (layers) that I want content to appear in. Should I be using Canvas, Group or something else for each of these slots? I don't need any kind of automatic layout inside these slots.
...
Hi Everybody,
I have a question concerning Tree items. I want to show where a drop action would be placed... The item will be placed in between two existing elements. So what I want to do is, to take the upper item and draw a line underneath it. But I struggling to address the itemRenderer...
I have the index for the itemrenderer, but ...
Hi community!
I have an ArrayCollection of objects.
I'm passing this array to a horizontallist as a dataprovider and I'm using a custom itemRenderer.
When executing the application, the horizontallist is displaying
[object CustomClass][object CustomClass][object CustomClass][object CustomClass]
I've tried casting each object in t...
I plan to use Grails and Flex in my next project. I would like to use grails command line to construct my project. This should include the flex part as well, compiling swf, executing FlexUnits etc. I would like to compile and add swf file to war when I do “grails war”. How can I accomplish this?
...
How to develop and compile a Flex application without Flex Builder?
...
I'm running an HTTPService with the following request:
<mx:request xmlns="">
<view>{myViewStack.selectedChild.name}</view>
</mx:request>
The idea being to pass which child is selected on the viewstack to the php page, and then get that back so I can run some logic based on which child of the viewstack was selected at the time.
Ev...
Hi,
I am working on a webpage where i have to include an embedded video.The video is hosted on some other domain.I am able to embed the video and autoplay once the web page is loaded.However i have a requirement where i have to remove the div displaying the video once it is played , and in place of the video i have to now display some t...
Say I have this AdvancedDataGrid:
<mx:AdvancedDataGrid id="grid"
height="384"
width="100%"
styleName="aStyleName"
displayItemsExpanded="false"
groupItemRenderer="SomeRenderer"
draggableColumns="false"
defaultLeafIcon="{null}"
folderClosedIcon="{null}"
folderOpenIcon="{null}">
<mx:columns>
<!-- a bunch of AdvancedDatagridCol...
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.
My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().
Does anyone have insight into how to tell...