JodieW
07-15-2008, 02:39 AM
Can someone please help me.
I am working with action script 2 and need to change this script from AC3 to AC2
import fl.video.VideoEvent;
function playMovie(event:MouseEvent):void {
myVideo.play();
}
function showPosterFrame(event:Event):void {
myPoster.visible = true;
}
function hidePosterFrame(event:Event):void {
myPoster.visible = false;
}
myPoster.addEventListener(MouseEvent.CLICK, playMovie);
myVideo.addEventListener(VideoEvent.PLAYING_STATE_ ENTERED, hidePosterFrame);
myVideo.addEventListener(VideoEvent.COMPLETE, showPosterFrame);
I keep getting error messages
The class or interface 'MouseEvent' could not be loaded.
I am working with action script 2 and need to change this script from AC3 to AC2
import fl.video.VideoEvent;
function playMovie(event:MouseEvent):void {
myVideo.play();
}
function showPosterFrame(event:Event):void {
myPoster.visible = true;
}
function hidePosterFrame(event:Event):void {
myPoster.visible = false;
}
myPoster.addEventListener(MouseEvent.CLICK, playMovie);
myVideo.addEventListener(VideoEvent.PLAYING_STATE_ ENTERED, hidePosterFrame);
myVideo.addEventListener(VideoEvent.COMPLETE, showPosterFrame);
I keep getting error messages
The class or interface 'MouseEvent' could not be loaded.