Any clue on why i get this?:
Description:
1061: Call to a possibly undefined method centerViewOnTile through a reference with static type com.smartfoxserver.openspace:OpenSpace.
Source:
os.centerViewOnTile(pos)
Sorry for noobie question, but I can't figure it out...
Error when trying centerViewOnTile
did you import the open space libraries? In flex you use the .swc exported from flash. In flash you need the open space component in your library. More info about both is found on this forum.
also, pos is an object with two positions? ex: {12,24}
Don't forget about:
http://www.openspace-engine.com/_docs/a ... index.html
also, pos is an object with two positions? ex: {12,24}
Don't forget about:
http://www.openspace-engine.com/_docs/a ... index.html