Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package {
- import flash.events.Event;
- import flash.display.MovieClip;
- public class liv extends MovieClip
- {
- public function liv() {
- this.x = 530
- this.y = 185
- this.scaleX = 0.60
- this.scaleY = 0.60
- stage.addEventListener (Event.ENTER_FRAME, UpdateFunksjon) ;
- }
- public function UpdateFunksjon (e:Event) : void
- {
- if (liv == true)
- {
- liv.gotoAndStop ("shiny")
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement