flex

Spring BlazeDS + Flex + JBoss Project setup in eclipse using Maven

Hello, I would like to know how to proceed to set up a work environment in order to develop Spring BlazeDS applications. Those server applications are meant to be accessed via AMF remoting from some client Flex application. Actually I have Maven and m2eclipse set up and working, local JBoss v6.0M2 running, Flex 4 plugin installed. Ide...

Access resources login protected with Rails and Flex

Hi, i'm trying to figure out how i can handle login protected actions in RoR (Ruby on Rails) with Flex without using weborm or rubyamf remoteobject. I'm in the situation where i have to fill a datagrid with results of an HTTPService request after i log in correctly into my application. Can anyone suggest me the way to accomplish that? ...

Flex edit DataGrid cell on click only when previously selected

I need to modify the behaviour of an editable datagrid to this: -Single-click on a row, doesn't make the cell show a text input field (only selects the row) -Double-click on a row, doesn't make the cell show a text input field either but -Clicking a cell in an already selected row, shows a text input field ready to be edited. I beli...

Transform my Flex application into Adobe Air. Running a PHP in Air

Hi, I'm a newbby in Adobe AIR/Flex. I have developed a simple Flex web app. that through 2 Php's, can connect to a DB and return an XML result of the query. I uploaded the PHP and Flex files to my internet server, and the app. works fine. My question is: How can I make the same app. work in Adobe AIR? In other words, I have made a new...

Which is the best approach to use music and sounds in AS3?

Hi ppl, I participate in a important project right now and I have to implement a class that manages music and sound. The project that I'm making is developed in AS3 using the Flex enviroment. Is there a "best approach" or only different ones?... Thx. ...

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:

I have created a crosdomain policy file, I have added code to my flex app, and I still get security sandbox violation...have I done something wrong? Here are my errors and file snippets: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://mysite.com/folder1/folder2/media/swf_demo.swf cannot load d...

Flex Keeps compiling old files

Hi, I'm working on a project on Flex AS3.0 project in Flex Builder. It was working fine, I changed the name of one of my classes and all the related process. Now when I compile dubug the thing, it keeps on compiling an older version even if I comment all the code in main. It still compiles the old files. I have cleaned the project , but...

SPRING: How do you programmatically instantiate classes based on information passed from Flex UI

Imagine the UI passes back an XMl node as such: <properties> <type> Source </type> <name> Blooper </name> <delay> <type> Deterministic </type> <parameters> <param> 4 </param> </parameters> <delay> <batch> <type> Erlang </type> <parameters> <param> 4 </param> <param> 6 </param> </parameter...

Flex SDK : "view source" option without FlexBuilder

Hi all, I don't know if this is possible, but is there a command line tool included in the Flex SDK that allows me to do the same as the "view source" option in Flex/FlashBuilder : I'd like to generated HTML files with my source code etc but I don't have FlexBuilder, Cheerz, ...

Run AsUnit runner from Ant

How can you run AsUnit test runner from Ant? I'm on the Mac OS so I use: open -a "flash player" tests.swf How can I make this cross platform? ...

Flex: Animate an image how to do it in as3

Hi! i am having problems with animation. Can't realize how to animate things in flex? E.g. in my current self made project I want to make am image to move after response from server. E.g. after event on client side is made, server returns coods of new location of an image. How do I animate the movement? Examples will be appreciated, ...

why does validator gets called multiple times with Flex 4 Beta 2

Hi, I created a custom validator as follows in Flex 4 beta 2: // ActionScript file package com.lal.validators { import mx.controls.Alert; import mx.validators.ValidationResult; import mx.validators.Validator; public class BirthDateValidator extends Validator { // Define Array for the return value of doValidat...

What is the class of an Embedded asset?

What is the class of an embedded asset? [Embed(source="picture.png")] public static const picture:Class; what is the class of: new picture(); what superclasses does it inherit? i thought it would be Sprite, but it gave me a TypeError. ...

How to send parameters to swf not using any html?

Is it possible to send params to swf using SWFLoader or something like it? So.. I want to create swf loader (swf) which would be able to send some Application.application.parameters to swf swf I'm triing to load (which are usualy sent to an application from html.) how to do such thing? ...

How to filter sound coming from microphone in flash (10.1)?

I hove some sound coming from microphone. i need to add sound filter to it and to play it to the guy which talks into that microphone. How to do such thing? ...

What live sound editing\filtering libs are there for flash developers?

What live sound editing\filtering libs are there for flash developers? ...

How to load flex swf from flash?

I have some swf compiled in flex I want to load it into my movie clip in flash pro. ...So how to for example load flex swf inside Flash CS4? how to do such thing? ...

Flex - Label layout issue: shorter text means wider label

Hi Would anybody know why the following code results in the first label being wider than the second one? The first box (shorter text) measures 21 pixels in width, the second box 19 pixels. <mx:VBox> <mx:HBox id="lbl1" backgroundColor="#6789ad"> <mx:Label fontWeight="bold" color="white" text="0" /> </mx:HBox> <mx:HB...

Flex profiler doesn't do anything

My Flex application has some memory problems which I'd like to find using the profiler. However, when I run the profiler from Flex Builder, nothing happens. The appication is run the regular way, but nothing is profiled. The Profiling perspective doesn't event open, and when I open the Profiling perspective, no memory usage is displayed....

ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined.

I'm trying to use the flex profiler to discover where the performance problems in my app are. However, when I run the app, I get this error message. I don't get this when I run regularly or in debug mode. ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined. at flash.ui::ContextMenu/initLinkAndClipboardProp...