flex

Flex HTTPService Error

I am creating a Flex application and am using an HTTPService to retrieve XML from an asmx web service. This web service needs one string parameter. This parameter contains multiple options separated by ~ and parsed apart. This web service works with a limited length of string, otherwise an error is retrieved if the string is long enou...

Cairngorm with FileReference?

I'm looking for any ideas on how to incorporate FileReference method like Upload into a Cairngorm architecture. Specifically, I would think to fire an event with the File in it, and that's fine. But how would one then be able to listen for e.g. Progress Events? One thing I thought is to have the delegate fire off progress events that a...

Flex: List with VBOX-type (smooth) scrolling??

I have a list control that uses a custom itemRenderer and custom itemEditor. The itemRenderer/Editor are textarea controls with at least 3 lines of text each. The default scrolling nature of a list control is by Item, rather than by some number of pixels, the way a VBOX scrolls. I want my list control to have more of a word-processor ...

Error: "NetStream.Play.StreamNotFound" while playing mp4 file using NetStream object (Actionscript/Flex)

Hi, I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http. The mp4 file URL is for example: http://xx.xx.xx.xx/file.mp4 This is an AIR application and the relevant code is pasted below: var url:String = <some http url>; connect_nc = new...

How to make embeddable flash content?

Hi I'm new to adobe flash/flex so please forgive me if my question isn't too clear. I'm developing a website with a flash object that dynamically generates its content and I want the flash object itself to be embeddable into other website like how youtube does it. I have no clue how to approach this and any help would be really appreci...

Why does this XML query not work?

Heres some code for a test case. I don't understand why the first two queries produce a result but the third one doesn't. Any ideas? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onInit();" > <mx:Script> <![CDATA[ private function onInit...

What is the Flex/AS3/E4X equivalent of this xpath query?

Given this document: <doc> <element> <list> <key attr='val'/> </list> </element> <element> <list> <key attr='other'/> </list> </element> <element> <list/> </element> </doc> I want an e4x equivalent of the xpath //element[list/key/@attr="val"]. Is i...

HTML Component in flex

Hey all, I'm using Drumbeat HTMLComponent in flex. So I have multiple iframes on stage that all add to the history. So what I've been trying to do is catch their complete event and then use js to remove an entry from the history. My problem is I can't catch the htmlCreationComplete event. this.addEventListener("htmlCreationComplete", o...

Flex - Issue with binding in script blocks

I am working on the multifile uploader, and want to set the upload directory based on a selected questionID (which is the directory name) in my datagrid. The code can be found here http://pastie.org/784185 Something like this: I have set myQuestionID (the directory to upload to) so it is bindable (lines 136-137): [Bindable] public v...

Flex HSlider dragging using slider track

I am a Flex/Flash newbie and am trying to create a simple Music player has play/pause button and an HSlider that shows the position of the song as it is playing using a custom SliderThumbClass. I would like allow the user to drag/drop the sliderthumb or click on the sliderbar to change the position of the song currently playing. With th...

remote implementation for HTTPService in flex

In my flex application I am using httpService to connect to the server, for the response from server I wanted it to convert the http response to flex object, Is there any remote implementation availabe for the above purpose ...

Runtime Shared Libraries

Hi, What is RSL and what is the use of RSL? Have any sample example , Please shared me,. Thanks, Ravi ...

Conditional Maven build section with a profile?

I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom: extra dependencies extra configuration of the Flex Mojos plugin in the build section I c...

what is SWC, when/where we use SWC in Flash

hi, Does any one know what is SWC and where we use this SWC in Flash Development. thanks in advance ...

How to drop something into a flex tree item?

I just read a comment at FlexExamples: One thing to note about the tree is that it is really just a list in which items are displayed. What that means is, you can’t really drop somthing “into” folder unless the folder is open. Even in that case the user experience isn’t quite right. So try moving everything out of one of the folders ...

Reading querystring param with jQuery returns null

I'm trying to read a querystring parameter ("ssip") via jQuery and the query plugin, but it seems to return null instead of the actual value. Here's is my code: <script src="jquery-1.3.2.min.js" language="javascript"></script> <script src="jquery.query-2.7.1.js" language="javascript"></script> <script language="JavaScript" type="text/...

Flex AIR using Command and Ctrl keyboard events

I am writing an AIR application in Flex. The application needs to be able to handle shortcuts on both Mac and Windows. I have the shortcuts on the Windows side working, but the same application on a Mac doesnt seem to trigger the commandKey property on a Keyboard event when the user is also using another key in combination (ex. command...

Image as Label with Checkbox in Flex

I want to use an image in my checkbox as label, anybody know how ? ...

Flex LineChart with Multiple Data Providers

Can I create a LineChart with multiple data providers? Since LineSeries has a dataprovider property, I'm assuming the answer is Yes. I would expect something like this to work: <LineChart>     <series>         <LineSeries dataprovider="{dp1}"/>         <LineSeries dataprovider="{dp2}"/>         <LineSeries dataprovider="{dp3}"/>     </...

Flex: Set LineChart to append dataProvider values horizontally to show growth over time frame

Basically the default behavior of the horizontal axis of the line chart is to graph each plot "as is" for example if you had this data: <data value="5"> <data value="6"> <data value="7"> would graph, 5|6|7 I would like to make it graph so that it is adding to a value as it goes horizontally so it would graph the numbers like this: 5|...