Nov 4

Tiobe Softwares has released rankings of programming languages and popularity of programing languages for the month of November 2008. 

The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. The popular search engines Google, MSN, Yahoo!, and YouTube are used to calculate the ratings.

The definition of the TIOBE index can be found here.

Read the rest of this entry »

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 »

Mar 30

Dari 3 (tiga) 3D Engines Actionscript3.0 yang populer saat ini (PV3D, Away3D, Sandy3D), masing-masing punya kelebihan dan kekurangan masing-masing.

Tapi dari semua API yang mereka tawarkan, seperti API tool lainnya yang ku anggap point penting pertama kali adalah API yang mengurus event.

Papervision3D (sorry ya..) kuanggap terlambat untuk urusan Event ini. Sampai versi Beta RC1 saat ini, event yang ada cuma FileEvent, hari geneee.. cuman ngurusin dispatch loader saja?

Away3D dan Sandy3D sudah agak mendingan.

Event di Away 3D (versi 1.9.4) :

FaceEvent
MeshElementEvent
SegmentEvent
MouseEvent3D
Object3DEvent
LazyEventDispatcher

Event di Sandy3D (3.0.2) :

BubbleEvent, BubbleEventBroadcaster, EventBroadcaster
QueueEvent
SandyEvent
Shape3DEvent

Saat ini MouseVent3D dari Away3D yang suitable dalam project yang membutuhkan informasi koordinat x,y,z dari mouse-trigger di scene 3D swf kita.

Agak repot bila pakai Sandy3D atau PV3D. Papervision3D malah cuma menawarkan MouseEvent bawaan class Sprite di Object3Dnya, alhasil cuma koordinat 2D yang didapat, apalagi bila dirender dalam 1 container maka localX dan localY yang di-dispatch jadi statis belaka, capee deh!!

« Previous Entries