Professional Web Applications Themes

Periods not allowed in Symbols - Macromedia Director Lingo

G'day all, I'm back, and working on my boomerang game still. I still haven't got around to incorporating everyone's comments on the boomerang path, but I will. At the moment I'm getting stumped with the following: on getPropertyDescriptionList me list = [:] addProp list, #pSpeed,[#comment: "Speed", #format: #integer, #default: 2] addProp list, #pJonnoSpriteNum,[#comment: "Johnno's Sprite Num", #format: #integer, #default: 7] addProp list, #pNumberOfFramesToWait,[#comment: "Random max frames to wait", #format: #integer, #default: 100] addProp list, #pSound, [#comment: "Sound:", #format, #sound, #default: VOID] return list end When I include the last item in the list I get "Script error: Incorrect behavior initializer. ...

  1. #1

    Default Periods not allowed in Symbols

    G'day all, I'm back, and working on my boomerang game still. I still haven't
    got around to incorporating everyone's comments on the boomerang path, but I
    will.

    At the moment I'm getting stumped with the following:

    on getPropertyDescriptionList me
    list = [:]

    addProp list, #pSpeed,[#comment: "Speed", #format: #integer, #default: 2]
    addProp list, #pJonnoSpriteNum,[#comment: "Johnno's Sprite Num", #format:
    #integer, #default: 7]
    addProp list, #pNumberOfFramesToWait,[#comment: "Random max frames to
    wait", #format: #integer, #default: 100]
    addProp list, #pSound, [#comment: "Sound:", #format, #sound, #default:
    VOID]
    return list
    end

    When I include the last item in the list I get "Script error: Incorrect
    behavior initializer. (Periods are not allowed in symbols)" when I run the
    movie (cf 'compile' script). It works fine without the last entry. Can
    anyone see what I've done wrong. I googled but the results didn't help me.
    Hopefully it's something stupid.

    David.


    David Downie Guest

  2. #2

    Default Re: Periods not allowed in Symbols

    when you add the pSound property you write
    #format,#sound

    when it should be

    #format: #sound
    : not ,

    hope this helps
    gabriel


    Gabriel Guest

Similar Threads

  1. numbers being replaced with periods in PDF
    By Jon_Bock@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 1
    Last Post: September 7th, 04:40 AM
  2. PDF security - printing allowed but changes not allowed?
    By glenn_h@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 4
    Last Post: April 8th, 10:55 PM
  3. Periods in login name
    By JVW in forum IBM DB2
    Replies: 1
    Last Post: July 28th, 06:28 PM
  4. Embedded periods in user name
    By Sean C. in forum IBM DB2
    Replies: 2
    Last Post: July 25th, 06:24 AM
  5. Time Trial Periods
    By rjkbright webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 4
    Last Post: July 16th, 10:15 PM

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