dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Stopping the main time line from a MC

  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    45

    Stopping the main time line from a MC

    hi,

    I have a main movie clip which loops continuously on the main timeline. Within this MC are another set of MCs which will be used as buttons.

    I would like it so that when the mouse goes over the MC on the highest level, the main timeline stops.

    Ive tried doing on(RollOver){
    root.stop();
    }

    but doesnt work.

    Any ideas?
    Cheers

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    To stop the main timeline playing from a button in any movie clip you can use,

    code:

    on (rollOver) {
    _root.stop();
    }



    attached to the button.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    45
    cool, nice one!

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