by heidi in Blog, Technical Tags: Flash, IE on December 16, 2006
Microsoft released an update for Internet Explorer that changed the way the browser
displays and runs ActiveX components, flash movies and Java applets.
Because of security issues the browser asks you to activate these controls by clicking on them. Meaning that to actually “browse” through the flash site, you need to double click it the first time.
Read more about it here: Flash Player Technote: Internet Explorer displays a box around flash content
A way to prevent this is by including your swf file with an external javascript file. More information on how to do this you find here: Active content update article
And for the lazy ones among us, this should be a free program that solves it for you (didn’t try it myself): Flash Release.
A nice video on it, you can find here: YouTube Video
by heidi in Blog, Technical Tags: bold, CSS, Flash on December 16, 2006
I use a lot of font types that people don’t normally have installed, so I embed the fonts in Flash. Only, now I tried with actionscript and CSS to make part of a dynamic text field bold. Only, the bold part of the text field wouldn’t show, the text would just not be there.
So, then I found out that when you embed a font in Flash, flash doesn’t include the whole font family automatically. Meaning, that by embedding a regular font, the bold and italic aren’t included.
A workaround for this, is to just add another text field to your stage, somewhere out of sight (or not), and embed the same font type but with bold activated. Run your flash file again and you’ll see that the bold in your other text field is now visible too.
See also: Flash Technote: HTML text fields do not display formatted text