Hello, I've a problem.. I need to change the avatar in OpenSpace..
1st- I already have an avatar creation section.. where the user changes eyes, clothing, hair, etc) and get a MovieClip with that avatar.. in that avatar movieclip I have the actions.. if i want the avatar to walk I do this : avatar.gotoAndPlay("walk");
Now.. in Openspace I see this line of code: os.createMyAvatar("dummy", null, initialSkin)
I'm trying to find that function (because I supose that in that function there is a caller to the avatar that comes by default in openspace ) and there I can simply change that and put my avatar movieclip
Questions:
-Is it posible to change the avatar?
-Is that the correct way to do that?
-Where is the function "createmyavatar"? because I search and search and I can't find it
PD: sorry for my bad english
Thank you
Change Avatar
help
please help me.. at least tell me if it's posible to do it?
This is not the right way to customize your avatar. You can't simply pass a movieclip to OpenSpace (otherwise it would be impossible to replicate it on the other connected clients).
Check the API documentation of the OpenSpace.createMyAvatar method. Also make sure you read the class description of the IAvatarMovieClip interface.
Check the API documentation of the OpenSpace.createMyAvatar method. Also make sure you read the class description of the IAvatarMovieClip interface.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team