View Full Version : Loop in a Class
DrRobot
September 10th, 2007, 04:29 PM
what would be the best way to do this?
i am creating a class that handles false day/night time and i figure a loop would do best for it.
i know you can do an eventListener in as3, but what about as2?
ajcates
September 10th, 2007, 07:00 PM
... your gonna have to explain your self better
DrRobot
September 11th, 2007, 06:57 AM
i have a function that makes a textbox on the stage, i have an update function thats supposed to update the time. but it doesn't loop, so the time never changes. i am going to addsome more things, like it changes an overlay's alpha to show it's nighttime.
think a false day/night thing like legend of zelda majoras mask. the clock at the bottom.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.