This is a blog about Flash & AS by betaruce :-)



Calendar

August 2007
M T W T F S S
« Jul    
  1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  

May 16, 2007

French translation of my previous tutorials

Filed under: Tutorials — betaruce @ 11:36 pm

Thanks Patrick from France for translating my beginner’s AS 3 tutorial into French. You can view it here.

He has also translated my Fire tutorial.

• • •

May 13, 2007

AS3 tips: “/” but not “\”

Filed under: Using Flash — betaruce @ 11:56 am

In AS3, if you want to type a link to a website or load in something, make sure you use “/” but not “\”. For example:

http://……
C:/program files/….

This is because if you use Windows, the links shown in the file browers will use “\”, and if you simply copy that into your AS, you will fail to load in that thing and then you will keep searching for bugs without a clue.

• • •

Hong Kong Flash bloggers

Filed under: Using Flash — betaruce @ 11:42 am

If you are from HK and you have a blog about stuff like Flash, Flex, AS, etc, please join the following blogline :)

_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
• • •

April 1, 2007

Apollo: a good video tutorial to start with

Filed under: Flash Events — betaruce @ 11:22 am

http://movielibrary.lynda.com/html/modPage.asp?ID=378

several videos from Mike Chambers…which go through the installation, some basic usage of Flex, building some simple Apollo app, how to use the new File class, packaging the app, etc.

• • •

January 23, 2007

Updated link for pageflip fla

Filed under: My Flash Programs — betaruce @ 10:49 pm

Somoene send me an email telling me that there’s some problem with the file. I have updated the link and now the source can be downloaded.

I guess this pageflip program is the most popular one within my site since I always receive emails asking me how to do that effect. I once said I may post a tutorial here on my way of doing that, but I am too busy to do so recently :(

I hope the fla will do some help (but as I remmeber, the code is quite messy. Sorry about that.)

• • •

December 31, 2006

AS3: animated landscape

Filed under: My Flash Programs — betaruce @ 6:21 pm

More fun :)

Click here to have a look. A little bit CPU intensive. Move the mouse to move across the land. The upper left corner shows the perlinNoise map of the land. Refresh for a new map.

• • •

December 30, 2006

AS3: 3D Landscape

Filed under: My Flash Programs — betaruce @ 12:03 am

Still not completed, but looks quite good to me.

Click here to have a look. It may need a bit of time to load.

The upper left corner is the perlinNoise for creating the landscape. The right gradient is the coloring scheme.

Things that will be added: interaction, better rendering, animation, etc…

• • •

December 29, 2006

AS 3 tips: addEventListener

Filed under: Using Flash — betaruce @ 12:10 am

I was typing some AS3 one day and was a bit lazy. I did the following:

Actionscript:
  1. // I did not specify the object to add the event
  2. addEventListener(Event.ENTER_FRAME,some_fct);
  3. addEventListener(MouseEvent.MOUSE_MOVE,some_fct_2);
  4.  
  5. // but actually the above is equivalent to the following
  6.  
  7. this.addEventListener(Event.ENTER_FRAME,some_fct);
  8. this.addEventListener(MouseEvent.MOUSE_MOVE,some_fct_2);

The EnterFrame work, but not the Mouse event. This is because the mouse event does not respond to the timeline ("this" refers to the timeline).

Therefore, to make the mouse respond to the movement, I add the event to some object e.g. stage in my case.

Actionscript:
  1. this.addEventListener(Event.ENTER_FRAME,some_fct);
  2. stage.addEventListener(MouseEvent.MOUSE_MOVE,some_fct_2);

This is also true for Keyboard events.

• • •

December 28, 2006

AS 3 tips: Stage & stage

Filed under: Using Flash — betaruce @ 5:53 pm

Stage is only the class name i.e. flash.display.Stage, whereas stage is the thing referring to the real stage.

This can create lots of confusion, esp in the Flash 9 Alpha Stage is highlighted in blue but not stage.

• • •

December 4, 2006

Flash 8 Tutorial: Fire effect

Filed under: My Flash Programs, Tutorials — betaruce @ 9:26 pm

I find that many people want to make a fire effect with the new filters in Flash 8.

I have written a tutorial about my way of creating this effect. My way is quite simple and the effect is realistic enough, altho it maybe a bit CPU intensive. Anyway I hope this can be a useful one :) .

Read the tutorial here.

Basically you can use the same principal and write it in AS 3. If people think it is good and the response is good, I will write one in AS 3 later.

• • •
« Previous Page — Next Page »

Powered by: WordPress • Template by: Priss

cheap phentermine phentermine site phentermine effects online phentermine phentermine prescription buy phentermine online phentermine alternatives phentermine deit pill cheap generic phentermine order phentermine online Clenbuterol Phentermine online pharmacy phentermine buy phentermine weight loss pill Cialis Comparison Viagra Cheap Viagra Online Prescription generic viagra sale viagra online viagra viagra pill discount sale viagra Generico Impotencia Viagra viagra sildenafil citrate Xanax Online xanax order xanax valium versus xanax