flex

Mate actionscript only version, does it exist?

Hey there, I'm looking into using Mate, but the projects I work on do not require the majority of the functionality of the Flex framework. My workmate said that he heard of an Actionscript version, but I can find no information on the main site about this, only that they have removed some dependencies on the Flex framework. Does anyone...

How to read XML data from a server using Flex?

I believe the simplest way to request data from a server in XML format is to have a PHP/JSP/ASP.net page which actually generates XML based on HTTP GET params, and to somehow call/load this page from Flex. How exactly can this be achieved using the Flex library classes? ...

Optimizing Flex when multiple modules are used

I have a Flex application where load time is extremely important (consumer site). i want to be able to get something up on screen and then allow additional modules to be loaded as necessary. The issue I'm facing is that the sum total of all the modules is much larger than if i were to include all the components in a single .swf file. I...

Access HTTP response headers in for flash.net.URLLoader object?

Is there a way to access the response headers from an HTTP result when using Flash/Flex's URLLoader? Setting the request headers is possible, as is accessing the response code, but getting a hold of the actual response headers seems to be conspicuously lacking... Specifically, I would like to get a hold of the Last-Modified response he...

What, exactly, distinguishes between private and protected (in Flex)?

In Flex (and many other languages) a function/method of a class can be declared private or protected (or public). What's the difference? I have the impression it has something to do with the relationship to child classes and how things are inherited or can be called, but I'm not sure what, exactly. ...

Plz i need help for Flex connectivity with database e.g Access using air.

Hello all .... I need to connect my flex desktop application with different databases e.g access , mysql. I have done the connectivity with SQLite which is already embedded. I dont know how to use ODBC for example. And i dont need a php or asp bcoz i am not making a web application since i am using air i want to connect to DB locally. Th...

Convert XML Data to Strong Flex Type

A project I'm working on will pull XML from a web-server and build a data store from it. The data will have certain core fields but needs to be extendable... for example I have a and later might want to have which adds extra fields. In the Flex app, I don't want the central data store to be working on XML objects or simply putting the...

Can you use Amazon S3 via Flex?

Due to the lack of clientaccesspolicy.xml, there appears to be problems with using Amazon S3 via Flex. Are there any work arounds? Edit: Both of the below answers are great and work, I've upvoted both (I'm not going to assign an answer to the question as they both work): http://stackoverflow.com/questions/186768/can-you-use-amazon-s3-v...

Flex: Accessing functions / components accross mxml pages

For simplicity lets say I have two flex mxml pages. form.mxml button.mxml If the form.mxml page had the following code, it should work fine: <custom:SelectView dSource="{_thedata}" id="form" visible="false"> </custom:SelectView> <mx:LinkButton label="Show" id="lbShow" click="form.visible=true;> <mx:LinkButton label="Show" id="lbHide...

Synchronous dialogs in Flex?

How can I open a synchronous dialog in Flex? I need to call a function from an External Interface (JavaScript) that will open a simple dialog in the Flex application and returns an value according to the button the user has clicked (OK/Cancel). So it should by a synchronous call to a dialog, i.e. the call waits until the user has closed...

Libraries for text animation in Flex / Actionscript ?

Are there any good libraries for cool text animation effects for use in Actionscript (for use in an intro screen or banner). I've given up tryin to use Flash itself because that takes forever, and I dont know which of the many flash text animation tools to choose from. I'd like to be able to dynamically product cool text effects with d...

Force Garbage Collection in AS3?

Is it possible to programmatically force a full garbage collection run in ActionScript 3.0? Let's say I've created a bunch of Display objects with eventListeners and some of the DO's have been removed, some of the eventListeners have been triggered and removed etc... Is there a way to force garbage collection to run and collect everythi...

Good examples or documentation of XIFF implementation?

XIFF is an implemenation of the XMPP protocol in actionscript. So far, all the examples and documentation I have seen are sparse. Does anyone know a good explanation of the most recent version of XIFF and/or good examples of working Flex/AIR applications? ...

Resolving Component libs with Flex SDK mxmlc

I'm new to Flex SDK and trying to implement a simple project using Doug Mccune's CoverFlow widget. Most of the documentation out there on how to do this assumes that one is using Adobe's FlexBuilder product, which is a $250 Eclipse plug-in that I'd rather avoid buying. The problem I'm having is simply getting Doug's swc file, which is ...

Can a Flex 3 method detect the calling object?

If I have a method such as: private function testMethod(param:string):void { // Get the object that called this function } Inside the testMethod, can I work out what object called us? e.g. class A { doSomething() { var b:B = new B(); b.fooBar(); } } class B { fooBar() { // Can I tell that the calling object i...

How to raise an event from a SWF in a SWFLoader to a parent Flex application?

How can I raise an event from a SWF file loaded into a Flex application (using SWFLoader)? I want to be able to detect a) when a button is pressed b) when the animation ends ...

Connect to self-signed HTTPS web services from Flex

In my project I need to connect to an intra-net web service but we need SSL connection between the two machines. Because this is an intra-net site the certificate of the web service might be a self-signed certificate. The web service and the web page that loads my Flex application resides on the same web server (tomcat) so when I load th...

Flex - Laying out text within a Canvas

Here's a problem I keep running into: I have a lot of situations where I need to display some text with a styled container like so: <mx:Canvas> <mx:Text text="{text}" left="5" verticalCenter="0" right="5" /> </mx:Canvas> As you can see - the text in constrained by the left and right margins of the canvas and I have not speci...

Flex media framework

Does anybody know of a good media framework for Flex? I'd like to be able to create apps that can play not only those formats that the Flex framework provides support for, but other formats as well (like wav, wma, ogg and other...). EDIT 13.10.2008.: It was recently pointed out to me in the answers section that I should perhaps rephrase...

Access function in component directly

I'm building my first flex app and am currently bussy splitting it up in multiple components to make it maintainable. I have a screen which holds a list that is displayed and filled after a succesfull login attempt: Part of the main app: <mx:ViewStack id="vsAdmin" height="100%" width="100%"> <mx:TabNavigator id="adminTabs" width="10...