Working with Time in AS3
Duration: 36:00
Created with
Ben Fhala
Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.
Working with Time in AS3 Overview
What you'll learn
Working with the Timer, setInterval/clearInterval in flash are a continuation course based on the last course in the Indispensable AS3 group of titles. In the last session we started working on setting up a Timer. In this course we will complete the task and add a few new concepts in the process. We will start by creating a timeout using the setInterval and clearInterval these methods have been around forever and are actually the way working with time is done in JavaScript till this day so its a very important way of working with time that we should understand. You might be thinking so why learn so many ways to work with time the older way(setInterval) has many risks associated with it as all responsibilities are in your hands while working with the Timer class adobe added some extra securities to help avoid something that is called "memory leaks". We finish off with integrating some basic work with dispatching events, text fields and formatting text. Our end result will be a functioning timeout.