Hi there - I suspect I’m doing something silly here. Keep getting a #1009 error pointing towards the fadeOut function on frame 2. Here’s the scoup, TIA!
Frame 1: Clickable Logo that sends the playhead to frame 2
import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;
stop();
esLogo.buttonMode = true;
esLogo.addEventListener(MouseEvent.CLICK, onClick);
function onClick(e:MouseEvent):void
{
gotoAndPlay(2,"intro");
trace("onClick");
}
Frame 2: fade the logo out until you get to the other stuff
// esLogo.removeEventListener(MouseEvent.CLICK, onClick);
// var esLogo:MovieClip = new MovieClip;
esLogo.addEventListener(Event.ENTER_FRAME, fadeOut);
function fadeOut(e:Event):void
{
if (esLogo.alpha <= 1)
{
esLogo.alpha -= .1;
}
if (esLogo.alpha <= 0)
{
esLogo.alpha == 0;
}
}