object expected error

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

  1. #1

    Default object expected error

    Hi

    I am having several problems that might be a bug or bad codeing but I cant tell as the error only happens immediatly after I save my working work.

    I get "object expected" from

    scene.group("flap").transform = scene.model("bone01").bonesPlayer.bone[bonenum].worldtransform

    and if I have

    if scene.model("Boney1").state(4) then

    in front I still get the same error.

    I also get "unable to open "external members.cst.ink" when I publish it.

    On top of that I cannot get clonemodelfromcastmember to work at all so I have to use
    scene.loadFile("boney1.w3d", false, false)

    Any help for my abstract problem would be much appreciated

    remainz


    remainz webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. object expected error - audioLoadingStart( )
      Trying to play a swf in a web page using flash. It plays fine, but throws an IE error. The error is: "A runtime error has occurred. Do you...
    2. Javascript Error: Object expected
      I am having a very difficult time trying to get one drop down to call a cffunction and return a value to select the second drop down. I am getting a...
    3. error in havoc-car, object expected
      Trying to build a nice little race game and the graphics are commin along very well, the problem is, im a 3dmodeller not a scripter, but with the...
    4. Error object expected
      hey folks! I'm getting the usual NOOB error object expected. I'm creating a simple box and applying a texture to it: The specific line i get the...
    5. IIS ASP Object Expected Error
      John wrote: Should be "Err.Clear". The Number propery is read-only IIRC.
  3. #2

    Default Re: object expected error

    >>if scene.model("Boney1").state(4) then

    First off, state is a member property, not a model property. You'd want:

    if scene.state = 4 then...
    >>external members.cst.ink
    Not sure why, but you have an .ink extension, which Director isn't going to
    recognize.

    Sounds like you have some issues going on...

    --


    Dave
    [url]http://www.blurredistinction.com/director[/url]


    Dave Mennenoh 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