Adobe Flash ActionScript 3.0 Tutorial - Events
Loading...
2,185
Uploader Comments (CerebralFusioncom)
see all
All Comments (4)
-
@YiFongCheng I know some actionscript and I think I could do that. Though I thought showing you this little tutorial would be more convineant, newgrounds . com/portal/view/423637
-
Hello,
Do you know how to make a function that show an object at certain time? For example, I would like an arrow to show at the 59 second and disappear at 1:10. Thank you.
-
isnt there any book or site that will have the detail like Zodifreak`s Question? m also stuck in many things like that i.e myTimer = NewTimer likewise.
Loading...
hey great video,
i was wondering about 1 thing though. When you were assigning the myTimer (at 3.00 minutes), what does the "TimerEvent.TImer" mean? - Like what is its function
thanks
zoidfreak 2 years ago
Thanks!
Well, the first part is the event listener, it waits for something to happen then it runs the function doThis. In this case its a TimerEvent, it could be a MouseEvent or KeyboardEvent and wait for those kinds of things to happen. The next part TIMER is what it is waiting for, in this case TIMER means every time our timer clicks once its started, it is set to 2000 miliseconds in this example. If it was Mouse.CLICK it would be waiting for a mouseclick to happen.
Hope that helps =)
CerebralFusioncom 2 years ago