-
how to upload flash file properly
simple question as far as uploading a flash site online. What do I do to set the path so the file can find the loadMovies online. Do I do it with the flas or can it be done from the ftp? the file is online at www.mkzero.com and the loadMovies do not show. thanks for your time
-
Senior Member
The paths has to be set IN the fla. Note that realtive paths are relative to the html document and not the Flash file. Thats the most common reason things work locally but not online.
So either have the html in the same folder as the rest of the files or use absoulute paths (urls) when referencing a external file..
-
how do I referance the external urls
hmmm all my swf.s and html are in the same folder. but where do I write the script to referance absolute path to the url.here is my load movie script.
on (press) {
this.gotoAndStop(3);
_root.loadInfo.loadMovie(this._name+".swf");
}
I tried to write a url referance script yesterday but it did not work.
-
Senior Member
An absolute url starts with http://www.
on (press) {
this.gotoAndStop(3);
_root.loadInfo.loadMovie("http://www.myServerName.com/"+this._name+".swf");
}
I dont think its a good idea to name variables with a underscore in the beginning.
Your code indicates its placed in a movieclip, which means that you have specified the variable _name in there too. Is that true?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|