Targeting loaded .swf

hi all-
this code is working to load and position the external swf, but it won’t gotoAndPlay to the frame inside the external swf–what am doing wrong here?
regards,
-mojo


bio.onPress=function(){
	_global.section="bio";  
	createEmptyMovieClip("content",99);
	content.loadMovie("headshot_info.swf");
       content._x=400;
	content.gotoAndPlay(3);
	}

My guess would be that you tell it to goto frame 3 before the external swf has fully loaded.
First make sure it’s fully loaded before using the gotoAndPlay action.

look at this thread:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=8833

or try adding _root before content.

might be wrong, but i thought i’d have a go at helping!

thank you both for your replies–flashmatazz, you got it–it needed to load fully–i get carried away with attaching things on the fly that i forgot about this…thanks again!
-mojo