A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: simple one

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    55

    simple one

    Hi...

    I given some action to a button on rollOver and press, but i don,t want to rollOver action after pressing button, how to do this one.

    thanks for replay

  2. #2
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    if you put your button in a movieclip and make a new button in frame 2

    on the first frame of this movieclip add the action stop ();

    on the button on frame one, add this script:

    on (release, rollOver) {
    your actions
    }
    on (release){
    gotoAndStop (2);
    }

    on the button in frame 2, add this script:

    on (release) {
    your actions
    }

    hope you understand

    if you dont, let me know and I will try to explain in a different way.

  3. #3
    Pixel Pusher Elastikman II's Avatar
    Join Date
    Jan 2003
    Location
    London, UK
    Posts
    168
    ...or you could put a keyframe containing an instance of your button in the second frame as described by naushad_t and break apart this instance so it has no rollover state...

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