How can we open new link or SWF file through button Code in flash CS3 ?

i want to open new swf file in my current flash project.
navedj786Asked:
Who is Participating?
 
scooby_56Connect With a Mentor Commented:
var req:URLRequest = new URLRequest('http://www.foobar.com/mySWF.swf); //the url of your swf
 
var loader:Loader = new Loader();
loader.load(req);
 
addChild(loader);
0
 
navedj786Author Commented:
Thank you dear
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.