Monday, February 28, 2011

Flash Error #1090: XML parser failure element is malformed

This Flash action script error 1090 with message such as "XML parser failure" or "element is malformed" happens when you try to parse or read an XML with mismatching nodes or tags.

Solution:

Check the XML nodes.  Each node should end with a matching tag with the terminator "/".  For example:

Sunday, February 27, 2011

Flash Error #3000: Illegal path name

This Flash action script error 3000 with message "Illegal path name" happens when you try to access a wrong path.


Solution:

Saturday, February 26, 2011

How to display a message to the console:

To display a message to the console or flash log file, we pass a string to the method trace.

Example:

Thursday, February 10, 2011

How to add comments to AsDoc:

Here is a list of AsDoc tags and the special HTML tags you can use in your code.  But generally it is the standard documentation with extra tags you can use.  Below is an example:




Thursday, January 27, 2011

How to use Flash Actionscript to save a MovieClip or Sprite to JPEG file:

Have you ever wonder how you can use Flash actionscript to save images?  Well, it is quite easy and below is the code you will need for doing so, more specifically, it will allow you to save MovieClip or Sprite to JPEG.

In order to do this, you will need the as3corelib and the save function in FileReference class requires minimum Flash Player 10 or Air 1.5.
 



Wednesday, January 26, 2011

How to setup Asdoc for Eclipse:

Give me the right tools and I shall build the world...well what happens if they do not come with instructions?  And of course, what is the use of the most brilliant code without documentations on what they are for?  Having said that, programmers really need to write documentations on the code that they wrote...

After writing the documentation, you would of course want to have it some where online to easily look through it.  Ask and you shall receive, so you have AsDoc...

Below are steps to set up your eclipse to generate asdocs for AS3.

Tuesday, January 25, 2011

Monday, January 24, 2011

Sunday, January 10, 2010

Steamed Fish Lemon Grass

   
Hello everyone,
 
Today I am going to show you how to make a tasty and delicious steamed fish dish yet very quick and easy to do.