Periods not allowed in Symbols

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

  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. Similar Questions and Discussions

    1. numbers being replaced with periods in PDF
      I'm working on tagging PDFs to be 508. All of the pdfs have already been made and the tagging is being done in Acrobat Pro 8. The problem is seen...
    2. PDF security - printing allowed but changes not allowed?
      Adobe Acrobat 6 Professional - on a PC. how can i restrict changes to a pdf while allowing printing? i don't want to have to give passwords or...
    3. Periods in login name
      I need confirmation on whether or not DB2 will work in an environment where the Active Directory user's login name is seperated with a period. So...
    4. Embedded periods in user name
      Helpful folks, At what release level does DB2 allow embedded periods in user names? E.g., john.smith? We are at v7.2 fp5 on Windows and it does...
    5. Time Trial Periods
      Hello All: I am a new member and have a trial on Dreamweaver MX whihc grants me 30 days. I have just found out that it does not give you a 24 or 10...
  3. #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

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