A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: prevframe error/question AS2 CS3

  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    48

    prevframe error/question AS2 CS3

    Hello ppl
    Im building a flash header in which I need to create to arrows, one will go the beginning of the website and the other one to the next frame. By using prevframe I did this action:

    PHP Code:
    on (release) {
    if (
    _currentframe == 1) {
    stop();
    } else {
    prevFrame();
    }

    This code is in the button "arrow" on frame 10 but instead of going back frame by frame, it stays in the frame 9.

    How can I fix this?

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    48
    bump*

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    if the button is present on the timeline on frames 1 to 10, it should work.

    gparis

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