A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: button help please.

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    160

    Unhappy

    Hey gang,

    I think this is possible:

    I made a button for my flash movie. Is there a way that when pressed, I can have it do something (like show a picture) and STOP being a button.

    In other words, the button is a 1 time use for life of the movie.

    Any help is appreciated.

    Thanks!

  2. #2
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960
    You can have a gotoAndStop(20) action for the button. Frame 20 should have the picture and also an exact image of the button but which is not a button but a graphic.

  3. #3
    you could do this by making the butons alpha goto 0% when you press it.you could load a photo by making one in a seprate movie and using the load movie command.

    on (release) {
    loadMovieNum ("photo.swf", 0);
    setProperty ("", _alpha, "0");
    }
    Hope this helps.

  4. #4
    Senior Member
    Join Date
    Jun 2001
    Posts
    160
    will either of this solutions disable the button? The user can not be allowed to click it again and must not show button cursor when space is hovered over.


  5. #5
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960
    With my way they will not be able to click the button and go back. In the Instance panel just change the behaviour to 'graphic' where it was 'button'. The cursor will also not change into a hand!

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