flex

Flex Upload XML to datagrid/database

Hi We have an requirement in our project to browse & upload an XML file and show it on the datagrid, edit the grid and then save the contents to the database. I'm able to see examples that take a XML from a specific folder and show on the datagrid, but not able to see any examples that browse for a XML and then upload it. It would be gr...

form submission

How to specify action to button to submit a form in adobe adobe flex? ...

ActionScript POST

How to post data from a flex file to a php file? I am not able to create an action. ...

Create a custom vertical axis in a Flex 3 ColumnChart

I need to create a custom y-axis in a columnChart that resembles a tall / skinny VBox (sorry can't post pictures) and has the axis labels (20, 40, 60, 80, 100) inside the axis. By default, the y-axis is a line and I have found methods of making the line thicker but I need the labels inside the axis. I have tried using the AxisRenderer ...

adobe flex get child of child

Hi, I have a Adobe Flex project in which resides the following layout markup. <s:TileGroup id="grid" width="467" height="467" requestedRowCount="15" requestedColumnCount="15" horizontalGap="0" verticalGap="0" verticalAlign="middle" name="tg"> <s:BorderContainer width="31" height="31" name="container"> <s:Label text="999" v...

How to localize Flex/Actionscript "enums" to ensure bindability?

I have a simulated enum as follows: public class Sport { public static const BASEBALL:Sport = new MyEnum("Baseball", "Baseball ..."); public static const FOOTBALL:Sport = new MyEnum("Football", "Football ..."); public var label:String; public var description:String; public function Sport(label:String, description:S...

Flex Canvas keyboard event handling

In the attached code sample, keyboard events just don't work. The control never reaches handleKeyDown, no matter which key I press. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Canvas creationComplete="initIt()" id="can1"> <mx:Label text="it's here" y="2000"/> <...

Overcome Flash Player SoundChannel or Sound limit

From the Flash player specification, it supported up to 15/16 or 32 sounds in a buffer, which mean any more sounds is load beyond that limit will either caused buffer stop working. Is there any class to override to increase sounds to 1024 or greater? ...

swf streaming audio player

i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on.. ...

Footer in Spark application

I'd love to be able to setup a footer at the bottom of my spark application, which runs in a browser. I was reading through the documentation of Application and the awesome Adobe examples. Unfortunately I keep getting lost when the documentation talks about how to position the control bar area at the bottom via spark.skins.spark.Applicat...

How to upload files in flex using PyAMF or PhpAMF? client side, and very little server side help needed.

Hy! I need to upload a group of images using flex with robotlegs. I need a progress bar to work when image is uploading. It might upload 1 image or more at the time. I want to know if uploading byteArray to server and then save the image is too heavy for the server. In the server side I have a method that is made by pyamf, and looks ...

[Adobe AIR] How can I catch the event of image loading completed?

Core of my code is following: var img:Image = new Image; img.source = 'http://..........'; img.autoLoad = true; img.cachePolicy = 'on'; img.addEventListener(Event.COMPLETE, function(event:Event):void { trace('Loaded!', img.source); }); img.addEventListener(SecurityErrorEvent.SECURITY_ERROR, function(event:Event):void { trace('E...

how to add childs to canvas in varius orders

Hi, I need help to add childs to canvas. I want to add childs to canvas in top-down direction and left-right direction? I'm using the addChild function but I don't want to calculate the X and the Y for each Item. is there a way to do that? ...

Flex - Copying a Single frame ftoma Video

I'm working with video in Flex. I'd like to be able to pause the video at a certain point and copy the displayed frame as an image, and save it to a database. I'm wondering if anybody knows how I might copy a single frame from a paused video? Thanks --Matt ...

How can I display HTML pages in a Flex app, without using <iframe>?

I have a few HTML pages that I want to display in a Flex app. Since Flex has limited HTML support I figured I could convert the pages into PDFs, but since Flex webapps don't support PDFs I am in a bit of a pickle. The pages I have are HTML, with text & images. What are my options for displaying this in a Flex web app? I'd like somethin...

Best way to reset database to known state between FlexUnit4 integration tests?

Background: I have a Flex web app that communicates with a Java back-end via BlazeDS. The Flex client is composed of a flex-client module, which holds the views and presentation models and a separate flex-service module which holds the models (value objects) and service objects. I am in the process of writing asynchronous integration ...

WCF and AIR/Flex 4 security

Dear All! In a current project we are hosting a WCF 3.5 service on IIS7 and expose the methods through basicHttpBinding to an Adobe AIR/Flex4-client. Luckily Flash Builder 4 has integrated support for SOAP, so that a service-proxy can be generated easily. Unfortunately, we are not able to find any elegant solution to enable username au...

Flash VS Flex application

What are the main features that distinguish Flash from Flex? When you have to create a web application, what do you look for select between Flash, Flex or using all two? ...

How to prevent the addition of dragged item in tree which drag accepting. ?

i have two tree one tree lets say TreeDrag is drag enabled and other is drop enabled lets say TreeDrop.. when i drag item from TreeDrag to TreeDrop,, i want to show feedback and everything else normal except the addition of dragged item in TreeDrop.... ...

while live/recording when refresh the browser will the stream closed in FMS??

Hi All, While live/recording will the stream closed in fms when I refresh the browser?? Thanks in advance. ...