all groups > flash (macromedia) > november 2005 >
You're in the

flash (macromedia)

group:

Published movie wont work


Re: Published movie wont work gav_jackson NO[at]SPAM yahoo.com
11/24/2005 5:25:41 AM
flash (macromedia): I had this prob as well, make sure that you have the latest version of
the flash player plug in installed on your browser
Published movie wont work Mattastic
11/24/2005 12:39:30 PM
Hi,

MY flash movie wont work when movie is embedded in webpage, yet if I open the swf itself it works fine?

Does anybody know why this happens?

Re: Published movie wont work Zaffer36
11/24/2005 1:05:41 PM
i had a similar problem before and it was just a case of my webpage not
pointing in the correct place for my swf file....

try opening up a published html of the page in dreamweaver and making sure
that its pointing to just the index.swf file and that its not pointing to the
file within a folder (ie c:/my docs/index.swf)

hope that makes sense and/or helps

:)
Re: Published movie wont work Mattastic
11/24/2005 1:14:03 PM
Thanks for your reply, the path is correct in my webpage and it works ok, the
problem is my movie uses the loadvars object to send variables to a server side
script. The problem is I cannot seem to connect to the coldfusion page when the
movie is in a webpage.

Yet if I open it directly it works fine?!?!??

The function I have on a button sends the variables to a coldfusion page

on (release) {
var sender:LoadVars = new LoadVars();
var responder:LoadVars = new LoadVars();
responder.onLoad = function(success){
if (success) {
_global.serverTime = this.timeDate;
_root.gotoAndStop("success");
} else {
_root.gotoAndStop("error");
}
};

sender.body = welcomename + " scored " + score_txt.text;
sender.fromName = welcomename;
sender.sendAndLoad("http://www.halesowen.ac.uk/sendmail.cfm", responder,
"POST");
_root.gotoAndStop("wait");
;
this._lockroot = true;
}
AddThis Social Bookmark Button