A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: custom property with custom event- a quick way?

Threaded View

  1. #12
    Senior Member
    Join Date
    Jul 2004
    Posts
    264
    AS3 has taken a lot of the fun out of making flash games. It used to be just about "hacking" something together -- and it "just worked".

    Now you have to know the "correct" way to do something - just to get the game to run.

    I've been working with AS2 for years - and have never heard of a constructor! LOL. Yes, i'm sure my code is terrible - but it used to be great just to make a game, without thinking if i was doing it right.

    Sorry for all the questions 5TonsOfFlax -- please would you mind looking at my code and letting me know if what i have done is ok.

    The reason i have done it like this is -- i can make lots of games just by changing the fla file -- and i never have to change the classes.

    I can add as many or change names of movieclips that the class can access -- without passing the whole stage to the class.

    What do you think? Is that ok? is it ok to call a dispatchEvent every 10 in a timer?

    Thanks again for the help.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center