PDA

View Full Version : Load SWF with variable into MC


lunarvision
10-10-2007, 11:51 PM
I have this movie that will play 2 .swf files.
1 is a you tube video that I have working.

this.createEmptyMovieClip("video_mc", 10000);
video_mc.loadMovie("http://www.youtube.com/v/cnUdm1aAEAA");

// The video being: http://www.youtube.com/v/cnUdm1aAEAA


My issue is that the company I am working for wants to embed this flash poll
http://www.xatech.com/web_gear/poll/poll.swf?id=630551
the ID being their poll ID. I have entered in this code:

this.createEmptyMovieClip("video2_mc", 10001);
video2_mc.loadMovie("http://www.xatech.com/web_gear/poll/poll.swf?id=630551");

However the only results that I get from this text that says "Loading data" and nothing ever happens. The You Tube video loads just fine using the same method.

Any suggestions?

Thanks in advance.