Thread7
08-14-2009, 06:00 PM
If have the following line that executes in the first few lines of my swf.
if(partnerid) == undefined) { var partnerid = 1; }
The code executes fine and I can run the SWF on my local PC. (I am using Flash CS3, FlashPlayer 9, AS 2.0). But when I upload it on my web site, the swf always fails to load. If I right click where the movie should be I see ("Movie not loaded" AND "About Flash Player 10").
I've played with every modification I can think of to get this line of code to work. Such as:
if(typeof(_root.partnerid) == "undefined") { var partnerid = 2; }
Nothing works. Whenever I comment out that line, upload it to my site, it loads fine again.
if(partnerid) == undefined) { var partnerid = 1; }
The code executes fine and I can run the SWF on my local PC. (I am using Flash CS3, FlashPlayer 9, AS 2.0). But when I upload it on my web site, the swf always fails to load. If I right click where the movie should be I see ("Movie not loaded" AND "About Flash Player 10").
I've played with every modification I can think of to get this line of code to work. Such as:
if(typeof(_root.partnerid) == "undefined") { var partnerid = 2; }
Nothing works. Whenever I comment out that line, upload it to my site, it loads fine again.