I did the following steps for the same.
1. Created a skin with a Movie Clip on it
2. Created a tile and set OLD_LinkedObjId to the above created skin, which was availble on Skin library
3. Place the tile on map.
4. Create another tile with the above skin ( created in step 1) and place on map
5. Export the map xml and used in Flash (Adobe CS4 & AS3)
6. When I tried
Code: Select all
var mapObject1:Sprite = evt.params.linkedMapObject as SpriteI have compare the map xml of Ranch example and my XML and found that my map dXML doesn't have objectId property set ( like objectId="ranchWing2"). I think if this property is set correctly in my map xml, i would get the correct linked object from AS. Please advise?