tag:blogger.com,1999:blog-6305490445578572123.post4061199059551844892..comments2023-06-01T03:43:29.620-07:00Comments on Animate, ActionScript, JavaScript, CreateJS, HTML5, and SmartFoxServer Tutorials: SmartFoxServer Tutorial: setUserVariables()Unknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-6305490445578572123.post-55733005677332160502012-01-03T17:44:54.543-08:002012-01-03T17:44:54.543-08:00@Anonymous: You would have to use a database to do...@Anonymous: You would have to use a database to do that, but yes, it is possible.Cool Boy 714https://www.blogger.com/profile/10915911952726952226noreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-72791491534969952242012-01-02T09:38:56.220-08:002012-01-02T09:38:56.220-08:00Would it be possible to make the variables stick w...Would it be possible to make the variables stick with the player after it logs out?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-38841060766002743662011-01-08T17:57:57.754-08:002011-01-08T17:57:57.754-08:00Anonymous: I have just now posted a tutorial on th...Anonymous: I have just now posted a tutorial on this which is located on the home page of the site. :PCool Boy 714https://www.blogger.com/profile/10915911952726952226noreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-48357514267999331992010-12-29T13:34:58.476-08:002010-12-29T13:34:58.476-08:00Great tutorial, how do you do rotation or items?Great tutorial, how do you do rotation or items?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-54121895347215826662010-12-29T12:06:23.522-08:002010-12-29T12:06:23.522-08:00Cool Boy 714 & Bobhead202: For this code to wo...Cool Boy 714 & Bobhead202: For this code to work in the example file you need to change myAvatar to avatar.<br /><br />e.g<br /><br />if (_global.myName == "Username here") {<br />var newCol = frameNumberHere;<br />_root.smartfox.setUserVariables({col:newCol, init:true});<br />_root.avatar.disc.gotoAndStop(newCol);<br />}Prang123noreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-17257640101800729182010-12-25T21:11:11.525-08:002010-12-25T21:11:11.525-08:00Bobhead202: For that, you could use this coding:
...Bobhead202: For that, you could use this coding:<br /><br />if (_global.myName == "Username here") {<br />var newCol = frameNumberHere;<br />_root.smartfox.setUserVariables({col:newCol, init:true});<br />_root.myAvatar.disc.gotoAndStop(newCol);<br />}<br /><br />You can copy and paste that coding as many times as you want in the "chat" frame of the avatarChat file with changing the username as many times as you want.Cool Boy 714https://www.blogger.com/profile/10915911952726952226noreply@blogger.comtag:blogger.com,1999:blog-6305490445578572123.post-37712687389352507972010-12-25T20:53:44.284-08:002010-12-25T20:53:44.284-08:00How would I make it so when a moderator logs on (n...How would I make it so when a moderator logs on (names are Oopsyocto155, Slidoo, and Bobhead202) that they're avatar changes into a different avatar, but all of them have different outfits? xDtheman009https://www.blogger.com/profile/03501829588369125501noreply@blogger.com