flex

flex in full screen mode

Hi friends i am new to flex , i develop a sample page , in that i have the following code , <?xml version="1.0" encoding="utf-8"?> ]]> <mx:Image x="246.5" y="10" width="781" height="155" scaleContent="false"> <mx:source>file:///C|/Documents and Settings/user/Desktop/Top.gif</mx:source> </mx:Image> <mx:Label x="531" ...

Pylons and Flex 3

Hi all, Has anyone used Python/Pylons as the server backend for a Flex 3 application? Does anyone have any thoughts on how well this would work? I read Bruce Eckel's article about tying Flex 3 to Twisted, and I've done Twisted programming, but for just a web service I think Pylons is simpler to use. Thanks in advance, Doug ...

Application compiled by Flex Builder 3 does not trace

I've built a simple application in Flex Builder 3 with some trace() calls. It's an "ActionScript Project", no MXML or AIR involved. I don't run the app from within Eclipse, I just open the generated html file with Firefox. I'm using the Flash Player 10 Debug version. I've correctly set mm.cnf to log trace output, following the official ...

How do I ping from Flex - AIR?

I'm bored cause my development server is down and I'm running the command prompt to ping the server indefinitely so that I'll see when they stop timing out and know that I can work again. In the meantime I wanted to make an Air app that will do this for me, so I can have it chirp or alarm or do something when it starts to be able to conn...

Help! dragDrop event not firing for my TextArea control

I'm working on a simple view in my app that allows a user to drag an item from a list control and drop it onto a textarea. Seems the dragEnter event fires just fine, but the dragDrop event does not. ...

Flex combobox custom icon

Trying to set the up and down state icons of a Flex Combobox to images. I see the property for changing the color of the icon, but no property to skin it. How can I do this? ...

Parent App access vs Events in Flex Modules

Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling. Thoughts? ...

Unable to refresh tree control with new branches from successful RemoteObject call

I'm trying to populate a mx:tree component with values that I'm getting from BlazeDS. The returned data from BlazeDS is fine - it's an ArrayCollection of Folder value objects. I've been instructed to use Cairngorm for this project. I'm pretty new to Flex and Cairngorm. According to the limited documentation that I've read online I shoul...

Find date for same day of the week last year?

OK so for example, today is Tuesday, Feb 02. Well the equivalent "Tuesday" from last year was on Feb 03. How can I find this out programmatically? Thanks!! ...

What is the most effective way to style a Flex application?

This may be more of an opinion poll than a question, but here goes. I have a fairly complex Flex application that uses many different components. I want the application to be able to custom styling and/or skinning. I also want to be sure that the styling approach makes the most efficient use of system resources (memory, CPU, network),...

How to create very dynamic menu like Picnik's?

Picnik's left hand menu: http://www.picnik.com/app#/create/shapes Basic features: Accordion like components (but multiple items can be selected) Each stack has multiple child stacked The whole menu resizes depending on how many stacks are selected and a scrollbar is also shown if necessary So how Do I go about creating a menu like ...

Write XML File from a flex application back to a rails Server

Hi everybody, I have a XML-file, which I want to send to a rails server. To do so I use the following code: <mx:HTTPService id="dataService" result="resultHandler(event)" resultFormat="e4x"/> In a Function triggered by a save button, I do the following: var params:Object = {}; params["xml_file"] = xmlDoc; dataService.method = ...

Convert CharCode to Char?

What I need ok I googled this and there are many tutorials on how to get the charCode from the character but I cant seem to find out how to get the character from the charcode. Basically I am I am listening for the KeyDown event on a TextInput. I prevent the char from being typed via event.preventDefault(); Later I need to add the te...

flex add radiobutton child to VBox

I am having troubles adding a radiobutton to a VBox in actionscript. var radioButton:RadioButton = new RadioButton(); radioButton.groupName = "source"; radioButton.label = "label"; radioButton.selected = false; radioButton.addEventListener(Event.CHANGE, sourceChangeHandler); vBox.addChild(radioButton); I firs...

LIttle problem with Flex and sqlite query?

Just a quick question about a small problem I'm having with a flex app I'm creating. Its my first time tying to create an app using a local database and I'm getting an error in my query. private function emptyrow(eventObj:CloseEvent):void { var stmt:SQLStatement = new SQLStatement(); id = datagrid_id....

Embedding flex app in ASP.NET page (aspx)

Hi, I am making a flex app to embed in my ASP.NET portfolio. What is the best way to embed the .swf file into the HTML of the .aspx page? Thanks ...

Flex ColorPicker load colors from xml

Hi, I have a colorpicker that I want to have his colors loaded from an external xml, my xml looks like this <colors> <color label="Aqua" colorHex="0xFFFFCC"/> <color label="Forest Green" colorHex="0xCCFF00"/> <color label="Kelly Green" colorHex="0xCCFF00"/> <color label="Royal Blue" colorHex="0xCCFF00"/> ...

rails best way to receive xml data from flex application

Hi everybody, Can anybody give me any hints on that? I'm able to display xml content on my swf file but how can I send the changed xml file back to my rails Server? Thanks in advance! Markus ...

Flex desktop app with embedded browser incompatible with asp.net ToolkitScriptManager??

Hi, I have a website that's developed in ASP.NET and uses the AJAX Toolkit (asp:ToolkitScriptManager) for a couple of extenders. The AJAX effects (e.g. ) work perfectly across IE 7, IE8, FF3.5, Safari, and Chrome. However, I embedded my site in a desktop Flex-AdobeAir application using the component which is able to run the entire sit...

How to use radius style in Flex plot charting

When I use radius property in Flex plot chart It causes a warning says radius has been deprecated, please use radius style There's no online documents about this warning. How Can I use radius style ? Thanks. ...