A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: AS arrangements crucial?

  1. #1
    The next Squaresoft
    Join Date
    Sep 2004
    Location
    Zanarkand
    Posts
    215

    AS arrangements crucial?

    I've noticed that when i make my AS scripting

    the "postions" of my scripts affect the outcome
    like if it will work or not

    like if i code attacking, it wont work unless its
    the first before other movements

    or maybe i just placed it under the wrong scripts?

    hmm, any ideas?
    "Are those gummy worms? Can I have some?"

    "Nevermind, I just saw one move by itself..."

  2. #2
    DOT-INVADER marmotte's Avatar
    Join Date
    May 2002
    Location
    Dot-Switzerland
    Posts
    2,601
    do you mean like for example:

    code:

    this.gotoAndPlay("run");
    // insert millions of lines of code here
    this.gotoAndStop("superjump");



    ^ here it will go to "superjump" even though you specified to go to "run" before. yep, the code is calculated chronologically

  3. #3
    The next Squaresoft
    Join Date
    Sep 2004
    Location
    Zanarkand
    Posts
    215
    oh ok, then i'de better watch out on where
    ill be putting my codes in next time!

    thnx!
    "Are those gummy worms? Can I have some?"

    "Nevermind, I just saw one move by itself..."

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