Attaching buttons from a library to the stage?
I'm making a game and I would like to display random buttons on the stage. I will have 5 buttons on screen and one will be the correct answer while the other four will be wrong.
I want to make the buttons random and I have no problem generating a random number, but I have no idea how to attach the buttons on the stage through code?
I know you can attach movie clips, but how about buttons?? There must be a way? I've searched google and found nothing... :-(
Any help will be greatly appreciated.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Movie & MP3 buttons in need of code to clear stage and cancel any other link button.||Soundeffects||Flash 8||7||04-10-2009 03:57 PM|
|[CS3] place different buttons on stage when "for" statement is true.||floody123||Flash CS3 / Flash 9||6||10-19-2008 10:27 AM|
|attaching buttons to timeline||Spanjj||Actionscript 2.0||1||08-22-2008 03:40 PM|
|attaching buttons dynamically||YoS||Actionscript 2.0||8||09-07-2007 10:54 AM|
|Flash MX 2004 : movie clip open from library or double click on stage||lse123||Flash MX 2004||1||10-04-2006 10:53 AM|