Skip to main content
Inspiring
October 14, 2008
Question

goto line# equivalent in CS3

  • October 14, 2008
  • 1 reply
  • 403 views
Hi, I have a program that loads a number of puzzle pieces to random
locations on a board. There is an eventlistener and code to detect if they
are all together. Unfortunately, once in a while, even though its random,
they overlap enough to trigger the later code and the program diverts
incorrectly. I can easily check for all the pieces on top of each other, but
can't seem to find how to return the code back a few lines in order to
reshuffle, similar to the goto line# in Vbasic. I checked on the help,
index, adobe, bb's, googled and no one else seems to have had this problem.
Any help sincerely appreciated.
BL


This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 14, 2008
you can't direct actionscript to a line #. you can accomplish the same thing by setting up your code with that in mind.