external movie paths problem

  • redsoxfan
  • Born
  • Born
  • redsoxfan
  • Posts: 1

Post 3+ Months Ago

I have a flash coloring book file and it works fine. I want to remove the drawing part so I can rotate in different drawings to color. I removed the drawing part(horse.swf) and made it its own file. I used the loadmovie to load it in the main file(coloringbook.swf) but when I click on the drawing to color it it doesn't work. I think I need to add paths but I'm not sure how.

Here's the code in the main file(coloringbook.fla)
the main timeline
ACTIONSCRIPT Code: [ Select ]
empty.loadMovie("horse1.swf");
with (empty){
  _x=0;
  _y=0;
}
  1. empty.loadMovie("horse1.swf");
  2. with (empty){
  3.   _x=0;
  4.   _y=0;
  5. }


here's the code on each color block

ACTIONSCRIPT Code: [ Select ]
on(release) {
_root.hue = 0xCC33FF;
colorselected = new Color (_root.selected) ;
colorselected.setRGB(_root.hue) ;
}
  1. on(release) {
  2. _root.hue = 0xCC33FF;
  3. colorselected = new Color (_root.selected) ;
  4. colorselected.setRGB(_root.hue) ;
  5. }


now here's the code on horse.fla

ACTIONSCRIPT Code: [ Select ]
on(release) {
fillshade = new Color (_root.horsebody) ;
fillshade.setRGB(_root.hue) ;
gotoAndPlay(1);
}
  1. on(release) {
  2. fillshade = new Color (_root.horsebody) ;
  3. fillshade.setRGB(_root.hue) ;
  4. gotoAndPlay(1);
  5. }


that code is on each mc that will be colored with the "horsebody" being the instance name given to that piece.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 6 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.