1 Reply Latest reply on Oct 15, 2014 11:18 AM by kglad

    I am trying to create a Interactive Game on Flash about Farm Animals, however...

    HaashPotato

      I want an image of a horse to rollover with stroke around the horse to show it has been highlighted. How would I do this on Photoshop and Import it to Flash CC?

        • 1. Re: I am trying to create a Interactive Game on Flash about Farm Animals, however...
          kglad Adobe Community Professional & MVP

          import your horse and import the horse's stroke as two separate bitmaps into your flash pro library.

           

          create a new movieclip and add the horse bitmap to that movieclip.  create a new layer above the horse and add the stroke to that layer.  right click the stroke and convert to a movieclip and assign an instance name, eg stroke.

           

          drag your horse movieclip from the library to the stage and assign it an instance name, eg horse.

           

          in the actions panel you can use:

           

          horse.stroke.visible=false;

          horse.addEventListener(MouseEvent.MOUSE_OVER,horse_overF);

          horse.addEventListener(MouseEvent.MOUSE_OUT,horse_outF);

          function horse_overF(e:MouseEvent):void{

          horse.stroke.visible=true;

          }

          function horse_outrF(e:MouseEvent):void{

          horse.stroke.visible=false;

          }