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 blog.ggshow.com: 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;

Clearing the Display of a Video Object in Flash Issues

So today a co-worker of mine and I were trying to figure out why he couldn’t clear the display of an image in the video object on his stage.  The Adobe documentation states that if you use the clear method of the Video class that it should do the following:

“Clears the image currently displayed in the Video object. This is useful when you want to display standby information without having to hide the Video object.”

Well… when having smoothing enabled, this does not work.  It’s a known bug, and I believe it has to do with smoothing caching the video as a bitmap.  I’m not fully sure how smoothing works, but it makes sense that this would likely be the problem.

So to clear the video object that has smoothing enabled, you need to disable smoothing then clear the object.  After it’s been cleared you can turn smoothing back on.

360 Degree Interactive Video with Flash

Straight from the creators of google maps “street view”, there’s is now interactive video that you can scroll and navigate around in while the video plays. I think it shows how impressive flash player really is. Flash is pulling in an FLV file with the 360 degree picture. I believe they built their own 3D rendering engine to allow flash to warp/scale/distort the video properly.

Pretty cool stuff. It brings me back to my days at WIN Media when I used to have to stitch and publish IPIX files. I think they’re out of business now.

A Follow-up to the Adobe Flex 3 Pre-release Presentation

The flex tour came to Milwaukee yesterday. It was a pretty amazing demonstration about all the great new features in being released in Adobe Flex 3. I was pretty amazed with all the new features Kevin Hoyt presented at the meeting.

I give a big thank you to C2 for helping with the event cordination. They always do a great job and also have a great location themselves for hosting regular monthly meetings. If you’re reading this and currently do not attend a local user group, I highly reccommed it. Being part of user groups has allowed me to recconnect with collgues and meet new ones.

The flex presentation went quite well. Its nice to walk away with a free tshirt and cookies in hand!

Flex Pre-Release

Early Morning Coconut Skim Lattes

Thanks to Coconut Skim Lattes and the early mornings spent at Alterra Foundry, I’ve been able to actually start reading the genius of Moock’s new book. I hope to be able to finish it this year. Amongst all of my work at Marx, the freelance, and life in general, I will do my best. I read slow as molasses! I re-read as well! That’s what I need to do to make it stick. I already have a good understanding of a lot of as3 concepts because of the as3 Cookbook, but I need to get back to the roots!

Colin Moock is a hero.

I love that he commented on working on snowboarding and gardening. Even the most brilliant of minds still have time to play!

You can view the video on AIR… Bus Tour.

I have the as3 Cookbook, but it’s time to go out and buy this one. I got an offer through O’Reilly to upgrade for cheap anyway because I have the as2 book. Who-hoo!

I did my first as3 project about 1 month ago for a client at Marx Creative.. UW Credit Union. It was a definite learning experience that I have grown from. I still have a long way to go though.

There’s not a day that goes by that I question my skills. Does one ever get past that?

This video has been out for a while, no new news; I just stumbled upon it today.