A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: gotoAndStop problem with expressions

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Could someone please tell me if this is possible, it worked fine in Flash 4.

    I am trying to use gotoAndStop with an expression as the target frame. I want the target frame to be a frame number.

    It seems if you tell F5 to goto a frame number, it cannot be an expression, and if you tell it to gotoAndStop on an expression it trys to see it as a frame NAME not NUMBER.

    If I name the frames with numbers (just 1-whatever) and use an expression it works, but I don't want to have to name every frame of the movies I'm using.

    Any feedback would be much appreciated.

  2. #2
    Bob (the singing sock)
    Join Date
    Aug 2000
    Århus, Denmark
    Flash 5 needs a little help with numbers
    "gotoframe" is a varible to wich i assign the frame i want it to go to.

    on (release) {
    No prob

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