July 2008 - Posts

  • Flash Printing AS 3.0

    07.15.08 | Author: Danny | Add a Comment
    Printing in Flash can be extremely simple, but also has the potential to get quite complex as your needs become more involved. Fortunately, ActionScript 3.0 makes it easier, and in some cases you will not be able to get a good print in earlier versions of ActionScript. So let's get started with some of the printing basics. Print Classes In ActionScript 3.0 you have three classes used for printing. You can include all three of them in your project... Read More...
  • Using a Flash Project (flp)

    07.12.08 | Author: Danny | Add a Comment
    With the fully object oriented nature of ActionScript 3.0, it is more important to have a means of managing multiple ActionScript files. Flash Project files are a good step in the right direction. You still have to deal with some frustrating deficiencies in the Flash authoring environment, but it is a huge improvement compared to working without. This article will walk you through setting up a Flash project, and how to set up your classes and packages... Read More...
  • Creating and Handling Events AS 3.0

    07.12.08 | Author: Danny | Add a Comment
    ActionScript 2.0 uses broadcasting functionality to handle its events. In ActionScript 3.0 we get an upgrade in functionality to a truly event-driven model. The new event model gives us a more structured and ultimately a more powerful way to handle our events. New Functions DispatchEvent: DispatchEvent is a function that is available in the common classes used in ActionScript 3.0. Any DisplayObject already has the function included. DispatchEvent... Read More...
  • Flash Navigation Control AS 3.0

    07.11.08 | Author: Danny | Add a Comment
    We have already discussed how to handle mouse-mashing clicks using ActionScript 2.0. The more structured object oriented nature of ActionScript 3.0 requires an update to this methodology, but it is still pretty simple. The challenge with ActionScript 3.0 is that you want to be able to trigger a lock or unlock action at any time. You no longer can define a function at _level0, and then call it from anywhere. This change is a huge improvement from a... Read More...
  • ActionScript 3.0 Migration

    07.11.08 | Author: Danny | Add a Comment
    ActionScript 3.0 has been out for quite a while, but for some, adoption has been slow in coming. Migrating very large projects from ActionScript 2.0 to 3.0 can be a big enough job that it may not be feasible to migrate something that works fine in ActionScript 2.0. Often times, new projects are under tight enough timelines that introducing unknowns into the development process can discourage starting new projects in ActionScript 3.0. There are however... Read More...