dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: If-Else statement - Swish2

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    11

    If-Else statement - Swish2

    I'm trying to make an if-else statement in swish2, but can only find "if loaded". Is there a way to simulate an "if-else loaded"??

    I have a "Tell Target" which looks at a sprite. I want to check if a frame has loaded, if so, go to a different frame, but I also want it to run another if statement where it checks another frame to see if that has been loaded.

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Posts
    11
    Sorry, I clicked submit too many times. The page wasn't loading for me.

  3. #3
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    Unfortunately swish2 does not have conditional
    functions like swishmax/flash mx

  4. #4
    Junior Member
    Join Date
    Apr 2004
    Posts
    11
    Is there a workaround that I could create to have an if-statement break out of the "tell target" if the statement is true?

    I just bought swishmax. I guess I'll have to learn scripting in this language now.

    So there is if-else statements in swishmax correct?

  5. #5
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    yes,

    Swishscript operates much like actionscript

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