2 Replies Latest reply on Nov 27, 2006 11:28 AM by Newsgroup_User

    Creating a new model

    Jakob_Wagner Level 1
      Hi,

      I have two 3D members. "test" and "testModels". "Test" is put on the stage.

      Now I would like to take a model from "testModels" and put it into "test". I've tried the following, but with no luck:

      function startMovie()
      {
      member("test").resetWorld();

      var myModelResource = member("testModels").getPropRef("modelResource", 1);

      cube2 = member("test").newModel("cube2", myModelResource)
      }

      Any help or ideas will be apregiated. I prefer javascript syntax but if anybody knows how to do it in lingo I would like that to.

      : ) Jakob