PDA

View Full Version : A button TAG (same thing as HTML)


Moralez
09-30-2003, 10:42 AM
Does a flash Button has a TAG? Like the Hyperlinks in HTML?
If not, is there a simple way do "create" it? Nothing like reading the mouse position and then creating a textbox, bla,bla,bla...

dzy2566
09-30-2003, 10:48 AM
Create it at runtime? Or is this an authoring-time question? It has an instance name, but that's about as close to a tag as you're going to get.

myButton.gotoAndPlay(4); // for example

Where myButton is the instance name of the button you want to control, and gotoAndPlay is the method of the Button class that you are calling.

I wouldn't try to make comparisons between HTML and AS, it will only confuse you.