email program wants a list??

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default email program wants a list??

    mail program isn't working it says that there's a list required where there is already a list.

    getRandomState
    --randomZoneNumber = random(4)
    randomZoneNumber = gSerialPort.readString()
    if randomZoneNumber = 0 then go to frame 12
    zoneList = ["PST","MST","CST","EST"]
    chosenZone = getat (zoneList,randomZoneNumber)

    that's where it is in the "zoneList" that's apparently not working because "getat (zoneList,randomZoneNumber) doesn't work. So does anyone know what I need to do to get it working again?

    if you want to see the actual .dir check out the referring url



    Referring URLs
    [url]http://gladstone.uoregon.edu/~awagenkn/email.dir[/url]




    Addie W webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Email program won't send in Windows 2003 - Queue_Manager
      Hello, I have a client that just switched to Windows 2003 server. Their website has always run fine under Windows 2000, using an email program...
    2. Change email program used to send notifications
      I need to change the email program that Contribute uses to send draft notification emails. When we send a draft for review and choose to also send...
    3. actionscript for call email program
      I have a flash frame with buttons. I want one of the buttons to start the email program to send a message. I can't seem to find a script that is...
    4. php Email Program
      Does anyone know of a php or even cold fusion based script out there for accessing email that can be customized? Right now I use SquirrelMail...
    5. How to sent an email from VBScript program under ASP/PWS?
      Hello, I am learning ASP/VBScript using PWS under Win98SE. To send an email I need CDO object. In a book I am reading (very old one) it says that...
  3. #2

    Default Re: email program wants a list??

    Many times Director error messages dont' accurately state the problem.
    Sometimes they don't even accurately show the line at fault.

    Since your random function can return zero and there is never a zero
    item in a list in Director, the problem may be when randomZoneNumber =
    0. Your getAt function will be trying to retrieve a non-existant
    element from the list.

    You could fix that by changing the line above:

    if randomZoneNumber = 0 then
    go to frame 12
    exit
    end if

    That will end the function at that point and not allow the function to
    try and retrieve item zero from the list.

    There may be some other problem, I didn't look at the original file.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon Guest

  4. #3

    Default Re: email program wants a list??

    Just a thought, randomZoneNumber seems to be a string, you need to convert
    it to an integer to use it in a getAt statement.

    hth,
    Doug
    "Addie W" <webforumsuser@macromedia.com> wrote in message
    news:bqeg6v$bhe$1@forums.macromedia.com...
    > mail program isn't working it says that there's a list required where
    there is already a list.
    >
    > getRandomState
    > --randomZoneNumber = random(4)
    > randomZoneNumber = gSerialPort.readString()
    > if randomZoneNumber = 0 then go to frame 12
    > zoneList = ["PST","MST","CST","EST"]
    > chosenZone = getat (zoneList,randomZoneNumber)
    >
    > that's where it is in the "zoneList" that's apparently not working
    because "getat (zoneList,randomZoneNumber) doesn't work. So does anyone
    know what I need to do to get it working again?
    >
    > if you want to see the actual .dir check out the referring url
    >
    >
    >
    > Referring URLs
    > [url]http://gladstone.uoregon.edu/~awagenkn/email.dir[/url]
    >
    >
    >
    >

    Doug Golenski Guest

Posting Permissions

  • You may not post new threads
  • You may 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