Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to know how to edit after button gets clicked

Status
Not open for further replies.

ssballin

Technical User
Aug 27, 2007
5
US
i am trying to make this site and this is my first time using flash. i got a template and am trying to figure out how it works.

my problem:
there are 4 buttons towards the bottom. when you click on them, they take you to products, service, etc. how do i edit where those buttons take me?
thank you very much and the help is appreciated.

 
It is on the site and you can click on the buttons and they take you to places but im not sure what you are asking...sorry very new to this.
 
Well when i click on it it takes me to another part of the timeline i think but im not sure. you are welcome to take a look at the site. it is the buttons are the 4 squares towards the bottom right of the page. thank you for the help.
 
Well you could create another movie clip, and on the press of a button target a particualr frame in that new movie clip, or you can modify the content of the present movie clip that is targeted by the buttons...

on (release, rollOver) {
tellTarget ("/bttn text") {
gotoAndStop("1");
}
}
on (release) {
tellTarget ("/content text") {
gotoAndPlay("text 1");
}
}

The above code (old Flash 4 syntax, by the way...) on the products button, tells the "bttn text" movie clip, to go and stop on frame 1 on a release or a rollover of that button. It also sends the playhead in the "content text" movie clip to the frame labeled "text 1" and plays that movie clip until there's a stop action on that timeline.

Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top