I keep getting this output error code:
TypeError: Error #1123: Filter operator not supported on type class flash.display.MovieClip.
at Phoenix_fla::LaunchDeckSystem_9/showLD2()
against my AS3 code: Exhibit A
Code:
hit_Area.addEventListener(MouseEvent.MOUSE_OVER, showLD2);
hit_Area.addEventListener(MouseEvent.MOUSE_OUT, hideLD2);
function showLD2 (e:MouseEvent):void {
LD2nd.visible = true;
MovieClip.(parent).worpan.visible=false;
}
function hideLD2 (e:MouseEvent):void {
LD2nd.visible = false;
}
Exhibit B
Code:
this.addEventListener(MouseEvent.MOUSE_MOVE, showLD2);
function showLD2 (e:MouseEvent):void {
if (mouseY >= 614){
LD2nd.visible = true;
}else
{
LD2nd.visible = false;
MovieClip.(parent).worpan.visible=true;
}
}
Pretty basic coding logic it would seem, but it would only execute partially and continuously throw out a confusing output error code as seen above to which I have, close to 3 days been trying to figure out what I did wrong by exploring other approaches like in "Exhibit B" but all to no avail. I am average in my grasp and understanding of AS3. I would be grateful if someone can help show me where I'm wrong cuz this has almost made me miserable.