Main Content RSS FeedLatest Entry

Create a Pinball-Style Rolling Score Counter Class

In this tutorial you’ll create a reusable Score class that counts up to the new total when points are added (instead of jumping up to the new score). We’ll cover graphics creation as well as code. Final Result Preview In some games when you gain points, you’ll see your score immediately jump to the new total. I think it’s much cooler if the score counts up one by one, so the player can “rack up points”.

Direct Link

Read More..

Recent Entries

Banner selector in Actionscript 3 part 3

This is part 3 of the Banner selector in Actionscript 3 tutorial where I will add a fade transition effect between the images using code. The fade effect is created using the tweelite plugin which… Copyright © 2010 ilike2flash. This Feed is for personal non-commercial use only.

Direct Link

Read More..

Protect Your Flash Files From Decompilers by Using Encryption

Decompilers are a real worry for people who create Flash content. You can put a lot of effort into creating the best game out there, then someone can steal it, replace the logo and put it on their site without asking you. How? Using a Flash Decompiler.

Direct Link

Read More..

Dynamic Reflection Generator Class for AS3

Hot on the heels of our Perfect Alpha Reflections Quick Tip comes this excellent utility class for dynamically reflecting your display objects, courtesy of Martin Christov . How do I use it? Step 1: Copy the ReflectEffect.as file into the classpath of your Flash project (or the same directory as your FLA if you’re not using classpaths). Step 2: In your code, create a new instance of the ReflectEffect class, passing it the display object that you want it to reflect, like so: var reflect:ReflectEffect = new ReflectEffect(movieClipToReflect); Step 3: Create a new variable for your reflected object and add it to the stage (or wherever you like): var reflectedDown:Bitmap = reflect.down(length, fade, offset, blur, alpha); reflectedDown.y = movieClipToReflect.y + movieClipToReflect.height; addChild( reflectedDown ); The functions reflect.down(), reflect.up(), reflect.left() and reflect.right() will return a Bitmap of your object reflected in that direction.

Direct Link

Read More..

Web development will become much more complicated

Now many of you are expecting this post to be about the lack of Flash on the iPad or about the future of HTML 5. While those issues are important, there are actually much larger issues facing the web development community. These issues are not necessarily negative, but they will change the way we all work. My first real job in this industry was doing DHTML at AOL/Netscape.

Direct Link

Read More..

Quick Tip: How to Organize Your Flash Project Files

There are two good reasons for keeping your Flash project organized: first, it makes it easier to package up your output files for deployment; second, it stops coders and designers getting in each other’s way! In this Quick Tip screencast, Daniel Apt demonstrates how to set up your project’s folders, and shows three standard ways of doing so. View Screencast Get the Flash Player to see this player.

Direct Link

Read More..

purePDF, a complete actionscript PDF library

PurePDF is a complete library for creating PDF documents using actionscript 3 ( targeted for flash player 10 ). The project is actually hosted on google code . This is is a porting I’ve made of the famous java iText library ( version 4.2 ) by Bruno Lowagie into pure actionscript 3.0 (with some little modifications). iText ( and purePDF ) has tons of features for create and manipulate pdf documents.

Direct Link

Read More..

Detect key press in Actionscript 3

I have previously created a tutorial called Keyboard controls in AS3 where you learn how to move an object around the stage using the keyboard arrow keys. In this tutorial you will learn how to… Copyright © 2010 ilike2flash. This Feed is for personal non-commercial use only.

Direct Link

Read More..

Build a Dynamic Video Player with ActionScript 3: Part 3 of 3

Here it is, the final part of our video player tutorial! All we need to do now is get the time indicator working, add our home button click function, position and size the current video and get the featured bar filled with videos along with its scrubber. Let’s get started! Step 1: Video Time First we need to add a listener to the stage called videoTimeEnterFrame that updates the video time every frame. Add this line to the videoItemClick function. stage.addEventListener(Event.ENTER_FRAME, videoTimeEnterFrame); // runs this function every time we enter a new frame Now let’s add the videoTimeEnterFrame function.

Direct Link

Read More..

New video of iPhone apps built with Flash CS5

Now that the Flash/iPad issue has been done to death on this blog, I can now get back to simply talking about Flash. Adrian Ludwig recently released a video showing some of the newer applications that have been created for the iPhone using Flash CS5. The performance is getting better and better. On this one, Adobe, Apple, and developers all benefit.

Direct Link

Read More..