A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: click once-good, click twice-bad!

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Posts
    5

    click once-good, click twice-bad!

    hello all. (i am using flash 8)

    i have been making a portfolio website which contains different pictures of my designs. I have made a button inside of a movie clip that fades in, slides right and stops. inside this button movie clip, i have placed a stop on the last frame of my actions layer, as well as placing the following actionscript on the button in the last keyframe:

    on (release) {
    this._parent.gotoAndPlay("115");
    }

    Now, i have duplicated this button movie clip, and put them on my main scene to navigate to each different picture. Each time I duplicated, I went back in, and changed the frame number to the one that should be correct.

    The problem is, when I click once, it does what it should and loads the correct picture. But, once the correct picture is loaded, if I click on it a second time, it jumps to a completely new picture down the timeline (the pic that is one frame over i think). Does anyone know what might be the problem here?

    I have also put stops on my main scene actions layer when each picture appears. Dont know if that helps...

    thanks
    travis

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    answered in Newbies

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