A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Buttons

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Having trouble with Buttons -- please help

    When I create and button and double click the image or graphic which I have converted -- I cannot add the action script --?

    Other Query
    If I add a second scene -- should this appear automatically in the Action panel ?


  2. #2
    Senior Member
    Join Date
    Jun 2001
    Posts
    148
    You are trying to assign an action in the button itself. Instead, place the button on the stage where you will use it. Double click the instance of the button and a window will pop up with an actions tab (Flash 4) or click once on the button and then click the actions mode on the window(Flash 5) and assign your actions there. This allows you to reuse the button as many times as you want but assign different actions each time.

    Cheers!

  3. #3
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Thanks for your help: Basically I can only add the Script on the timeline and not in the button -- up-down-hit etc

    Any result on the other query reference scene

  4. #4
    Senior Member
    Join Date
    Jun 2001
    Posts
    148
    Correct, You can assign action to a keframe inside the button, but not to the button itself within the edit mode.

    Second Query:
    If you are trying to do something like; On press goto scene 2, or assigning a goto scene 2 on a keframe, then yes it should be in your actions window.

  5. #5
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Thanks for your help

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