flex

Is there a website where I can find free mp3 files to use in my flex project?

I was wondering if there is a website from where I can download free mp3 files to use in my flex project? I am looking for some mp3 files using which I can create simple sound effects (e.g., you press a button, you hear a sound). I read flex can only play mp3 files, not wav files. Is this true? What's the best way to convert wav files to...

How To Hear Back From PHP Component Of File.Upload in Flex

http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_7.html When calling File.upload - how can the server communicate arbitrary information back about the upload? The Event.COMPLETE event that fires after upload only seems to contain a reference to the uploaded file, not any information that the serv...

Flex: Printing PDFs

Up until now I have found several solutions for generating PDFs including AlivePDF and Jasper. Now they work in the way that they generate a PDF and the user can save it. The main issue that I am facing is that when you implement a download method after the user choses the path where to save it, the file gets saved, and that is it... t...

Why is my URLLoader returning no data?

in AS3 I'm trying to load a URL (a Yahoo address) into the application so I can process the source code and pull things out of it. However, when I load it, or any other page, I get 0 bytes back. Here's my current code. private function doSearch():void { var req:URLRequest = new URLRequest("http://yahoo.com"); ...

what's the difference between MXML and Actionscript3

what's the difference between MXML and Actionscript3 when we need to use MXML ?? ...

How do I append an item to my dataProvider? (Flex)

What I would like to do is simply add to a dataProvider, but when I do, I get an error. Here's the code I'm trying to run... dg.dataProvider.addItem(obj.ResultSet.Result[i]); It's inside a for loop, using i as the integer. It works great doing... dg.dataProvider = obj.ResultSet.Result But that won't work for me, because I need to...

Flex and Amazon Payments

I am trying to get amazon payments working w/ my flex app, as shown here: http://miti.pricope.com/2009/07/11/using-amazon-flexible-payment-system-with-flex/ I've done exactly as he says, I've downloaded the files & changed the access key & secret key. When I run it on localhost or my production server I get "Signature did not match" Wh...

Flex: Delete visual element

I have a VGroup in my application that contains several custom components of type MyComponent. Now I have a delete method in MyComponent that should once ran delete the element from the VGroup. I know I should use parentDocument.vgroupId.removeElement() but what to pass as a reference? Note: I want to do the delete within a method from...

Ways to implement Flex [Bindable] in other languages

As you may know, ActionScript allows you to mark a variable as [Bindable], causing any changes to that variable to have immediate effect all over your application. Pretty neat. How would you implement this feature in your favourite programming language? My first guess was to use events or wrapper classes, but I couldn't come up with a c...

building animation in flex

I am trying to build animation based on mathematical formulae(speed varying with time as per equations)- hence am charting x,y coordinates with formulae on user provider values, rather than inbuilt functions In doing that, am struggling to get the timer right. for e.g if I set timer=new timer(1), object.x=object.x+1 the object doesn'...

change state when hover on another spark element

How to set a hover state (upSkin) when hover on another element? This example is not working on spark: http://stackoverflow.com/questions/3364244?tab=oldest#tab-top Would like to do something like this: <s:Button id="but1"/> <s:Button label="change" mouseOver="button2_mouseOverHandler(event)"/> protected function button2_mouseOverHand...

problem with events in flex using boxes

Hi, i have following problem, when i create box in action script and whe i addEventListner for drop accept, and if i add this box to some parent box, then this event is not working, if i add this event to not child but to parent box, then it is working, what can i do if i want create many boxes, add to them events listners and then add t...

html hover behavior in flex

I've some flex structure: <s:BorderContainer id="addFunctionBarContainer" width="100%" height="50" mouseOver="addFunctionBar_hover(event)"> <s:Button id="addFunctionBarButton" width="20" height="20" click="addFunctionBar_clickHandler(event)" skinClass="skins.AddButtonSkin"/> </s:BorderContainer> How to write the func...

Custom calender Component

Hi , I need a Date custom component which is date should be disable when selected the calender icon. If any one have pls share me. thanks, Ravi ...

should I use FXG or bitmap images to create my custom skins?

I need to create a lot of custom Flex 4 skins, in most of the examples I found on the web people use FXG in order to create the skins but if a lot of the icons I use are not resizeable should I still use FXG or better use just plain old bitmap images (jpg. png)? ...

Flex: Restrict data input

I have a TextField as: <s:TextInput restrict="A-Z0-9_" maxChars="30"/> And I am restricting the input to: Capital letters Numbers _ no spaces max chars 30 How can I restrict the input more to allow only letters at the begging and end? ...

Can one keep both version of Flex builder simultaneously (verision 3 and version 4) on his/her machine

Dear Friends, I have Flex builder 3 already installed on my machine. Now, I want to use Flex builder 4 also (officially Flash BUilder 4) on same machine. Can I directly start with Flex builder 4 and import my Flex BUilder 3 project there w/o any loss ? If not then, do I need to first uninstall my current version (3) or can I keep both t...

One frontend for iPhone/iPad, Android and Multi-Touch displays.

Hello to all. I have built a multi-touch application which is based on a Java EE backend and combined with BlazeDS to a Adobe Flex frontend. The application runs on a DIY-Multi-Touch which I built. Now I want to use another solution. The Adobe Flex frontend (with a multitouch library) and the BlazeDS adapter should be replaced by a solu...

Using Reports with Flex 4

I am working on Flex 4 and I want to use reports with my Flex project. Is there any way to do the same? I mean any report library provided by Flex or any 3rd party application integration? ...

Draggable scrolling. How to scroll while dragging?

When I was starting to drag any element, mouse wheel scrolling is turned off, how to scroll while dragging? I'm newbie here, so I can't insert a picture, here's a link http://i.imgur.com/4tp69.gif ...