flex

Print using a template in flex

I've set up an application to print the current state of the control I'm using (in this case an ArcGIS server map), but I'd like to set up a print function that uses it's own template to print rather than grabbing the state of the application. I've attempted to do this by setting up a flex component that lays out the items I want to pr...

Bitwise ops on bitmaps in Flex/AS3

There is a specific bitwise logical op on three bitmaps I would like to achieve in Flex/AS3. It would presumably have to be done with some combination of DisplayObject blendmodes, ColorMatrix filters, and possibly something else I haven't thought of, as FLex/As3 doesn't have bitwise logical ops on pixels (except for BlendMode.INVERT). ...

Circular dependencies in flex libraries

I have two Flex libraries that reference each other. Both use link type "External", and I manually load then with the Loader class. I'm getting the error "A cycle was detected in the build path of project: foo". Is there any way to resolve this? Maybe a parameter for the compiler or something. I don't think there should be a problem, ...

Can I "embed" a Python back-end in an AIR application?

I'm trying to find out if there is a way I could embed a Python back-end into an AIR application? I'm looking to employ an approach similar to the one outlined here to implement the business logic for my application, but additionally, I would like to provide the user with a single binary which they can load. I don't want the user to ha...

Mashup a logo on product image - which flex image component to use?

Hi there, We need to build a webtool which displays an uploaded logo on multiple product images after upload. Basicly we need a tool similar like this: http://www.technologo.com/tl/EODStdNew.html I want to build this in Flex, does any one know some good component for this? I prefer open source but commercial is also ok. Thx! Richa...

AS3 large game performance degradation over time

I'm currently working on a very large Flash platformer game (hundreds of classes) and dealing with an issue where the game slowly grinds to a halt if you leave it on for long enough. I didn't write the game and so I'm only vaguely familiar with its internals. Some of the mysterious symptoms include, The game will run fine for a determi...

Mannually connecting Flash Player (debug) to Flex/Flash Builder

Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger. ...

Simple timeline chart with events in Flex

I am looking for a simple timeline chart, that I can display several events on over a varying timespan. I haven't found any specific charts in Flex, has anybody created or used anything along these lines? I found this, http://stackoverflow.com/questions/1328894/create-a-timeline-from-date-to-date-in-flex-as3, but that is only partially w...

Getting the Option Value Attribute based on radio button selection.

I have many radio button in my Flex form, when i click on generate XML... the button which is clicked should have value 1 and rest as zero. <options> - <option value="0"> <text>Text0</text> <feed>Feed0</feed> </option> - <option value="0"> <text>Text1</text> <feed>Feed1</feed> </option> </options> Below comes Flex co...

Flex and Zend_AMF: How do I get a Flex arrayCollection from Flex into PHP?

I currently have an arrayCollection in Flex and I want to sent it to PHP (Zend_AMF). According to the Zend_AMF wiki, sending an arrayCollection over directly will force Zend_AMF to cast the arrayCollection as an object which is no good. I'd rather have an array of my models. I assume the best way would be to convert the arrayCollection...

DateTimeAxis - set Label to display Date + Time

Hi, Is there a way in flex 3 chart component to display both the date and time using horizontal DateTimeAxis? Currently the DateTimeAxis element has an attribute dataunits which allows to set the value to any of "milliseconds|seconds|minutes|hours|days|weeks|months|years" but I want to display the label as "2009/09/15 06:00:00" which i...

Can i get an access to a flash player`s events pool?

I want trace every event on every object, there is way to do it? ...

How can I use one service definition for testing and another for deployment with Flex Builder?

I would like to use different service definitions in a Flex app depending on whether I'm running on: My local developer machine The test tier The QA tier The production tier My services are all AMFPHP remote objects, living on different hosts and at different locations depending on which tier I'm on. How can I have my flex app choos...

Actionscript Compiler Problem: Error #1068: Array and * cannot be reconciled.

I'm getting a very bizarre callstack in my Flex project (AS3). Main Thread (Suspended: VerifyError: Error #1068: Array and * cannot be reconciled.) I was able to reproduce it using this block of code. If you debug, you'll never get inside "failure" function. private var testArray:Array = [{},{},{}] private function run()...

Detecting the size of SWFLoader content

This is a long shot as I don't think it's possible. I want to load in a SWF and set it to fit in the window, whilst keeping it's aspect ratio. When I do this by setting the height and width of the SWFLoader, the SWF will resize to best fit in the space (as it is keeping it's aspect ratio). However I can't find a way to detect the heig...

How to test Vkontakte application with local WS?

I've developed a Vkontakte application by using Adobe Flex technology with WCF as my server side. The whole thing works perfectly on localhost, but after uploading it to Vkontakte - the WS doesn't seem to work and I get this error: faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: Defa...

HTTPService event listener so it triggers something when ".send" method gets data from XML.

Good day everybody. I've doing a bit of "training" at working with Flex and Remote Data from XML files. This is my HTTPService <mx:HTTPService id="loginData" url="com-handler/basic.xml" showBusyCursor="true"> </mx:HTTPService> I have a button and when its clicked its call a function, that calls loginData.send and does a little IF co...

AMFPHP Flex Propel Mapping class ultra-weird bug

Hello, I'm working on a website using : - Flex 3.4 - AMFPHP 1.9b - Propel 1.3 - PHP/MySQL My problem is really strange and I've been spending hours trying to know where it comes from. I'll try to focus on the problem which takes place in a whole system. To sum up, I have 2 entities (MySQL) : create table AAA ( id_AAA ...

FileReference and HttpService Browse Image Modify it then Upload it

Hello, I am trying to do an image uploader, user can: - browse local file with button.browse - select one and save it as a FileReference. - then we do FileReference.load() then bind the data to our image control. - after we make a rotation on it and change the data of image. - and to finish we upload it to a server. To change the data ...

All Flex components disappear when the canvas height scale over the limit

Using Flex 3, I had created a employer profile application where I could view 10 profiles in a page using repeater, however, when I tried to load 20 profiles in a page, all of the component go haywire, became non-function. It would not happen if I set the application height to 100% but due to native scrollbar requirement, I use Swffit t...