dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: space bar to stop AND play projector

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    18
    I want the space bar to both stop and play my projector, so you can watch it and hit the space which pauses it and the hit it again to resume. at the moment I have the space bar pausing it and then the return key resuming play. Any ideas?

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    214

    resolved



    suppose ur button is at frame 1 and u have given the action of on(keypress <space>) -> gotoandstop frame no. 2 -> tell target(play).

    now u have to insert another keyframe at frame no 2 and use the same button and give following
    actionkeypress <space>) -> gotoandstop frame no. 1 -> tell target(stop).



    see if this help u

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