PDA

View Full Version : Flex 3 beta


anjanesh
06-16-2007, 06:48 PM
Hi

Couldnt figure where exactly to post this, so Im posting this here.
Flex 3 beta 1 was recently released and according to Abobe Labs (http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html),

The Flex 3 SDK can also be used directly from an Apache or IIS web server. Labs provides you with access to the latest prerelease milestone build of the Flex 3 compiler module for Apache and Flex 3 compiler ISAPI filter.

Can anyone explain how this is done ?

dr_zeus
06-18-2007, 05:54 PM
You need the Flex Module for Apache and IIS (http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS)

anjanesh
06-18-2007, 06:53 PM
So basically, create a MXML file on the server and when its requested by the client, the latter gets a SWF file ?

dr_zeus
06-18-2007, 07:07 PM
I've never used it, but I assume that's how it's supposed to work.

In general, it will be better for the performance of your server to have the SWF file pre-built. I imagine it could be interesting to generate MXML with PHP or something, though.

anjanesh
06-18-2007, 07:16 PM
This is what I had asked before (http://www.actionscript.org/forums/showthread.php3?t=138567). So with Flex module for apache, I can have a variable Stage.height or width by creating a dynamic MXML file on the server, right ?

This should be a really nice.

dr_zeus
06-18-2007, 09:49 PM
The values stage.stageWidth and stage.stageHeight can change at runtime. They aren't fixed. The easiest way is to declare the SWF width and height as 100% in your HTML and place it in a DIV or something that can be resized.