Hi, I'm testing Adobe AIR with flex, and I wanted to play a mp3 via an open file dialog, I did that :
import flash.filesystem.*;
import flash.events.Event;
import flash.media.*;
import mx.core.SoundAsset;
public var loadedFile:File;
public var channel:SoundChannel;
public var song:SoundAsset;
private function loadFile():void {
loade...
I want to view all of the frames from within a MovieClip concurrently on the stage, however I am struggling to extract the individual frame information from the MovieClip.
I have managed to load an external SWF into a MovieClip and view the frames sequentially with the following code:
<mx:HBox id="hbox"></mx:HBox>
<mx:Script>
...
How to bind a inner property from a property of my dataprovider to the column using Flex Datagrid?
I'd like to use it:
But it does not work, any (good) idea? (I'd like to avoid transversing my objects and create a new dumb one)
Samuel
...
Hi when i try with navigate url it is working but one problem I am facing .it is very critical for me. When I am posting one value to jsp.with urlVariables through method=POST values are not getting in jsp, null values getting and window is opening, why i used this navigate only if i open using externainterface new window is creating and...
Hi,
I know that with ExternalInterface, we can register ActionScript functions that will be callable from JavaScript, But i want to register actionscript function for of one class which has multiple instance created in the Application. So how it will recognize which object action script function will called from java script.
For examp...
Does anyone know of a library that would allow me to manipulate Flex "DOM" and assign events in such an elegant way that jQuery uses?
...
Hi
I want to get rid of the typical Flex roll-over color in list-based components, and to display my own style of roll-over rendering.
Setting useRollOver to 'false' is not an option, since disabling that will also make the List.isItemHighlighted() function to always return false. My custom renderer relies on that function.
Can it be ...
Basically, I'm trying to open/close a TitleWindow using PopUpManager.addPopUp() and PopUpManager.removePopUp() while reusing the same TitleWindow instance. I noticed that the creationComplete() is only called once for TitleWindow even if I open it several times and was wondering what events I should listen to for the succeeding popup loa...
Hey guys,
This is a really strange one. I've created my own CustomTextField class which I am using to embed the font and set the defaultTextFormat. This is working absolutely fine, but for some reason when I try to create a new CustomTextField in any module but the parent application, text text is only showing sometimes.
Here is my Cu...
First of all I know there is a spark VolumeBar component but, for design requirements I can't use it..
I'm trying to create a custom component but heights are not responding as should
[Update]
This is were I call the class
<components:VolumeSlider steps="4" height="100" />
The problem is that the volume slider is adapting perfectl...
Hello!
[In Flex 3]
I am looking to implement the following effect:
When mouse crosses a Canvas container, make that Container rotate and take into account the speed of the mouse crossing giving it some momentum or inertia based on that speed.
How can I do this please?
Thanks!
...
Say I have code in my main mxml and in a function like this:
this.addChild(someContainer);
and now I want to refactor code and move this to it's own class and method in a separate file. How could I access root now, since this obviously now points to the new class I created.
...
Hi all,
I'd like to know whether it's possible to easily detect (on the server side) when Flex clients disconnect from a BlazeDS destination please? My scenario is simply that I'd like to try and use this to figure out how long each of my clients are connected for each session. I need to be able to differentiate between clients as well ...
Hi,
Can any one Explain the Difference between the Array and ArrayCollection in Flex?
Thanks,
Ravi
...
What's the best way to secure a Flex-BlazeDS application? I've googled it an several solutions came up.
UPDATE after question from jsight:
Flex would login, so on the RemoteObject I'll set Credentials
I don't know if there comes authentication and authorization with BlazeDS (WebORB for instance does and WebORB looked at BlazeDS for t...
I have two components being absolutely positioned within a container (they are MapSymbols on an ILOG Elixir map, if that helps). Each component is a VBox with an Image and a Label. Images have functionality tied to the Click event; labels do not.
The problem is when 2 items are positioned so that the label of one is above the icon of an...
I'm trying to use for getting infomation from an WSDL file online. I have no problem running and testing in my FLEX 3 builder. However, After I export release build into SWF file. The program doesn't work even running local. IE/firefox said "transferring data from http://www.webservicex.net" on the status bar and doesn't response.
Thi...
Hi
Can some one tell how can I get a notification in the server whenever a Flex consumer/producer connect to my JMS streaming server ? I would like to log client activities like connected, disconnected etc. Let me know how I can track these events in java using BlazeDS.
Thanks
...
Hi,
I have a problem in applying the styles for scroll bar skins through actionscript.
In css we specify as
thumbOverSkin: Embed(source="assets/thumb_over.png",scaleGridLeft="4",scaleGridTop="4", scaleGridRight="5", scaleGridBottom="5");
In actionscript we specify as
setStyle("thumbOverSkin", someImageClass);
How can we specify sca...
As part of a nightly build i want to automate the generation of action script classes like Flex does but in an automated fashion.
So I'm looking for an equivalent tool to flex builder 3's Import Web Service functionality, but accesable to a Hudson nightly build using ant.
Any idea's on tools to achive this.
...