Categories
Others

Google Earth (beta) released and is now free!

Google just released Google Earth (formerly Keyhole). It is now a free application!

This is an amazing and fun program – a modern day magic carpet to fly over most places on earth.

As a Keyhole subscriber, Google is offering the upgraded Google Earth Plus, and an extra year of subscription!

Even though Keyhole.com is now redirected to Google Earth’s site, there’s still an active Keyhole community.

Categories
ActionScript

Create object from string of class name

Here’s a commonly asked question on how to instaniate an object from the name of a class at runtime:

To instantiate a class from a string of its name at runtime, the class needs to be referenced first. For example:

import MyClass; // optional
var tmp = MyClass;
delete tmp;

// construct the class name anyway you want
var dynamicClass:String = "MyClass";

// instantiate an object
var obj = new (eval(dynamicClass));

A related article I posted in 2002 (using ActionScript 1.0):

Invoking a dynamic class method: http://quantumwave.com/flash/dynamicMethod.html

Categories
Flash

Fresh info on the Flash Platform

Flash is now officially (news release) a Platform to deliver “the most effective experiences”:

http://www.macromedia.com/platform/

To most people (non-Flash developers), Flash is about animation, online advertisements, and games. This is understandable, because most of them have not experienced (or are aware of) the other side of what Flash is capable of – enterprise-level Rich Internet Applications.

This new section of the Macromedia website provides an overview of what Flash is about, especially for different enterprise markets, such as Telecommunications, Financial Services, Education, Government, Businesses, eLearning, Web Conferencing, Mobile…etc.

One of the most informative piece is Kevin Lynch’s Overview of the Macromedia Flash Platform (PDF). It talks about future directions of Flash, the different solutions that Macromedia is providing, and some very exciting news about the upcoming Flash Player 8 (Maelstrom):

  • New graphical expressiveness
  • Improved performance of the Flash Player
  • Better font readability
  • Enhanced video
  • New file upload and download
  • Enhanced privacy control
  • New IME context switching

These are great features for both designers and developers to create engaging experiences using the Flash Platform.

Another exciting news: Macromedia is joining the Eclipse Foundation to create a new development tool (based on Eclipse) to “unify the design, development, and debugging of RIAs” for Flex authoring. This move is aimed at more traditional application developers who are more comfortable with a code-oriented IDE.

As a developer, the diverse platform that Macromedia has created opens up many different opportunities. Even though the recent blooming of AJAX is exciting news for web application developers, it does not provide (at this time) an integrated multimedia experience that Flash is capable of.

This is also why as a long-time (omg, over 13 years already!) developer, Flash is the preferred delivery platform for most client projects.