Professional Web Applications Themes

Opening Image on CD in New Browser Window - Macromedia Director Basics

Hey folks, I have been trying to use gotoNetPage to open large jpgs in a browser window, but it seems that that function requires the protocal ([url]http://)[/url] to work. Is there another way to do this that I am not seeing. The images are in a subfolder called net/ right within the main directory. I need to find a way without commercial xtras that will work on all platforms (or at worst XP & OSX). This is for a school project. Regards, Jason...

  1. #1

    Default Opening Image on CD in New Browser Window

    Hey folks,

    I have been trying to use gotoNetPage to open large jpgs in a browser window, but it seems that that function requires the protocal ([url]http://)[/url] to work.

    Is there another way to do this that I am not seeing.

    The images are in a subfolder called net/ right within the main directory.

    I need to find a way without commercial xtras that will work on all platforms (or at worst XP & OSX).

    This is for a school project.

    Regards,

    Jason


    gelcode webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Opening Image on CD in New Browser Window

    Well I see that I could use the open command, but I have no way to resolve the path of the default browser. Any thoughts?


    gelcode webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Opening Image on CD in New Browser Window

    Assuming this is for a projector...

    Use the file:/// (yes, three slashes) protocol

    sep=the last char of the moviePath
    gotoNetPage("file:///" & the moviePath & "net" & sep & "a.jpg")

    For the Mac, you may be forced to use an xtra (e.g. openURL from
    [url]www.mods.com.au[/url]) because gotoNetPage uses NN regardless of what the user's
    browser preference is.

    Andrew

    Andrew Morton Guest

Similar Threads

  1. Opening Browser Window in Director
    By DirectorNewb in forum Macromedia Director Basics
    Replies: 1
    Last Post: April 2nd, 07:30 AM
  2. Opening seperate url's in same browser window
    By swheller webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: November 20th, 03:52 PM
  3. Opening New Browser Window
    By Rich Fox in forum Macromedia Director Lingo
    Replies: 2
    Last Post: November 17th, 04:04 PM
  4. [PHP] Opening new browser window
    By R'Twick Niceorgaw in forum PHP Development
    Replies: 3
    Last Post: September 19th, 07:18 PM
  5. Opening a new browser when clicking on a image button
    By David Waz... in forum ASP.NET General
    Replies: 1
    Last Post: July 7th, 03:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139