flex

Flex Container automatic layout

Hello all. I am working in Flex. How can I display components in a Container so that they are arranged according to width of container. I have dynamic no. of labels and I want them to get arranged in a manner that after a particular width of that container, child label components should automatically start from next line. If I use HBox...

2d game engine for race game built to web-page.

I think Flash/Flex is a good aproach for this case. We need to build some like the following: http://www.flashracegames.com/play-micro-racers-2.html Is there some free engines to perform it? ...

Can't make navigable rendered component

Hello. I have the next component, which is substituted into the data grid as rendered item. <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" click="navigateToURL(new URLRequest('{data.GetLink()}'), '_blank');"> The problem with click event, it doesn't work. How correctly to make navigation VBox that url is substituted from the d...

DTD flash open source engine?

DTD flash flex action script open source engine? I need some open source engine for creating some games like Desktop Tower Defense games Does it exist?) So… What do I need? I need - • Open Source Libs • Tutorials • Blog posts/Articles ...

Converting MXML to AS3: AreaSeries Click

Hello, I have a line of MXML for an AreaSeries in one of my Flex charts: <mx:AreaSeries yField="A" displayName="A Model" click="clickResetChart(6)" buttonMode="true" mouseChildren="false" useHandCursor="true"/> And I need to rewrite it into ActionScript. I have all of it working except for the "click" function. Could anyone tell me...

Delay before playing embedded mp3 in Actionscript / Flex 3

I am embedding an mp3 into my Flex project for use as a sound effect, but I am finding that every time I play it, there is a delay of about half a second from when I call .play() to when you can hear the sound. This makes it weird because I want the sound effects to sync to game events. My mp3 itself is only about a fifth of a second lon...

Method that gets called just before object destroyed

Is there method that gets called just before object destroyed? So I can override it. Like protected override function beforeDestuction():void { trace("This object is about to be destroyed!"); } ...

Best way to create GOOD LOOKING, multi-platform, desktop Ruby apps?

Hi everyone, I've got an idea for an idiotically simple application, one that converts HAML and SASS into HTML & CSS files for the user by watching directory changes (like Compass). Almost all the components are already available in the community, I just need to figure out what to use for the front-end. The catch: It must be: a stand...

Checkbox Visibility Binding in Flex Repeater

I am trying to dynamically bind the visibility of a checkbox control to a data field of a repeater as follows. <mx:Repeater id="rptrQuestions" dataProvider="{QuestionsXMLList}"> <mx:HBox> <mx:CheckBox id="chkQ" visible="{rptrQuestions.currentItem.CheckBox.@Visible}" includeInLayout="{rptrQuestions.c...

Custom bullets in Flash

Is there a way to make a bulleted list in flash with custom bullets? If so, can this be used from within a TextArea in Flex (mx.controls.TextArea) when setting htmlText? For example: <li>Item</li> <li>Item</li> The list above will render fine when set into a TextArea using htmlText (versus just setting the text property). The rendere...

Differences between SWFAddress and JSInterface... which to choose?

What are the differences between SWFObject/SWFAddress and JSInterface? JSInterface has a lot more functionality but SWFAddress seems to be the standard, so I'm wondering what you choose to use and why, and if you could use both of them. Can you even do SWFAddress-like things with JSInterface? I can't seem to find out how to do "back",...

Flex Charting Trial

Why is there a watermark on my Flex charting applications saying 'Flex Charting Trial'? ...

How can i do select multiple rows ( allowMultipleSelection="true" ) in datagrid using flex ?

I have id(array) used in my application . i want to select number of rows mathching given array but if i used gatagrid selected Index then it will be selected only one row only . i set data grid allowMultipleSelection="true" also .. . how can be select mutipule rows in datagrid ? please refer me for(var i:int=0;i<id.length;i++) { ...

flex pop3 imap socket

how can i communicate gmail pop server from flex i used pop.gmail.com and port =995 using Socket() class but it returns 220 mx.google.com ESMTP but i dont understand nothing. ...

return a FaultObject on purpose from pyamf

I am currently migrating from RubyAMF to PyAMF. In RubyAMF you can return a FaultObject deliberately like so: render :amf => FaultObject.new("Thats not your pie!") Is there comparable functionality in PyAMF? I've searched the docs and can't find any mention of it. ...

swfobject weird behavior

Hi All, I'm using swfobject to embed my flash. It's doing weird things. I've created a simple textfield using FlexBuilder. It's an AS3 project, which extends Sprite. I've set its width to be 640 and height to 450. Then, in the swfobject parameters of the page, I've also set 640 x 450. I've made the background nice and red and ugly so ...

Node drag sensibility in Flare

I have a graph to which I add and delete nodes (using animation with FunctionSequence) according to the user's interaction with the application. My problem is that as I add or remove more nodes, the drag sensibility of nodes increases. In other words when I drag a node after adding and removing nodes from the graph even a small movement ...

Issues displaying the Background in VBox while using WindowShader

I am using a WindowShader in my website. every thing is working fine. but for somereason i am unable to display any background for my "home_feeds" VBox. If i add components on it, i can see them. But they backgound is not working. Even if i remove every thing from the Canvas(with home_feeds) i still dont see any background. But if i remo...

Error: Id attribute is not allowed on the root tag of a component.

I have a code like the one below <mx:Button id="TestingID" width="100%" height="20"> <mx:Script> <![CDATA[ import flexlib.containers.WindowShade; ]]> </mx:Script--> </mx:Button> I am getting the error "id attribute is not allowed on the root tag of a component" I have to give a ...

How to disable the drop down function of combo box on certain conditions?

Hi, I have a combo box in my application. I also have a variable called "Status". I want the combo box to be enabled only when the value of the Status variable is 5 or 6. Otherwise, I should not be able to change the value in the combo box. It should have the previous value only.. I had written a click event to disable the combo box. B...