flex

Maven and Flex Builder

Hi guys, I use Flex Builder to generate data binding for my Flex app with Blaze DS. When I compile my pp from Flex Builder everything works just fine. But when I try to compile it with Maven I has a problem with missing libraries. I discovered that maven miss the following libs: fds.swc, fds_rb.swc fiber.swc, fiber_rb.swd serializers...

How to play audio/video files in flex?

I'm using flex 3. I've successfully played video and audio files by using following libraries: flash.media.Video flash.media.Sound Live docs link. But the limitations are as follow: Video class can be used to play only flv file format. To play mp3 files I must use audio file. So can I play most of the famous audio/video files by...

Creating an Online Diagramming Tool.

Recently i have thought of setting myself the task of creating a basic digramming tool that would be web based and would like some input from other programmers and developers with more experience that myself. I have stumbled upon this Site that offers an amazing piece of software and was wondering how they went about creating such a thi...

Animating a transformation based on transform matrix in Flex

I have a UI component that I wish to relocate and scale, but in a rather complex way. I've figured out the necessary transformations using the transform matrix, to which I applied several translate and scale operations. I can set the new transform matrix for this UI component to be the above calculated matrix, and the results are accur...

Component doesn't get garbage collected

I just noticed a strange behaviour while looking at my application in the Flash Profiler. When I click a button in my TitleWindow then the TitleWindow doesn't get garbage collected after it is removed. I have no idea why that is happening. I've created a small example application, so you can try it out yourself: Main.mxml <?xml versio...

Definition mx.binding:BindingManager could not be found.

Why I'm getting this error in a actionscript project using flash Builder? I'm not even embedding anything, I'm just extending an OSMF class 'NetStreamLoadTrait' which has some metadata, that's it. [ExcludeClass] I'm using another OSMF project insted the one coming with the Flex SDK 4.0, but I have deleted the osmf package inside the SD...

Flex and Video Annotation

I have been investigating how to annotate video using Flex or AIR. Similar to how it is being done on YouTube. I am not getting much joy. Wondered if anybody might have any insight? Thanks --Matt ...

integration of flex/ssrs (Flex based UI for reports created in SSRS)

We have an application which is created in asp.net/flex front end, ms sql/ssas as data source. We are in phase of creating a new reporting module. so for consistency of graphs and ui we want to use flex as front end and SSAS as backend for reporting module. My understanding is: *Flex based UI (reports/parameters) SSRS Reports (standa...

How do Flex developers coordinate with designers?

I've usually designed Flex applications myself but this time I'll need a designer to assist with skinning the application. I've worked with this designer for a while, and we could work well on an HTML/CSS environment. He can't code, he sends me sliced PSDs which I could convert to clean code. But I'm not sure how to have him assist me wi...

how to display one mxml in another

I have one mxml file that process xml, and display the graphics on panel. I need to display first mxml in another mxml file, in some area(HBox, VBox, Panel, dont care). How i can do this? ...

How to inherit states with mxml?

I have the following panel component called AdvancedPanel with controlBarContent: <!-- AdvancedPanel.mxml --> <s:Panel> <s:states> <s:State name="normal" /> <s:State name="edit" /> </s:states> <s:controlBarContent> <s:Button includeIn="edit" label="Show in edit" /> <s:Button label="Go to e...

How can I make my AS3/Air code better?

Hello everyone this is my little Frankenstein code, don't make fun of it, it works! So you would pass in the table name and a data as an Associative array which are objects. I'm pretty sure this is not good code as I was and still am learning ActionScript. So what can I change or how would you guys make it better? public function save(t...

Flex Unit 4 -- Hello World

I want to use the Flex Unit 4 Suite. I don't really have any experience with unit testing. I downloaded the Turnkey project but I was a little overwhelmed. I basically just want to start by creating a simple hello world unit test. if I have a class called MyClass with 2 methods square() and cube(). and I want to create a unit test l...

Weird positioning problem with Flex UI components

I am trying to animate in some clips that are part of 3 seperate UI components. So I loop through the clips and try to place them and I am getting strange results. I eventually just tried positioning them with a manual number. So I set the xVar for 1 to 35, for 2 to 150, to 3 to 300. Then when I trace the x values after the tween I am ge...

Adobe Flex/Actionscript event handling order

As simply as possible, I am trying to find out if events are guaranteed to be handled in the order they are dispatched. Let's say I have the following, simple code: private function handler1(e:Event):void { .. processing ..} private function handler2(e:Event):void { .. processing ..} private function handler3(e:Event):void { .. process...

Multiple AS classes in one swf file

Hi there, I'm trying to compile AS files using the mxmlc but the particular class depends on other classes. My command is something like this: mxmlc -includes classA classB -source-path=. com.example.com.classC. This gave me classC.swf but when I loaded it, it was still looking for classA.swf and classB.swf. Is there anyway I can hav...

How to debug Flex application under maven

I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder plug-in for Eclipse as my IDE. My application consists of several libraries and modules. I manage all of them as a small maven (flex-mojos) projects. Does anybody can share some ideas how to setup robust debuging enviroment? ...

Flex setFormatOfRange not working on actionscript-created TextAreas.

I have the following code: var vg:VGroup = new VGroup(); var summary:TextArea = new TextArea(); summary.text = "something" var tlf:TextLayoutFormat = new TextLayoutFormat(); tlf.fontSize = 18; tlf.fontWeight = "bold"; tlf.color = 0xFF0000; summary.setFormatOfRange(tlf, 0, 2); vg.addElement(summary); (the TextArea is a spark.component...

Is NetStream only for use with FMS and Stratus?

Hello I want to use a Microphone to capture voice and encode that with Speex and then send it over a NetStream to a server. However does only FMS (Flash Media Server) and Adobe Labs Stratus (some p2p thingy) work as server software? If that is the case can I use the sampleData event of the Microphone class to capture sound and send it o...

Flex DropDownList LabelFunction Issue

Hi All I have a dropdown list as : <s:DropDownList id="cad" width="100%" dataProvider="{model.referenceList.refPatientResponseLists}" labelFunction="myFunction" selectedIndex="{model.cd.code}"/> Now the refPatientResponseLists returns 3 rows of data & I need to display the 3 values in the Dropdownlis...