Archive for November, 2006

Flex: Customizing SWF Properties

Monday, November 27th, 2006 by Luis

There are two ways of changing the basic properties of your application in Flex, one is by passing multiple arguments to the command-line compiler and the second one by adding metadata in your Main class.

Yesterday I almost got crazy trying to figure out why one of my projects didn't work when changing the properties of the output swf adding metadata in my Main class, and the answer was very simple, basically the metadata statement has to be placed after any import statement. By placing the metadata statement before the imports, the application properties were set to the default parameters (500 x 375, 24 , blue background).

This doesn't seem to work:

Actionscript:
  1. package
  2. {
  3.     [SWF(width="200", height="200", frameRate="31", backgroundColor="#FFFFFF")]
  4.    
  5.     import flash.display.Sprite;
  6.    
  7.     public class Main extends Sprite
  8.     {
  9.         public function Main()
  10.         {
  11.             trace('stage width: '+stage.stageWidth);
  12.             trace('stage height: '+stage.stageHeight);
  13.             trace('framerate: '+stage.frameRate);
  14.         }
  15.     }
  16. }


This works:

Actionscript:
  1. package
  2. {
  3.     import flash.display.Sprite;
  4.  
  5.     [SWF(width="200", height="200", frameRate="31", backgroundColor="#FFFFFF")]
  6.    
  7.     public class Main extends Sprite
  8.     {
  9.         public function Main()
  10.         {
  11.             trace('stage width: '+stage.stageWidth);
  12.             trace('stage height: '+stage.stageHeight);
  13.             trace('framerate: '+stage.frameRate);
  14.         }
  15.     }
  16. }


Flash & Right-To-Left (RTL): Less Rain launches dynamic hebrew Flash site

Saturday, November 25th, 2006 by Thomas

Less Rain has recently launched the corporate site for Red Bull Israel - one of the few Flash websites to render fully dynamic text in right-to-left layout - including formatting, links and input textfields. It also supports the use of browser back-buttons, deeplinking and bookmarking.

[flash]wp-content/upload/slideshow_rb.swf,450,400[/flash]

The right-to-left algorithm is losely based on Richard Ishida very helpful explanation of the bidi algorithm.

I had looked into other discussions and solutions but wasn't able to make any of them work, or found them to be too restrictive. See also the efforts of Flaraby, g. wygonik, Oddhammer, Quasimondo, FlashRTL.

For more information about the underlying problem visit The Right To Flash

We are not that flattered, really… but it made us laugh!

Friday, November 24th, 2006 by Vassilios

We have come across an interesting page on Flickr with pirated sites and lo and behold, it seems we have been the victims of plagarism! Very funny indeed, considering that the offenders are describing themselves as an "award winning multi-discipline creative agency specialising in ideas-led solutions for print, web and interactive design". Well guys, here are another 15 minutes of fame ; as Malcolm MacLaren has always mainitained, there is no such thing as "bad press".

Ours: www.sonjamueller.org

sm original

Theirs: www.viewcreative.co.uk

sm copy

Exhibition: Heartfelt, Contemporary Arts and Crafts

Friday, November 24th, 2006 by Carsten Schneider

Paper cutting, needlepoint, appliqué, woodwork, screen printing, book binding, origami, collage, sewing, artists from the USA, Canada, Japan & the UK.

Some of Shin Tanaka's work is on display, too.

Nov 24 - Dec 21 2006, Tue - Sun, 12 noon - 6 pm
At 96 gillespie

Related Posts