Professional Web Applications Themes

Delete button to delete 3D model - Macromedia Director 3D

Hi all I'm new to director and I'm doing a 3D room planner project. For this application user can design their room virtually with 3D models of the furnitures. User will select the furniture and place in in the room(the 3d space). I need to create a delete button so that user can delete furniture (w3d models) from the room. I found these codes, but im not sure how to apply them. member(whichCastmember).deleteModel(whichModel) member(whichCastmember).deleteModel(index) Your help is greatly appreciated, Thanks! :D...

  1. #1

    Default Delete button to delete 3D model

    Hi all
    I'm new to director and I'm doing a 3D room planner project. For this
    application user can design their room virtually with 3D models of the
    furnitures. User will select the furniture and place in in the room(the 3d
    space). I need to create a delete button so that user can delete furniture (w3d
    models) from the room.

    I found these codes, but im not sure how to apply them.
    member(whichCastmember).deleteModel(whichModel)
    member(whichCastmember).deleteModel(index)


    Your help is greatly appreciated, Thanks! :D

    mindylim Guest

  2. #2

    Default Re: Delete button to delete 3D model

    global gModelName -- gModelName is a global variable that could hold the name
    of the previously selected model in the 3D room (use modelsUnderRay() for this)
    on mouseUp me member('3dscene').deleteModel(gModelName) end

    Newt99 Guest

Similar Threads

  1. Delete form - Post data to a table and delete uponsubmit.
    By FusionRed in forum Coldfusion - Getting Started
    Replies: 3
    Last Post: July 28th, 01:27 PM
  2. delete button problems in datagrid
    By John in forum ASP.NET Data Grid Control
    Replies: 12
    Last Post: June 8th, 02:16 PM
  3. pick n delete 3D model
    By mindylim in forum Macromedia Director 3D
    Replies: 5
    Last Post: February 27th, 03:05 AM
  4. Delete key doesn't delete when datagrid is bound to a disconnected table
    By Fred Zolar in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: April 1st, 07:47 AM
  5. How do I delete a combo box and a radio button?
    By David O. in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: February 9th, 08:43 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