rendered paste bodyfunction init( target_mc:MovieClip )
{
this.target_mc = target_mc;
this.navigationLoader = new SWFLoader();
this.navigationLoader.addEventListener( 'onLoadInit', Delegate.create( this, onNavigationLoadInit ) );
this.navigationLoader.addEventListener( 'onLoadStart', Delegate.create( this, onNavigationLoadStart ) );
target_mc.navigation_mc = this.navigationLoader.loadClip( target_mc.navigation_mc, "navigation_mc", "navigation.swf" );
}
function onNavigationLoadStart( eventObj:Object )
{
trace("loading of navigation started")
this.navigation_mc._visible = false;
}
function onNavigationLoadInit( eventObj:Object )
{
trace("loading of navigation done")
this.navigation_mc._visible = true;
}