Change Avatar
Posted: 02 Sep 2009, 16:26
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
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