Quantcast
Channel: Benoît Freslon's blog » Flash Tips
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

ActionScript: Move an object with keyboard with camera relative control

In this tip I will show you how to move an object with keyboard with camera relative control. What is a camera relative control? The direction of your object will be calculated depending the camera...

View Article



Image may be NSFW.
Clik here to view.

ActionScript: Move an object with keyboard with absolute controls

In this tip I will show you how to move an object with keyboard with absolute controls. See also how to move an object with keyboard relative-camera control. What is the absolute controls? The...

View Article

Image may be NSFW.
Clik here to view.

ActionScript: Tutorial How to create a gravity like a Mario platformer

In this little tutorial you will learn how to create a gravity like a Mario platformer. Let’s start! Get files Save these 2 sprites (Right click > Save as) Open Flash and create a new ActionScript...

View Article

Image may be NSFW.
Clik here to view.

ActionScript: Good practices in Flash developement

Here some tips and a list of good practices in Flash developement. These tips are usefull for coders and designers. Prepare your layers When you create a new .fla file prepare your layers like this :...

View Article

Image may be NSFW.
Clik here to view.

ActionScript: Protect your Flash games on the web, sitelock all your games.

If you want to submit your games on one game portals DO NOT UPLOAD YOUR GAMES WITHOUT A SITELOCK SCRIPT. WHY ? Your games can be “stolen” by game portals. Or if you didn’t finish your game it’s a...

View Article


Image may be NSFW.
Clik here to view.

ActionScript 2: setTimeout call a function with a delay

Just in case you forgot how to call a function with a delay or with parameters in ActionScript 2 (as2). If you are looking for the ActionScript 3 version see this post. I will show you how to do that,...

View Article

Image may be NSFW.
Clik here to view.

Tutorial: How to replace and hide the cursor in Flash with ActionScript 3

I will show you how to hide the mouse cursor and how to replace it by another image. It’s really simple but you need one at least one MovieClip. You also can download the source file:...

View Article

Image may be NSFW.
Clik here to view.

Flash tip: Advanced trace output in Flash ActionScript 3.0, Class name,...

Hello, Today a tip for ActionScript developers. It’s been a while I looking for an advanced trace output with more details in few line of code. Just add this line of code instead the trace() function...

View Article


Image may be NSFW.
Clik here to view.

FlashDevelop: Color scheme and syntax coloring with all ActionScript 3 keywords

For all developers who love Flash Develop like me, you probably NEED to colorize all ActionScript 3.0 keywords. Here a screenshot of the syntax coloring: You can download Flash Develop 4 here....

View Article


Image may be NSFW.
Clik here to view.

ActionScript: hide, remove the context menu items, right click in Flash

If you do a right click above a Flash animation you will open a context menu. You can remove all context menu items in Flash with this code: var cm:ContextMenu = new ContextMenu();...

View Article
Browsing latest articles
Browse All 13 View Live




Latest Images