Advertisement

ActionScript

  • ActionScript
    Accessing the Same Saved Data With Separate Flash and JavaScript AppsFlashjshtml5
    5 shares
    In this tutorial I will show you how to access the same saved data in separate Flash and JavaScript apps, by storing it in HTML5 LocalStorage and using ExternalInterface to reach it with AS3. We will create the same app in both JavaScript and Flash to demonstrate that it is platform agnostic.Read More…
  • ActionScript
    Predicting Collision Points With Math in AS3Predictingcollisionpoints
    11 shares
    In my previous tutorial about collision detection between a circle and a line, I covered projection on a line using the dot product of a vector. In this tutorial, we shall look at the perpendicular dot product and use it to predict the point of intersection for two lines.Read More…
  • ActionScript
    Create a Mac Dock Style Menu With AS3Preview
    9 shares
    In this tutorial I'll show you how to create a menu like Apple's Dock using AS3 classes. We will create a single AS file that will perform all the magic, extending it to add new features.Read More…
  • ActionScript
    Keep Your Flash Project's Memory Usage Stable With Object PoolingMemory is ram oh dear
    34 shares
    Memory usage is an aspect of development that you really have to be careful about, or it might end up slowing down your app, taking up a lot of memory or even crashing everything. This tutorial will help you to avoid those bad potential outcomes!Read More…
  • ActionScript
    Circular Motion in AS3: Make One Moving Object Orbit AnotherPreview
    11 shares
    Having one object orbit another is a movement mechanic that's been used since the early gaming era, and it remains handy to this very day! In this Quick Tip we will explore the mathematical function for orbiting, see how to modify it, and look at practical uses in actual game design.Read More…
  • ActionScript
    Quick Tip: How to Debug an AS3 Error #1203Error 1203
    In this Quick Tip, we'll discuss the confusing AS3 error 1203, "no constructor found", which crops up without provocation and is rather unfortunately worded. We'll examine the scenario in which it will appear, and how to fix it.Read More…
  • ActionScript
    Quick Tip: Implementing the Bubble Sort in AS3Preview
    In this Quick Tip, I'll show you how and why the Bubble Sort algorithm works, and how to implement it in AS3. You'll end up with a class that you can use in any Flash project, for sorting any array.Read More…
  • ActionScript
    Easy, Fluid Keyboard Movement in AS3 With the Input ClassBasic movement preview
    There are a lot of games out there with jerky, unrealistic movements and that can do only one thing to your product: make it unappealing to the audience. But smooth movement is not hard to achieve - let's get to work!Read More…
  • ActionScript
    Quick Tip: Use FZip to Open Zip Files Within AS3Fzip as3
    6 shares
    In this tutorial I will introduce you to FZip, an AS3 Library that lets you open zip files inside your Flash projects. This can save a lot of bandwidth; in this tutorial we will load an 2.5MB zip file which contains 9.3MB worth of assets.Read More…
  • ActionScript
    AS3 Quick Tip: Hacking the Event Flow200x200
    5 shares
    Sometimes you may find yourself needing to modify the behavior of a component for a user input event. This article will explain how to do so by modifying the event object in-flight, before it's processed by the component. That's right, you can lie and cheat. In code.Read More…
  • ActionScript
    How to Add Mouse Gesture Control to Your Flash Projects: Multi-Stroke GesturesLogo
    10 shares
    In the first part of this series, I introduced a class to handle single mouse stroke detection: MGesture. This tutorial takes it a step further, by detecting a sequence of strokes.Read More…
  • ActionScript
    Monitoring the Loading Process in Flash With the Loader ClassLoading external assets in flash
    3 shares
    In AS3 projects, you often need to load external assets like images and other SWFs. While loading these assets you have to keep track of several events for successful execution of your application. You might have been using some of these events like ProgressEvent, COMPLETE event. This tutorial shows you how to get info about the assets you're loading with Loader.load(), using its associated events, all in one place. So if you're having difficulty loading such assets, or you have less time in hand to debug, take a look at this.Read More…
Advertisement
Advertisement