A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Actionscript, variables, increments, puzzzlement

Threaded View

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    6

    Actionscript, variables, increments, puzzzlement

    Firstly Koolmoves is tremendous, I've been able to make excellent (edit: sounds a bit immodest! I mean they came out how I hoped they would) things without any great technical knowledge.

    But I have reached an actionscript/variable impasse, and I need some help. I've been making comedy interactive things, one of which you can see at www.geocities.com/t_clist/jobatronic.html , and they're going fine, but I want to be able to do different endings based on scores for future things. I've been reading around a bit, and tried some actionscript out but can't get it to work. This is what I've been trying:

    score = 0; (on an early frame, then)

    score ++; (after a correct choice has been made, then, on a frame near the end, something like this)

    if (score == 0) {gotoandplay(whatever)}; else (some other condition){some other action};

    So what's at fault? Is it my incompetent coding or is Koolmoves the wrong thing to try this in? It's really irritating, because in BASIC this'd be the easiest thing in the world, and I can't help but feel a bit daft for not being able to do it.

    All assistance gratefully received, especially any examples of actionscript inserts that would definitely work. Thanks!
    Last edited by panda_t; 06-12-2004 at 04:57 PM.

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