Recently I was working on a flash project that was using Actionscript 2 and it was such a pain trying to use loadClip() and pass in the necessary variables through query string for loading the external swf into a movieclip. I figure I’ll post this here and hopefully someone who is trying to do so can spend less time goggling for the answer
1 2 3 4 5 6 7 8 | // here I set the values of the query string // for external swf that I want to pass in // ie. h , w , and img contentHolder_mc.h = h; contentHolder_mc.w = w; contentHolder_mc.img = img; contentHolder_mc.loadMovie("nameOfYourSwf","GET"); |






