flex

Air Application runtime problem on a Macbook

Hi, I developed this Air application which tests fine on Windows. At a certain time when i click a button, it is supposed to open a popup which does not work in mac. Is this a problem with multiple children getting added programatically? Also double click works fine at times and doesn't at other. Since this is a Mac only problem, are t...

Loadbalancer Caching problems

Hi, I am using Apache Webserver 2.x with mod_proxy and mod_proxy_balancer for load-balancing two Jboss servers. Everything is working fine except one weird problem. The application is using Flex as UI technology and it consists of various modules (separate SWF files for each module). When I switch between modules, some of the modules a...

Curved Text in flex

Hello Everybody I was looking for text curved(arc- upper semicircle ) similar to the link below http://www.housesign.co.uk/design-a-sign/ If you select circle shape and the text gets curved along upper semicircle. I could not figure out the concepts to achieve the same.Below is my code implemented partially . Will need your suggestio...

File write permission to application directory in windows 7 in Flex

Hi, I am creating an AIR application using Flex. In it I use a file in application directory to store some data in it.Its working very well to read and write data to this file with various OS except windows 7. In windows 7 it is not working. May be its a permission problem. How can i write file in the application directory with Windows...

Adding states in a button in flex 4

Hi, I would like to know if there is a way to add states to a button in flex 4 in addition to the default states that are present. I am unable to find any material on this. Kindly guide me to an appropriate resource. ...

[Flex][GraniteDS] Flex side error : Didn't receive an acknowledge message

Hi all, I've this error when I try to load a list of "Product" in a simple DataGrid : Didn't receive an acknowledge message Was expecting mx.messaging.messages.AcknowledgeMessage, but received null After several tests I'm pretty sure now that it's a mapping issue, and as I'm not used to annotations, maybe it comes from here, here are...

Long Image links of Facebook is not working in Flex4 mx.image.souce

I am creating one desktop application of facebook. So here I am getting streams from facebook post. So when any facebook application's long image link I am getting that I can't display in Image container, this is not displaying image. One also fact is that, When I am giving this link directly then it is working..... I am full confused...

Associative Array : PHP/C vs Flex/Flash

In PHP an Associative Array keeps its order. // this will keep its order in PHP a['kiwis'] a['bananas'] a['potatoes'] a['peaches'] However in Flex it doesn't with a perfectly valid explanation. I really can't remember how C treats this problem but I am more leaned to believe it works like php as the Array has it's space pre-reserved i...

How to use SequenceRunner with FlexUnit 4

In the FlexUnit wiki I've read about the very interesting SequenceRunner that was contributed by the Fluint folks. Now I am trying to run a test that is very similar to the example, however when executing the run() Method of the SequenceRunner instance, I get this exception: Cannot add asynchronous functionality to methods defined b...

flex 4.1 mx:Image: how can i configure a fallback image that will be shown if link is broken

Hello. I'm using flex 4.1 to write an application and I was wondering how can I configure that whenever I try to load an image and the link is broken it will show a different image that i have embedded into my application. I'm loading an Image using mx:Image. thanks ...

How to import some actionscript files from flash builder 3 to flash builder 4?

I am having great difficulty getting my existing actionscript files into flash builder 4. Basically, I have fully working flex builder 3 project, in a flex builder 3 workspace. I now have flash builder 4, and a new flash builder 4 work space. I dont want to "import an existing project into workspace", as I need to move the project ou...

Flex: make getter Bindable in an value object

I have an value object in Flex which looks like: [Bindable] public class MyVO { public var a:ArrayCollection; public var b:ArrayCollection; private var timeSort:Sort; public function ShiftVO(){ timeSort = new Sort(); timeSort.compareFunction = sortDates; } public function get times():ArrayCollectio...

How to prevent an MFC dialog from handling the enter and escape keys and not passing it on.

Hi, we have a C++ application that hosts a flex application in a MFC dialog. Everything works fine, all button pushes etc are passed directly on to flex with no problem at all, except the enter and escape keys, which immediately closes the dialog. We can trap the enter key, by implementing PreTranslateMessage() or OnOK() and impede the ...

Flex 4.1: <mx:List> had rowCount properly for the limit the displayed items. <s:List> doesn't.

Hi I'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ? ...

Trouble with crossdomain.xml

Hi, I'm having some difficulty getting my cross domain policy to work. I have an swf at http://www.server.com/ that loads in XML and other files. I want to be able to embed that swf in other HTML pages (YouTube stylee) that aren't in the same domain. It works fine when access via it's local server http://www.server.com/my.swf or http://w...

How to calculate CRC checksum in Actionscript 3?

Hi, I am developing an application in flex in which I need to calculate checksum of different files. I would like to know if there is a direct method in actionscript to calculate that or do I have to go for any external libraries? Thanks in advance :) ...

How to create fixed size swf in pure AS3 only

Hi guys,,, I was wondering if there are anyways to get the fixed size swf file when I build my AS3 only project in Flex environment. I can't use scaleMode="noScale" since my swf is very small. I don't want it expand it to full browser winder either. Are there anyways to do it? Thanks for the help! ...

Set title of a titleWindow using AS3

I am using a titleWindow as a container for a popup (flex 3.5). I want to set the title of the window using a variable. Any idea, how do we do that? ...

Flex 3 Using an ArrayCollection to Populate Both a Datagrid and a ComboBox

Hi, I use this arrayCollection to populate a Flex 3 Datagrid. I'd also like to use this arrayCollection to populate a comboBox with the Name node. In the arrayCollection, I've got the Name listed twice. I've got two rows in the Datagrid. If I set the ComboBox's labelfield to Name, then the Name will be listed twice in the ComboBox me...

Copy a file included with an Adobe Air application out of the Application so that it can be modified.

Is it possible to provide an existing SQLite file with an Air installer, and have the Air application copy it out to local storage upon first execution so that it can be modified? Or do I need to take my pre-made db and recreate it on the fly with Air on execution (store all the queries required to create the tables/data in the applicat...