dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: calling movie clip from a different movie clip

  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    45

    calling movie clip from a different movie clip

    Hi,

    I have two movie clips on my main stage. How do i make it so that when i roll over movie clip #1, it makes movie-clip 2 go to a different frame within itself?

    Cheers!

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Give both clips instance names (for example clip1 and clip2)

    then in the frame that contains them add the actions,

    code:

    clip1.onRollOver = function() {
    clip2.gotoAndPlay(2);
    };



    now when the mouse rolls over clip1 clip2 will be sent to play frame 2

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