Attaching a loadClip to button

  • Rob1973
  • Born
  • Born
  • Rob1973
  • Posts: 1
  • Loc: UK

Post 3+ Months Ago

Hi

I am constructing a site where basically all my various swf load into a swf called master. I am using the movieClip loader object to do this.

My menu swf loads in fine using

myMCL.loadClip("Menu-edited-2.swf", 20);

However the buttons in the menu have an animation called btnCover for a rollOver and rollOut effect over this animation is an invisible button and when attaching code to load in another movie it does not work at all. Can you help?

the AS attached to the button is below

on (rollOver) {
btnCoverContact.gotoAndPlay(2);
}
on (rollOut) {
btnCoverContact.gotoAndPlay(20);
}
on (release) {
_level0.myMCL.loadClip ("Contact.swf", 5);
}

thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

_root.myMCL.loadMovie("Contact.swf");

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.