PDA

View Full Version : removemovieclip not working on MediaTemple server


dsdsdsdsd
07-25-2007, 04:43 AM
hello;

I have a very simple test.swf that on a_button.press does attachMovie(...);

and on another_button.press does removeMovieClip();

everything works fine in the authoring environment; everything works fine when I upload the swf to my common webserver;

but when I upload the swf to my FCS server at MediaTemple the removemovieclip() does not work;

any thoughts?

thanks
dsdsdsdsd

Paul Ferrie
07-25-2007, 07:41 AM
Can you post your full code please.

dsdsdsdsd
07-25-2007, 08:00 AM
//----------------------------------------------------------------
_root.rm_receive_request_to_begin_stream = function( args_URL )
{ trace("begin_stream");
_root.attachMovie( "mc_empty" , "empty_instance" , 1 ) ;
_root[ "empty_instance" ].loadMovie( args_URL ) ;
};

//----------------------------------------------------------------
_root.rm_receive_request_to_cancel_stream = function( )
{ trace("cancel_stream");
_root[ "empty_instance" ].removeMovieClip( ) ;
};

Paul Ferrie
07-25-2007, 08:12 AM
removeMovieClip(_root[ "empty_instance" ] ) ;

dsdsdsdsd
07-25-2007, 08:19 AM
Paul, that did it;

any thoughts on why one server ( common webserver ) would effect removeMovieClip different than another server?

thanks;

Shannon Burnett
Chicago

Paul Ferrie
07-25-2007, 08:21 AM
removeMovieClip(_root[ "empty_instance" ] ) ;


No idea but i do know that the code above is the proper syntax for removing movieClips. Maybe a cache issue?