Subscribe

  • Subscribe  

Run time error handling in AS3

Posted by Jay | May 8, 2008 | 4 Comments

As most of us Flex or Flash developers are quite aware that the code we generate is often error prone; error handling is an issue that mandates serious consideration. While talking about errors we need to deal with compile time errors which are primarily due to syntax incorrectness along with run time errors that are primarily semantic errors. ActionScript 3 has built in “Error” and “ErrorEvent” classes to handle both types of exceptions.

Now let us take a closer look at how run time errors are negotiated in AS3. We find that they can of two types

Synchronous errors

When developer can […] Continue Reading…

Using KeyCodes in ActionScript 3

Posted by Jay | May 7, 2008 | 9 Comments

When I started getting a hang of new stuff introduced in AS3, I got to notice that it has done away with a bunch of commands that were available in AS2. One of these missing commands included “Key.isDown” and added too that there were simply no key objects in AS3. Instead it has an alternative process whereby key codes can be accessed by name basically utilizing the keyboard class.
Now lets take a closer look; in AS3 in “Key.isDown” is basically an event handling process which is made out of a two step process

Write an event handler (listener function in […] Continue Reading…

Save memory and loading time when creating bitmaps with AS3

Posted by Jay | May 6, 2008 | Comment

Often we notice that in our zeal to develop appealing web sites and RIA that look perky we may end up designing pages that take inordinately long to upload. Often stylish web pages necessitate the usage of a variety of object including images which take a serious toll on the memory. ActionScript provides developers with the desired flexibility to play around with the web objects. It allows for methods for keeping memory usage under check so that it takes less loading time taken for a web application.

At times we may find that a same bitmap image needs to be […] Continue Reading…

How to add isPlaying Property to Movie Clips with AS3

Posted by Jay | May 5, 2008 | 2 Comments

Web designer are always looking for means to makes their sites eye catchy and thereby videos and movie clips etc are often placed to jazz things up. To make them look millions buck, ActionScript3 gives the leverage to play around .Be it videos or sound files or movie clips, flash files, we need mechanism to initialize, start and stop them and to program them as per need. For all this and many more customizations Action script3 has built in API’s (methods) to work around.

As Add on to check if movie clip or a video file is over or still […] Continue Reading…

Flex Programming Tips of the Week 0805a

Posted by Charles | May 4, 2008 | Comment

A lot of interesting experiments are going on with Flex especially in animations and graphics. This week I thought giving a few of them a closer look along with other stuff

Chart Drill down Animations Complete with source this one is sure to give you good hang of things on how to develop a drill down where basically a user can venture out to detailed information from a summary level.

Flex Graphics Masks This one really is good point to learn all about mask objects and how to implement them. It’s well written with good code snippets and has a easy […] Continue Reading…

Flash Lite + Java ME = Cool Mobile Platform

Posted by Charles | May 3, 2008 | 2 Comments

In an exiting development Sony Ericsson has been able gel two of most popular development platforms in mobile computing through its new technology called ‘Project Capuchin’. It intends to combine the best of two worlds, Adobe Flash Lite and the Java ME development platform thus opening up a sea of possibilities for developers. The Java ME development platform is the technology of choice for most mobile application developers because of its security and stronger back-end capabilities. Java has APIs that allow it to access mobile phone functionalities like Bluetooth, Wi-Fi, etc. Adobe Flash Lite on the other hand […] Continue Reading…

PixelPerfect, a Little Perfect AIR Tool

Posted by Jay | May 2, 2008 | Comment

Among the various AIR applications that have caught my fancy, PixelPerfect stood out for its sleek implementation (pure AS3) and it usability. Essentially it is designed to let you measure the accurate size of entity’s of your desktop. This software lets you take the measure of objects in pixels. It comes with multiple resizable rulers and also in addition to it multiple windows to swap between projects or the same project. Since it can have many images or movie files in the same project.
It utilizes highlights, toning, colors, and transparent windows with chrome effects. Rulers and measures are always […] Continue Reading…

How to Load a Cross Domain File in AS3

Posted by Jay | May 1, 2008 | 3 Comments

In today’s internet world, web sites are using more catchy and snazzy videos to gain people’s interest and to capture larger market share. In this process site developers are been troubled to check out the stuff from other servers due to security reasons. As usage of cross border data is often a necessity it is therefore prudent to validate it. Thankfully Action Script 3 does this job with ease thus giving the opportunity to the developers to create a link between servers while keeping security intact.

Simply put policy files are basically XML files that essentially grants permission to the […] Continue Reading…

Hybrid is Hot when Oil is on Track to $200

Posted by Charles | April 30, 2008 | Comment

I read an article this weekend on LA Time. It talked about it’s realistic now to see the oil price reach to $200 a barrel soon. Hybrid Cars and their makers are very smart to have such technologies ready for such energy market environment. Most of the Hybrid Vehicles these days operate in a self sufficient way. Meaning that the on-board computer will handle the charge/use of the electric motor to assist the driving. The major functions of the hybrid engine are to shutdown the gas engine when at stop and only use the electric motor when gliding. […] Continue Reading…


<

Error. Page cannot be displayed. Please contact your service provider for more details. (26)


Direct TV Offers - usdirect has the best directtv deals