Razorberry’s Adobe Flash Blog

December 1st, 2007

Not a good advertisement for Flash

Posted by Ash in Discussion
Discussion

Flash crashes in Times Square.

November 2nd, 2007

Converting html entities in AS3

Posted by Ash in Actionscript
Actionscript

I’m posting this here mainly because I always have to look it up. But maybe this post will help someone down the road.

Converting a string with html entities (such as &) to their respective symbols:

AS:


public function htmlUnescape(str:String):String
{
    return new XMLDocument(str).firstChild.nodeValue;
}

Converting a string so that it has html entities:

AS:


public function htmlEscape(str:String):String
{
    return XML( new XMLNode( XMLNodeType.TEXT_NODE, str ) ).toXMLString();
}
AS:


trace(htmlEscape(“ham & eggs”))// ham & eggs
trace(htmlUnescape(“ham & eggs”))// ham & eggs
September 18th, 2007

Obligatory See-you-at-FlashForward post!

Posted by Ash in Discussion
Discussion

I’ll be walking the entire distance from my home to FlashForward Boston (a whole 15 minutes!). Lots of interesting lectures scheduled.. I’m especially looking forward to Chris Allen’s Building red5 applications, Mario Klingemann’s lecture on generative art, and of course Carlos Ulloa’s Papervision lecture (sure to be packed), among others!

Hope to see you there!

September 1st, 2007

The last question

Posted by Ash in Discussion
Discussion

Not flash related, but if you have ten or fifteen minutes to yourself and haven’t read it before, I highly recommend this short story by Isaac Asimov.

August 7th, 2007

Flash scene

Posted by Ash in Hot
Hot

Assembly ‘07 recently wrapped up in Helsinki, Finland. Along with the party came a whole slew of new flash demos to watch. The winners of the Browser demo competition were Evoflash and BombSquad, with their demo ADHDTV, which you can see here. They also made the excellent Who killed Travolta from last year.

You can find a full list of releases with downloads at the scene.org ftp site. And the full party results are here.

August 1st, 2007

Fonts to code by

Posted by Ash in Discussion
Discussion

I’ve recently switched my default Flex Builder font to Consolas, and so far I’m really happy with it. To me, it seems a lot clearer to read than Courier. The only caveat is that you have to enable ClearType on windows or else it looks like crap (Display Settings -> Appearance tab -> Effects.. -> Use the following method to smooth edges of screen fonts.)

Consolas snapshot

You can download the installer from Microsoft here.

Whats your favourite coding font?

July 27th, 2007

FP9 component pseudo-comparison

Posted by Ash in Actionscript
Actionscript

I thought I’d compile a little comparison of my Razor components (80% done!) vs the flex framework and the Flash CS3 components. I included just the components shown, but this is slightly unfair to Flex since it includes way more features in the framework that aren’t actually used here. Flash player 9 required for all of these movies except the first.
(more…)

May 30th, 2007

Slow progress

Posted by Ash in Actionscript
Actionscript

Last night I put some finishing touches to the Color Swatch/Color picker components for the Razor Component Set. It is mostly a rewrite of the old AS1 colour picker I made a few years ago. You can see the results below!

On another note, I’ve decided that the whole component set (AS 2 and 3 versions) will be released under the GPL, but you will be able to obtain a commercial license (I promise it will be very reasonably priced :D).

May 24th, 2007

Flash and Papervision3D abuse

Posted by Ash in Actionscript
Actionscript

I have these incredible tools at my disposal, and I produce this…

(more…)

May 22nd, 2007

FlashDevelop 3 alpha

Posted by Ash in Actionscript
Actionscript

I’ve been waiting for this one for a while: FlashDevelop 3.0.0 alpha was just released on the FlashDevelop forums.

http://www.flashdevelop.org/community/viewtopic.php?t=1436

« Previous PageNext Page »
Macromedia XML News Aggregator