flex

Reusable C#, Java and/or Flex components

I am looking for reusable open source components. The level of depth, breadth and hopefully quality that I'm looking for is similar to this. Although I need them in programming languages C#, Java and Flex (which I often use in my projects), other languages such as PHP, Perl, Python, Ruby etc. are welcome. I see this as a big help for ...

Flex: Inverting LinearAxis values

I have a line chart that is updated every so and so seconds, similar to the one you see in Windows' Task Manager. The chart goes right-to-left, with the most recent data on the right, and going leftwards. How would I invert the values of the X axis so that the lowest value is on the right and the highest on the left? It's a LinearAxis. ...

how to remove right click menu in swf (flash cs4 using action script 3 ,flash 9) ?

i made swf using flash 9 player if i right click swf it will shows menu like zoom in , zoom out, etc option . but i saw this site url ( http://www.3dfreeair.com/index.php?option=com_content&view=article&id=4&Itemid=6 ) animation swf like elephant.swf, bird.swf... not show anything .only shows reddraw option How can i do li...

e4x query based on sub attributes

I'm trying to execute an E4X query (on the xml below) that will return all "accessor" nodes that contain a "metadata" node with a "name" attribute that equals "Required". I tried... type.accessor.(metadata.@name == "Required") ...but that only works for accessor nodes that have only 1 metadata node. Any clues? <type name="org.sprin...

Flex loads SWF as Sprite. How do I load it as a Movieclip instead?

Hi, I have a problem converting SWFLoader.content into a MovieClip instance while following (TheFlashCanon's excellent tutorial) on making a SWF communicate with Flex. The SWF loaded in question is compiled using Flash CS3 (using actionscript 3). However, when I try to get the content of the SWFLoader and convert it into a MovieClip ins...

Can I access excel mathematical functions from flex action script through vbscript injection?

We are looking to do display some mathematical data in a Flex GUI chart. We need to do plot for two array of data the following. cross-correlation of both auto-correaltion of each and correlation coefficient It looks like Flex does not support scientific formula like cross-correlation,auto-correlation and co-relation co-efficient nativ...

Flex Result event... question

On ResultEvent through HTTPService, i need to print the result in a textBox. private function google(evt:ResultEvent):void { Alert.show(evt.result.loginsuccess.person); subtitle.text = evt.result.loginsuccess.person.keyword; } This is my XML coming down from PHP file... [index.php] <loginsuccess><person><keyword>java</ke...

PopUpWindow and null object reference

Hello, I've been struggling with this problem for last few hours but still got no idea what's wrong. Here's the scenario: Application built on top of the Mate framework sometimes need to exchange data with remote server over plain binary socket. When specific packet is received I have to switch view (using ViewStack) and create custo...

What is the difference between a.x = 100; a.y = 100 and a.move(100,100) ?

Hi, everybody. What is the difference between using a.x = 100; a.y = 100; and a.move(100,100); in actionscript 3 / Flex ? Best regards, Artem ...

flex doesn't seem to bind with custom actionscript object

Hi, I have a custom actionscript object defined as bindable with a number of public properties. [Bindable] public class MyObject extends Object { public var mobileNumber:String; ... In my mxml I have: <mx:Script><![CDATA[ import mx.binding.utils.BindingUtils; import org.test.MyObject; [Bindable] private...

Capture righclick event on Flash plugin using JS when using WMODE="window"

I'm using a custom right click context menu for a flash app (overriding the default adobe menu). For this Uza's right click solution ( http://www.uza.lt/blog/2007/08/solved-right-click-in-as3 ) works well. However, flash player plugin (for Firefox/Chrome etc) has a bug which breaks usage of international characters when its using WMode ...

Flex tween classes

I've been told several times or I've read in various places (can't remember where exactly right now) not to use Tween classes from the Flex SDK but to use instead other animation libraries like Tweener, TweenMax, GTween, ... What's wrong with using Flex tweens? Is it a performance issue? If I want to do states transitions, should I mak...

flex buffered data

Hello, we are implementing an AIR application in Flex. We populate dynamically a canvas and present it. The problem is that the data are build not before the the change of canvas. Is there a way to buffer the output and present it after the data has been populated? thanks in advance ...

How can I extend a LinkButton to allow HTML text in Flex?

I am feeding the label to my LinkButton directly from a string I receive from a Google API that puts html to format the label. I want to extend linkbutton to allow this. I wrote a class myself to allow html text for the label and that aspect of it works but now the background that appears when you hover is way too big. I tried to overri...

how can I embed an image in a FLEX form item label

I need to include an icon to the left of a label in my form. it would probably work best if the icon was part of the label. it seems to me that a form item cannot have anything preceed the label on the left side, is there anyway around this? ...

Flex: make height of SWF == height of content?

I am going to embed a Flex app on an html page. The html page is already going to have a scroll bar to scroll up and down. The contents of the flex app are very dynamic, and I don't want to have an extra scroll bar when there is already one. So is there a way to make the height of the swf match the height of the contents of the swf? Tha...

Flex/Flash "popup balloon" control?

I'm looking for a Flash/Flex component which will create a "popup" editing balloon, similar to, for example, iCal or Google calendar: Does such a thing exist? ...

flex datagrid freezes while retrieving data

hi, i have a datagrid which grows in size depending on the result of a call to my db. The call to the database returns an object with 30+ values for each row. When the number of rows returned exceeds about 80-90 the datagrid renders odd. It displays the first 50-60 rows fine but then it displays blank rows and they even continue to disp...

Flex How to delay setStyle until next update ?

Hello, I have a component composed of two parts, let's say two Hbox A and B in a Vbox. On a specific call I want to: - Hide B with B.visible = false - setStyle("borderSkin", FooBorderOn); The problem is that the border get drawn before the resizing of the parent Vbox happen, so i end up with a border Around the Vbox with B invisible...

PHP - MySQL Query not working

<mx:RemoteObject id="zendAMF" destination="zend" showBusyCursor="true" source="test_class" > <mx:method name="doLogin" result="onSayHelloResult(event)"> <mx:arguments> <username> {username.text} </username> <password> {password.text} </password> </mx:arguments> </mx:method> </mx:RemoteObject> This is my Flex co...