cant convert movieclip into button

  • kisman
  • Born
  • Born
  • kisman
  • Posts: 1

Post 3+ Months Ago

Hello, I have problem :(
why this clip doesn't work as a button?

Code: [ Select ]
this.createEmptyMovieClip("mc",this.getNextHighestDepth());
this.mc.loadMovie("thumbs/IMG_1634.jpg");
this.mc.onRelease = function()
{
    trace("Pressed");
}
  1. this.createEmptyMovieClip("mc",this.getNextHighestDepth());
  2. this.mc.loadMovie("thumbs/IMG_1634.jpg");
  3. this.mc.onRelease = function()
  4. {
  5.     trace("Pressed");
  6. }
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • krismeister
  • Graduate
  • Graduate
  • krismeister
  • Posts: 202

Post 3+ Months Ago

maybe something with the image instead of loading an swf?

try going one level lower with your load.

Code: [ Select ]
this.createEmptyMovieClip("mc",this.getNextHighestDepth());
this.mc.createEmptyMovieClip("innerMc",this.getNextHighestDepth());
this.mc.innerMc.loadMovie("thumbs/IMG_1634.jpg");
this.mc.onRelease = function(){
  trace("Pressed");
}
  1. this.createEmptyMovieClip("mc",this.getNextHighestDepth());
  2. this.mc.createEmptyMovieClip("innerMc",this.getNextHighestDepth());
  3. this.mc.innerMc.loadMovie("thumbs/IMG_1634.jpg");
  4. this.mc.onRelease = function(){
  5.   trace("Pressed");
  6. }

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 25 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
 
 

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