Skip to main content
Participant
December 6, 2009
Question

Loading external images into a MovieClip on rollOver

  • December 6, 2009
  • 1 reply
  • 413 views

Odd, I thought this code should accomplish what I need – what am I missing?

myBtn.addEventListener (MouseEvent.MOUSE_OVER, loadit);

function loadit (e:MouseEvent):void{
    myLdr.source = ("4girls_hbo.psd");
}

This topic has been closed for replies.

1 reply

ralpalaAuthor
Participant
December 6, 2009

to clarify – i am trying to avoid as for this – as it is a quick little project. So, on frame one I have both the loader and the button that should activate it placed already – so i am just wanting this image to appear when i roll over the button... seems like it should be working?

oluc
Known Participant
December 7, 2009

try turning your psd into a jpg.

Ned Murphy
Legend
December 7, 2009

oluc is right.  You should check to see which types of image files Flash can load... jpg is one.