Sep 30

You have a flash / flex application where you want to allow users to customize the text formatting, font style / font weight for some text box. So you would provide a small set of fonts which would all get embedded into the swf.

If we working with external fonts in Actionscript 3.0, the external font must have a class definition for allowing the Font class and ApplicationDomain to detect and register it. We can produce class definition for the external font  with embed tag in Flex or Font symbol in Flash library. 

In Flash CS3 you can create a font symbol in the library, and export it for ActionScript. But with this way if you embed the font in the library then flash automatically embeds all available characters. So the compiled external font swf size will increased and bloated the load-time with unused fonts. This was the largest issues especially if we working with Asian fonts. You can find more informations about it in this nice article

With Flex 3.0 and mxmlc (Flex SDK 2-3) there’s the embed metatag where you can even define font character ranges which should be embedded for reducing compiled external font swf size:

[Embed(	source='font.ttf', 
	fontName='Font Name', 
	unicodeRange='U+0021-U+0021, ... , U+2122-U+2122')]

or with this tag :
Read the rest of this entry »

Aug 15

Perhaps ActionScript 3.0 is more proprietary than it was last week. It’s still extension of ECMAScript and still holds a lot of the core values, namespaces and package. Maybe EcmaScript 4.0 was stillborn, and maybe the harmony will change the future of language/ the standards committe.

I think our joint concerns are better served if we keep in mind that most valuable point is abc file , no matter which language it compiling from (actionscript 3.0, haXe or javascript). So let keep saying to yourself “In flash platform I trust..!”

Jul 12

It’s a simple AIR based debugger for flash & AIR apps.
Arthropod is really easy to use, the only thing you need to do is import the Debug class, write a log message with the log function, start Arthropod and publish your site / AIR application.

Nice application to try

Jun 18

With new event on Sound object (”samplesCallback”) and other improvement capabilities (such dynamically create audio) in Flash Player 10, hope there’s someone already create FP 10 MIDI player and available for free on next several months.

Could somebody tell, is there possibility of making MIDI player in FP 10?

Blogged with the Flock Browser

Tags: ,

Jun 7

One day several years ago after Actionscript 3.0 released, I’ve been believed the time will coming someday if this 3D engines will be porting to Actionscript.

Mascot Capsule 3D and Mobile 3D Graphics has been used as technologies  for Mobile 3D programming for the Java™ Platform Micro Edition on Sony Ericsson feature phones.

Read the rest of this entry »

May 24

Defenition of Merapi originally a volcano in Central Java, but there’s a new term about Merapi :

“Merapi is a bridge between applications written in Java and those running in and created for Adobe AIR™ (Adobe Integrated Runtime™).”

Merapi has huge potential and we can looking forward discovering possibility when we can combine the power of Java with the richness and ubiquity of Adobe AIR.

Another project is Artemis active on Apollo (Adobe AIR beta) era but it was abandoned. Today the project rebirth under the name of Merapi.
Merapi use Java to connect AIR to the desktop. The project will be (unfortunately not yet) distributed as a freeware and then as an open source project on Google Code.

Using Merapi, Adobe AIR™ applications can “talk” to other software that the user has installed on their computer. In addition, Merapi allows AIR™ applications to serve as a user interface to just about anything that a Java™ application can do on a user’s computer.

May 20

I am very excited about this new protocol on Flash Player 10. The new RTMFP protocol in Flash Player 10 provides an alternative to RTMP allowing developer to develop real-time communication applications with an improved user experience.

Applications like chat and games are great examples from this technology. This new protocol has been designed for communication solutions, not massive content delivery.

Another great news is UDP protocol now available on Flash Player 10 beta. Adobe chose UDP because it’s an efficient protocol for low-latency streaming video conversations, voice conversations or other similar solutions. UDP combined with the high-fidelity of SPEEX audio, will allow Flash developer to build great voice and audio solutions targeting Flash Player 10. To enable RTMFP and the UDP transport, authorization from a future server-based technology such as Adobe Flash Media Server will be required.

« Previous Entries