-
[F8] Button doesn't work anymore
I've just upgraded to the CS3 version of Flash, and I discover that some of my earlier projects don't work that well anymore, particularly my buttons with events directly on them don't react!
For instance, this produce no result! Why is that? I've tried with different publishing settings!
on (release)
{
trace ("button pressed!");
}
I know that I can work around this by mybtn.onRelease = function()..., and so on - I just want to know why the good old way of placing the action on the button itself doesn't work anymore...
-
I could be wrong, but I believe that CS3 defaults to using AS3 which (anybody can correct me here) I believe, doesn't allow the button code to be right on the clips anymore. I believe you have to do the mybtn.onRelease = function() now.
-
I don't think that is the issue. It says AS1. Maybe it interprets the existing code and understands.
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
|