French translation of my previous tutorials
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.
betaruce.com
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 |
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.
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.
If you are from HK and you have a blog about stuff like Flash, Flex, AS, etc, please join the following blogline
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.
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.)
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.
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…
I was typing some AS3 one day and was a bit lazy. I did the following:
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.
This is also true for Keyboard events.
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.
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 .
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.