if we need variations of the same symbol (map object), for example a chair -- make a version of this chair that is sittable and another that is not, we can do it in two different ways: 1 -- we can create two librariy items (symbols) that look the SAME (point to the same SWF file), but have one single (or more) different attributes
2 -- overwrite the default library attributes in the XML of the map the library ones being the default values. In this case we may also edit those attributes in the Map Editor
At least we should show those attributes from the library as read--only in the Map Editor
| com. | if we need variations of the same symbol (map object), for example a chair -- make a version of this chair that is sittable and another that is not, we can do it in two different ways: 1 -- we can create two librariy items (symbols) that look the SAME (point to the same SWF file), but have one single (or more) different attributes |
| Variables | |
| ID | |
| url | |
| animation | |
| stackable | |
| elevation | |
| walkable | |
| framesNumber | |
| objectShape | |
| registrationTile | |
| selectable | |
| speed | |
| actions | |
| layers |
var ID: Number
var url: String
var animation: Boolean
var stackable: Boolean
var elevation: Number
var walkable: Boolean
var framesNumber: Number
var objectShape: String
var registrationTile: String
var selectable: Boolean
var speed: Number
var actions: Object
var layers: XMLNode