flash

TwitterFacebook
Get flash to fully experience Pearltrees

Overriding framework default implementations for mx.managers classes

Problem You want to customize framework managers available in Flex/AIR. For example, You would like to change the way PopUpManager manager displays popup windows. http://cookbooks.adobe.com/post_Overriding_framework_default_implementations_for_m-13828.html
I needed to set a custom implementation of the ToolTipManager (more struts for our life!!!). I was looking for solution and found it. Here it is. To register your own class you should invoke Singleton.registerClass(interfaceName, clazz) method with appropriate parameters.

How to set a custom ToolTipManager

http://strutsforflex.blogspot.com/2008/03/how-to-set-custom-tooltipmanager.html
http://nochump.com/blog/archives/20

AS3 Runtime Font Loading « nochump.com

Here’s a little experiment with loading fonts dynamically at runtime. So what’s this good for? Well let’s say you have a flash application where you want to allow users to customize the text formatting for some text box.

Flex and Embedded Fonts « Alex’s Flex Closet

Flex tries to provide you with the most flexible way of using embedded fonts in your applications. If your application consists of just one SWF and you embed fonts in that SWF, everything should just work, but once there are multiple SWFs involved, while it should work most of the time, if it doesn’t, you may need the following information to figure out why. With Flex 4 defaulting to using RSLs, your default configuration now involves multiple SWFs and many more of you are suddenly using multiple-SWF applications because each RSL counts as a SWF. http://blogs.adobe.com/aharui/2010/03/flex_and_embedded_fonts.html
Had a crazy time with this one...mostly, I think, due to FlashPlayer's security mechanisms, which was making it a little difficult to test locally. Anyway, I created the font swfs using flex, since that would allow me to set select a range of fonts to embed, as opposed to using a font library asset in a CS 3 swf, which doesn't. Creating the font swf in Flex is mega-easy. What i did was set up a project in FlexBuilder named 'Fonts', then created another runnable Application class that matches the name of the font. By the way, Scott Morgan's article on YDN was where I got most of this from.

Dynamically loading fonts at runtime

http://www.visible-form.com/blog/dynamically-loading-fonts-at-runtime/
http://developer.yahoo.com/flash/articles/runtime-fonts-as3.html Runtime Font Embedding in AS3. There is no need to embed the entire fontset anymore. Well, pulled a few more hairs out today. Hard to believe I have any left. I am working on a multi-lingual application that needs embeded fonts. As most of you know, loading every character in a given fontset equates to one big ass swf.

Developer Network - Flash Developer Center - Articles - Runtime Font Embedding in AS3

Embedding fonts from a Flash SWF file into a Flex application | Flex Examples

The following examples show how you can embed a font from a Flash SWF into a Flex application using @font-face in a block, or using the [Embed] metadata. Loyal reader Chris asks: “what happens to bold characters in my text? I just can’t get linkButtons or htmltext to work with my embedded font, since flex doesn’t seem to find the bold typeface.” http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex-application/