flex3

Flex xml in tree

The following xml values is getting from php file <result> <list> <node>air</node> <node>flex</node> <node>android</node> </list> </result> i am calling this xml using httpservice <mx:HTTPService id="project" url="http://localhost/eshpm/AIR/newproject.php" method="POST" result="onRes...

How to prevent the other looking to your SWC library?

Hi, everyone Thank you for your interesting in my question. I hope I would not waste your time too much. I am going to publish my Adobe Flex library to sell in commercial, but I don't need anyone can open my SWC file and study the code in there. I see Adobe Flex library can prevent this activity. How could I do this too? ...

how can i create a video player like this website?

hi. i don't know how i can create a video player like this website. i can develop .net and flex applications but can't flash. where should i start? if i develop it with flex, can i use it in an asp.net website? i know i can use it with php sites but not sure about asp.net. thank you so much for your opinions. best regards this is th...

Significance of : xmlns:mx="http://www.adobe.com/2006/mxml"

Dear Friends, I want to know a bit more about 'xmlns:mx="http://www.adobe.com/2006/mxml". Generally namespaces acts as the pointers to the component location, but I've always seen them directing resources within local directory structure. When 'xmlns:mx="http://www.adobe.com/2006/mxml"' is used than is a new connection is set with adob...

Getting Path file uploaded using FileReference

Hello Everybody! Can any one help me................. How to get Path of a file opened using FileRefence..................in Flex ThankQ! ...

How to remove all event listeners in flex

Dear Friends, Is there some way where I can remove all event listeneres on my components all at once. Expecially when I dont have any prior knowledge of, what all listeners are being attached to my component. Thanks in advance. ...

Why does the FLEX 4 LineChart Legend stop displaying colors when LineSeries's lineStroke attribute changes?

Hello, I am implementing a LineChart in FLEX 4. I have the chart working well except I do not like the default colors and cannot use them, as they do not relate to my data very well. For instance, Orange is not a great default color for my data column "Outdoor temperature". I would rather override it and use a green color if possible. ...

Problem with parsing XML to DataGrid in Flex

Here I i'm trying to parsing a XML in like below: <?xml version="1.0" encoding="utf-8" ?> <spearkerslist> <speakers langid="afb" countryid="SA">200000</speakers> <speakers langid="acw" countryid="SA">6000000</speakers> <speakers langid="ars" countryid="SA">8000000</speakers> <speakers langid="arb" countryid="SA">20600000...

Multi-file Upload in FLEX

Is there a FLEX component that uploads multiple files in a multipart/form-data POST request? ...

is there any command to pause, stop and close vlc player from command line??

Well i have an adobe air which runs vlc-player at background as service. i check that in Windows Task Manager , the service runs when air application launches. here is the code processArgs.push("--extraintf"); processArgs.push("rc"); //Remote control processArgs.push("--rc-fake-tty"); //Use terminal as output processArgs.push("s...

Why does FLEX LineChart render before HTTPService object request supplies data

Hello, I am having trouble binding a LineChart to XML data via HTTPService object. Here is my code: <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:ui="flex.utils.ui.*" xmlns:charts="flex.utils.ui.charts.*" layout="vertical" horizontalAlign="center" verticalGap="2" paddingBottom="0" paddingTop="10" xmlns:...

Flex 3 to Flex 4 Conversion and Undefined Methods

I have an application I am attempting to convert from a flex 3 air application to a flex 4 air application. I am running into an issue in my main class. When calling the Instance method on the class I am getting an error: Access of possibly undefined property Instance through a reference with static type Class. My main class is pretty...

flex: hSlider thumb jumps instead of slides - why?

For some reason my hSlider is jumping all over the place when I click on the track insted of just sliding slowly like it used to. I have no idea why.. It just looks like the slide movement is jumping instead of sliding. Like back and forth 3 times before it settles down. It also happens if I don't skin it, wich was my only suggestion....

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...

Flex password field check

I'm programming in Flex. I wish to have two password fields, and validate that they contain the same password. How can I do this? ...

RegExp Escape Problem?

Hi, I need some RegExp help for a Flex 3 website. I'm trying to find this: px;'</img> And replace it with: px;'></img> I've tried: var tester: String = " blah height: 0px;'<\img>blah"; var pattern1:RegExp = /px;'<\/img>/g; tester = tester.replace(pattern1, "px;'></img>"); I think that the problem ...

Grails dependency injection no longer working after upgrade to Grails 1.3.3

Hi All, Project setup is Flex 3-BlazeDS-Spring Flex Integration-Grails Dependency injection in my Service classes was working just fine with Grails 1.2.1, when service methods were called from my flex client. When I upgraded my project to 1.3.3 yesterday using the regular 'grails upgrade' command, everything went well but once I start...

Flex 3 static bitmap issue

Hi everyone, Interesting problem here - I'm making a small game using Flex 3 - now I have a static ImageAccess class, which first loads up all images and stores them in a static array for quicker access in the future. Now since I address the physical bitmapdata without calling Clone() (for efficiency issues) and once by accident I've wr...

flex expand and collapse icon in Tree control

I am having some trouble with the flex Tree control. I have a control in my system and of course it is data driven. I have a group which shows a folder icon and that's fine but it also shows an expand icon when the item has no children. I don't what it to show the expand icon when the group has no children but I do want to show the fol...

VLC-Player in adobe Air App does not stop/quit

Well i have an adobe air , downloaded from below link.. it is wonderful app.. http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html and this works fine. It captures my screen , record audio but it just does not stop or quit as vlc-player.exe continues to run in the task manager. i tried lots of vlc- commands but it ju...