Superscript and Subscript Within Dynamic Text Fields in Flash

So today I ran into the issue of getting superscripted ® and TM characters within dynamic text fields.  The <sup></sup> doesn’t work for this within flash, neither will any CSS trickery.  So I turned to font embeds after reading through some other blog posts.

I found 2 fonts in a blog post at GG Superscript and GG Subscript.

After embedding the superscript font in another dynamic text field you’re able to reference the font face and assign it to the characters that need the superscripting.

Like so:

var myString:String = “This is superscript® in a dynamic text field!”;
myString = myString.replace(“®”, ‘<font face=”GG Superscript”>®</font>’);
myText.htmlText = myString;

Previewing FLVs on a Mac using Quicktime and Mac OS X 10.5’s Quick Look Feature

If you’re looking to get FLVs to playback in Quicktime I believe your best route is Perian.  It installs a preference pane in your System Preferences.  It’s simple to install and update.  Another great thing about installing Perian is you can convert FLVs to other formats using Quicktime Pro.

Also if you want to quickly preview FLVs from within Finder using the Quick Look feature try using this Quick Look plugin.  Place the flv.qlgenerator file in your Library/QuickLook folder.  This can go in your root library folder or your user library folder.

Hope this is helpful, I use it everyday.

Having Issues with UTF-8 Format in an External ActionScript Document?

From what I gather, any external ActionScript script you may have that you are linking to through an #include statement, you may need to use this code to allow certain characters to be read in the document as UTF-8.  I ran into this issue about a month ago, and a co-worker of mine knew the solution.  It’s something I find is rarely used and easily forgotten:

//!– UTF8

Taken from

To create a document that contains multiple languages, use the #include action.

Use an application that supports UTF‑8 encoding, such as Dreamweaver, to save the text file in UTF‑8 format.

To identify the file as Unicode to the Flash authoring tool, include the following header as the first line of the file:

//!– UTF8
Note: Include a space after the second dash (-).

I hope that helps some of you who may have struggled with this ;-).

PlayStation 3 Now Supports Flash Player 9 Within it’s Web Browser.

I just discovered today that PlayStation 3 is now supporting Flash Player 9.  It’d be awesome to see other systems adopt this standard like the Wii.  It also be awesome if the XBOX had a web browser.  Who knows what will happen.  Either way, I’m finding to be content in the realm of video games, I need all of the systems.  I’m still working on getting a PS3.  I know I should be learning more or maybe writing blog entries, but as of late, I’ve been enthralled in the fantasy worlds the different games bring me.  The iPhone has been rumored for quite some time to be adopting flash player.  It has yet to happen.  I think a big issue on all these devices may be processing power??  Any thoughts?

Adobe Open Screen Project – Mobile Devices… Here Flash Comes!

I’m sure a lot of people in the Flash community have already heard.  For the few of you who haven’t, this is huge!  When considering what this will do for mobile devices and even the possibilities on gaming systems like the Wii and PS3, it’s very exciting.  Check out a video on the subject.  There are many more blogs out there on this topic.