A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Button doesn't work anymore

Hybrid View

  1. #1
    Captain
    Join Date
    Oct 2005
    Posts
    63

    [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...

  2. #2
    Member
    Join Date
    Sep 2007
    Posts
    93
    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.

  3. #3
    Captain
    Join Date
    Oct 2005
    Posts
    63
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center