all groups > flash (macromedia) > june 2006 >
You're in the

flash (macromedia)

group:

Something wrong with my 'get url' code...


Something wrong with my 'get url' code... Sabretooth Sloth
6/21/2006 9:32:48 PM
flash (macromedia):
I've got a button that's in a flash movie embedded in an html document. When
pressed, I want it to open a new window displaying this URL: E:\Folder
Name\Movie Name.html
I've attached the following code to the button:
on (release) {
getURL ("javascript:spawnWindow('E:\Folder Name\Movie
Name.html','Newwin','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,r
esizable=no,width=400,height=400')");
}

Nothing happens when I press the button with the existing code, but when I
replace the URL with an http address, such as http://www.google.ca/, it works,
and the new window launches.
Re: Something wrong with my 'get url' code... zickedhelik
7/13/2006 1:57:51 PM
Maybe its a real problem if u want to get a direction such us E:\something,
this link will never work if u upload it on internet, may be u should put
instead of that direction, "Movie Name.html" and place the swf next to ur .hml
file.
Maybe its also because "movie name.html" it has an space in the name, i got
such big problems doing that, u may use this movie_name.html
AddThis Social Bookmark Button