Skip to main content
Participant
August 1, 2014
Question

Linking to another Flash page (slide) within my flash file (AS2)

  • August 1, 2014
  • 1 reply
  • 219 views

I am having an issue with creating a link and having it jump to another page within my file.  The file has tabs that have different info when you click each tab.  There is a Contact Us tab, a Reimbursement tab, etc.  The Reimbursement tab has text that says "Click here to contact us."  At the moment, I've figured out how to make it change to the Contact tab's info, but the tab itself doesn't change.   So the Contact info within the tab shows up, but the Reimbursement tab is still highlighted.   I'm using ActionScript2, and I'm a total newb with it.   Here's a screen shot:  it shows Contact Us, but appears to still be on the Reimbursement tab.

I have some ActionScript in the timeline in a layer called Actions.

reimb.onRelease = function (){

  gotoAndStop(7);

}

(where 7 is the Contact Us panel)

This seems to work for changing the content, but I can't figure out how to change the tab to Contact Us too.  Please help if you can.

Thanks

Anne

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 1, 2014

the contact us tab probably is a movieclip (eg, contactus_mc)  that has different frames.  one of those frames (eg, 'clicked') should represent the clicked state.

you would use:

reimb.onRelease = function (){

  gotoAndStop(7);

contactus_mc.gotoAndStop('clicked');

}