Geerd
asked on
Alternative for GetURL function
Hi There,
I've a flashmovie in which I want to use a button with a relative path to open a document.
I've tried the following:
on(release)
{getURL("../Glossary/Gloss ary1.html" ,"_blank") ;}
This works fine when I publish my FLA file to HTML but it doesn't work when I publish it to SWF.
Perhaps this is because the function is getURL and the relative path isn't an standard URL like http://.
When I change the relative path to:
on(release)
{getURL("http://www.google.com","_blank");}
it works fine in HTML and SWF.
I need to work with relative paths in mij SWF file. Any Ideas? Perhaps an alternative method for get URL???
Thanx in advance!
Geerd
I've a flashmovie in which I want to use a button with a relative path to open a document.
I've tried the following:
on(release)
{getURL("../Glossary/Gloss
This works fine when I publish my FLA file to HTML but it doesn't work when I publish it to SWF.
Perhaps this is because the function is getURL and the relative path isn't an standard URL like http://.
When I change the relative path to:
on(release)
{getURL("http://www.google.com","_blank");}
it works fine in HTML and SWF.
I need to work with relative paths in mij SWF file. Any Ideas? Perhaps an alternative method for get URL???
Thanx in advance!
Geerd
Looks like you are right about needing the full path - I guess it's a security thing. You could try something with fscommand("exec" ... I guess.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.