-
button actions
hey there guys, flash newb here. I'm reading the O'Reilly book on Actionscript and there is some mentioning that instead of using:
on (rollover) {
//some button property code here
}
I should open the button (which I made as an instance from the library) and put in some action code in the "over" state. But flash says that I cant put in any actions in there. Any insights? thanks.
-
FK's Geezer Mod
Flash is right. You can't add code inside the button symbol and you can not target a frame inside a button. But, in MX, not all buttons are 'Buttons'. Some buttons can be movie clips. In that case you can add code anywhere in it or on it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|