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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking button names

Status
Not open for further replies.

zx3us

Technical User
Feb 21, 2005
7
0
0
GB
i am trying to have the name of a button from one frame to be displayed on another frame (order form) when the button is selected on the first frame. Does anyone have any suggestioons?

Regards
Mark
 
Insert (or convert) your button into a movie clip...

on(release){
_global.mybutname = this._name;
// other code...
}

On the other frame...

trace(_global.mybutname);
// or...
mydisplay = _global.mybutname;

Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
bacuse i am using the buttons to load other movie clips onto that frame do i not need to keep them as a button? (sorry i am a complete novive and trying to learn flash from scratch)

Regards
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top