|
From: Anthony Ferralli on 27 Feb 2006 10:19 Why can I not call a html page on a local drive using the GoToNetPage. If I place the html page on my website it works fine, but not on a local drive. I want to be able to download the program and run it under a browser from a local drive. What am I missing? Thank you
From: Steve Howard *TMM* on 27 Feb 2006 11:21 > Why can I not call a html page on a local drive using the GoToNetPage. If > I place the html page on my website it works fine, but not on a local > drive. I want to be able to download the program and run it under a > browser from a local drive. What am I missing? Thank you > My first thought is it should work. What code have you tried? Steve -- EuroTAAC - Europe's only Authorware conference. http://www.eurotaac.com Lindau, Germany Pre Conference Training : 27 March 2006 - 29 March 2006 Main Conference : 30 March 2006- 1 April 2006 Post Conference Training : 3 April 2006 - 5 April 2006 Team Macromedia Volunteer - Authorware My blog - http://stevehoward.blogspot.com/ Authorware tips - http://www.tomorrows-key.com
From: Steve Howard *TMM* on 27 Feb 2006 13:08 >I use GoToNetPage("close.htm") if I replace close.htm with >http://www.ferralli.com/close.htm and place close.htm on my website it >works fine. I have also tried GoToNetPage(filelocation^"Close.htm) same >problem. OK first thing - always give AW the full path when you can - so always use NetLocation or FileLocation. Whilst it is supposed to find local files with no path, I learnt a long tome ago not to trust that. So far as I recall, GoToNetPage will not work unless your application is web packaged, so if you are running an exe, change your code to JumpOutReturn("", FileLocation^"close.htm") OR JumpOut("", FileLocation^"close.htm") HTH Steve -- EuroTAAC - Europe's only Authorware conference. http://www.eurotaac.com Lindau, Germany Pre Conference Training : 27 March 2006 - 29 March 2006 Main Conference : 30 March 2006- 1 April 2006 Post Conference Training : 3 April 2006 - 5 April 2006 Team Macromedia Volunteer - Authorware My blog - http://stevehoward.blogspot.com/ Authorware tips - http://www.tomorrows-key.com
From: Anthony Ferralli on 27 Feb 2006 12:58 I use GoToNetPage("close.htm") if I replace close.htm with http://www.ferralli.com/close.htm and place close.htm on my website it works fine. I have also tried GoToNetPage(filelocation^"Close.htm) same problem. Thanks "Steve Howard *TMM*" <steve@$NoSpam$tomorrows-key.com> wrote in message news:dtv8to$5mg$1(a)forums.macromedia.com... >> Why can I not call a html page on a local drive using the GoToNetPage. >> If I place the html page on my website it works fine, but not on a local >> drive. I want to be able to download the program and run it under a >> browser from a local drive. What am I missing? Thank you >> > > My first thought is it should work. What code have you tried? > > Steve > > > -- > EuroTAAC - Europe's only Authorware conference. > http://www.eurotaac.com > Lindau, Germany > Pre Conference Training : 27 March 2006 - 29 March 2006 > Main Conference : 30 March 2006- 1 April 2006 > Post Conference Training : 3 April 2006 - 5 April 2006 > > Team Macromedia Volunteer - Authorware > My blog - http://stevehoward.blogspot.com/ > Authorware tips - http://www.tomorrows-key.com
From: Mark Henry on 27 Feb 2006 13:19
Anthony Ferralli wrote: > I use GoToNetPage("close.htm") if I replace close.htm with > http://www.ferralli.com/close.htm and place close.htm on my website it works > fine. I have also tried GoToNetPage(filelocation^"Close.htm) same problem. > Just a thought, but this could be a security issue. If you're running this packaged from the web and call a local HTML page that tries to close the browser window your browser may be blocking the execution of that script because it comes from a page on another domain (your hard drive)... mark h |