A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: controling actionscripted movies with buttons

  1. #1
    Junior Member
    Join Date
    Feb 2002
    I've used a tutorial to create a movie which is selfcontained and built entirely actionscript wihout frames (onclipEvent..etc). An object moves across the stage back and forth in a continual loop. I've created a button instance and have tried to target/stop the movie, but have been unsuccessful in my efforts.

    What would be the best way for me to control this movie with buttons ( stop,play etc)?


    Newbie from NC

  2. #2
    Not PWD ViRGo_RK's Avatar
    Join Date
    May 2001
    Put this code on the button for stop. I will refer to your movieclip as 'ball'. Replace 'ball' with the instance name of your movieclip.

    on (release) {
    Now, for the play button, just replace "stop" with "play"

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