Scriptplayground Network

Archive for the 'Flex' Category

by mkeefe on Feb 25th, 2008

Adobe AIR and Flex 3 Now Available

Adobe has released AIR and Flex 3, you can read more about it over at scriptplayground.com.

by mkeefe on Dec 13th, 2007

Adobe releases Free Data Services

Adobe has released BlazeDS which is the server-based Java remoting and web messaging technology.

It will enable developers to easily connect to server distributed data and push data to Adobe® Flex™ and Adobe AIR™ applications to create a more responsive RIA.

This is a big step forward in the world of AMF, which on that note, Adobe has also published the AMF3 spec.

It will be interesting to see how these new announcements affect existing tools, such as AMFPHP.

by mkeefe on Oct 2nd, 2007

Adobe Flex Builder Linux Public Alpha

From Adobe Labs:

Flex Builder Linux is a plugin-only version of the Flex Builder that you can use to build Flex applications on Linux. We wanted to get an early release out with the base Flex Builder features so you could begin to provide us with your feedback and let us know your priorities for additional features.

Sounds pretty cool, time to break out Fedora next time I get a minute.

http://labs.adobe.com/technologies/flex/flexbuilder_linux/

by mkeefe on Aug 17th, 2007

PHP to generate font code for Flex

I have been loading Fonts for a project for over 2 hours now and I am about 70% done. Basically I needed an SWF library of fonts to be used in an application I am developing, problem is the font needs to be registered (loaded) in order for the “New Font” option to see it. Now on the Mac I found adding/deleting fonts is easy, but very time consuming.

This is all being done in AS2, of course my love of Flash comes in to AS3, where I was able to (just for testing) create this little PHP script that reads a directory of fonts and creates the embed tags for me.. figured I would share it, so here it is.

Again, this is ONLY for AS3 (in Flex).

<?php
$dir = opendir('./fonts/');
while (false !== ($file = readdir($dir)))
{
if ($file != "." && $file != "..")
{
print "@font-face {\n\tsrc:url(\"fonts/" . $file . "\");\n\tfontFamily: myFont;\n\tflashType: true;\n}\n";
}
}
closedir($dir);
?>

It repeatedly prints out import blocks, like this:
@font-face {
src:url("fonts/LT_13171.ttf");
fontFamily: myFont;
flashType: true;
}

Continue Reading »

by mkeefe on Jun 11th, 2007

Flex 3 and Adobe AIR now in the labs

Adobe just announced the Flex 3 and Adobe AIR betas which can both be downloaded from the Adobe Lab. This is a big thing since it seemed like Apollo (now AIR) was slowing down but this should change that quickly.

adobe_air_225×50.jpgflex3_fx_225×50.jpg

If you happen to have an app you would like to show off head on over to CodeApollo and post it. Once I get some free time I will post up some examples and some articles on Scriptplayground.

Once again here is the download links: Adobe AIR, Flex 3 and Flash Player 9 Update

Beta 1 documentation

Changes from the Alpha 1 release

Supported platforms