flex

navigateToURL with GET parameters in local SWF

I'm running a Flex application locally (local-with-filesystem or local-trusted), and I'm trying to call navigateToURL to a local page using GET parameters. Flash Player in Internet Explorer seems to be ignoring the parameters when opening the local page, though. The same code works as I expect in Firefox, so I'm not sure whether it's ...

Resizing FileReference image then reuploading, only reuploads original image.

I can;t figure out how to do this. Someone selects and image after calling FileReference.browse(). I take that image and make a thumbnail in flash. Then I upload that image like so: var newFileReq:URLRequest = new URLRequest(FILE_UPLOAD_TEMP); newFileReq.contentType = "application/octet-stream"; var fileReqVars:URLVariables = new UR...

looping through object property names in actionscript

I have a dynamic class that I have created public dynamic class SiteZoneFileUploadVO { public var destination:String = "sitezone"; public var siteZoneId:uint; public var fileType:String; public var fileContents:String; public function SiteZoneFileUploadVO() { } } when I try to iterate over this obj...

Flex XML get Value ( Where is the mistake? )

Hi everyone , i want to acces an Element of an XML. But somehow. i get null as the Result and that does not make any sense to me. Can you find the mistake ? ...

How can we retrieve value on main.mxml from other .mxml?

main.mxml [Bindable] private var _dp:ArrayCollection = new ArrayCollection([ {day:"Monday", dailyTill:7792.43}, {day:"Tuesday", dailyTill:8544.875}, {day:"Wednesday", dailyTill:6891.432}, {day:"Thursday", dailyTill:10438.1}, {day:"Friday", dailyTill:8...

How do I emulate Photoshop CS4 Smooth Font Rendering in Flash?

Any ideas about how to emulate Smooth font rendering option from Photoshop in Flash/Flex? I've tried different settings for advanced rendering (antiAliasType, gridFitType and friends) but not much luck so far. Any ideas?.. ...

Changing the background color and border color on selection on a tilelist??

Hi friends , I am using a tilelist I want to change the border color and the background color of the tile on selection. Is it possible ???? Thanks in advance Prashant ...

Providing raw MP3/AAC data to Flex/Flash from a custom container

Having had a quick look at the Flex docs I can't seem to find any reference to providing audio content to be played from a custom (possibly encrypted - don't worry, it's not that evil) container format. Is this possible and if so, could someone point me in the right direction. Or if that's not possible, some way to hook into the disk/ne...

Google Chrome does not refresh Flex Application

I have an online flex app that is served via an html page. Its critical that the flex app is refreshed in the user's cache every time that it changes. To help ensure that this happens, I change the name of the swf file every time that it changes. In addition, the html page contains the following lines of code: <META HTTP-EQUIV="Pragma"...

Remote hosted flex app

I have a flex app that is hosted on my server. It runs off an amfphp + mysql stack. I have had inquiries from potential clients who want to "white label" the product. Part of this means that they would want it to appear that the app is running off their server. So their clients would login at www.theirsite.com instead of www.mysite.com....

Make a POST request with parameters and an attached file.

Can anyone give me an example of how to do that? ...

Flex special characters not embedding

Hi, I am using the following code to embed Arial into my application: [Embed(source='../assets/fonts/Arial.ttf',fontFamily='CustomFont',fontWeight='regular', unicodeRange='U+0020-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E,U+0080-U+00FF,U+0100-U+017F,U+0400-U+04FF,U+0370-U+03FF,U+1E00-U+1EFF,U+2022,U+2219,U+2...

How to implement this layout in Flex 4 ?

Hi guys, I'm pretty new in Flex development. Now I'm learning layouts in Flex. I try to make the following layout. The red arrow means when enlarge the window, the red arrow widget will become large too. Can anyone implement this layout in Flex? Thanks in advance. ...

Is it possible to bypass the cross-domain.xml requirement for an Adobe AIR application built with Flex?

Is it possible for an Adobe AIR application to connect to a remove webservice that does not expose a cross-domain.xml file? If so, how do you configure the security sandbox within Air to allow this? I have attempted a socket connection and received the following error: securityErrorHandler: [SecurityErrorEvent type="securityErro...

What's the best place to post Flex jobs?

I have tried posting to Dice.com and craigslist but didn't get that many resumes. Dice and craigslist have worked great for Java and IT job postings in the past. ...

FLex MouseEvent doesn't fire when Mouse stays over element

Hi, i'm trying to make a scrollable box, when a mouse enters and STAYS on "wrapper"'s area, "pubsBox" moves 10 pixels to the left. <mx:Canvas id="wrapper" height="80" width="750"> <mx:HBox id="pubsBox" horizontalGap="10" height="80" width="100%" /> </mx:Canvas> My problem is that I'm not sure how to make the MouseEvent.MOUSE_OVER ...

[FLEX] Images won't dynamically refresh

I am writing a Flex application to receive xml from an httpservice. That works because I can populate a datagrid with the information. The xml sends image pathnames. A combobox sends a new HttpService call onChange. This repopulates the datagrid and puts new images in the folder that flex is accessing. I want to dynamically change the i...

In flex, make all buttons be pressed with return key

Buttons in flex can be pressed with the space key, but a client would like to press enter instead of space. This can be achieved by programming each button, but it would be very time consuming. Does anyone have an idea how to do this in the less amount of time? thanks. ...

Loading external SWF with masked content - need width/height

I am loading an external swf using the SWFLoader component. The swf that is being loaded is masked so that only a portion is being shown. However, when it's loaded the actual size of the swf (loader.content.width/loader.content.height) is the complete swf including the masked area. Therefore, the loaded swf does not display properly in t...

Setting up functional Tests in Flex

I'm setting up a functional test suite for an application that loads an external configuration file. Right now, I'm using flexunit's addAsync function to load it and then again to test if the contents point to services that exist and can be accessed. The trouble with this is that having this kind of two (or more) stage method means tha...