Hi!
pretty new to Flash, real new to AS, so please forgive the ignorance.
Setup: stage holds 2 MC’s one named main_mc, one named window_mc.
main_mc holds a single MC named button_mc.
All AS is in timeline.
Frame 1 of window_mc has:
var myLoader:Loader = new Loader();
addChild(myLoader);
in button_mc actions:
button_mc.addEventLister((MouseEvent.CLICK, buttonClick);
function buttonClick (event:MouseEvent):void
{
button_mc.enabled = true;
event.target.enabled = true;
MovieClip(???).myloader.load (new URLRequest(event.target.name + “.swf”));
question marks indicate problem area
every way I try to access window_mc through is failing miserably with:
1119: Access of possibly undefined property some through a reference with static type flash.display:DisplayObjectContainer
or a null object error.
HELP!!!
pulling my hair out.
thanx in advance!