A couple of post in this forum discuss how to create an avatar but they all refer to flash.
I'm using fb3 and I'm unclear on how to change the appearance of an avatar.
The documentation mentions that you need to add AvatarLibrary.swf, but the components panel that is mentioned in the same paragraph seems to refer to flash, not fb3.
If one extends the Avatar class in order to create a custom avatar, where does the actual graphics come from to represent it, i.e. where are the graphics stored/loaded for the crashtest dummy in the default avatar?
creating avatar from scratch in flex
-
pengerknitter
- Posts: 20
- Joined: 01 Apr 2010, 05:38
In our example, you will find a Flash FLA file containing the DemoAvatar and DemoGhost movieclips, linking the two classes that extend Avatar. The FLA also contains the avatar graphics and it is exported as a SWC file which is added to the Flex build path. In this way you are able to use FLash assets in Flex.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
pengerknitter
- Posts: 20
- Joined: 01 Apr 2010, 05:38
How do I go about changing the avatar graphics in the swc?bax wrote:In our example, you will find a Flash FLA file containing the DemoAvatar and DemoGhost movieclips, linking the two classes that extend Avatar. The FLA also contains the avatar graphics and it is exported as a SWC file which is added to the Flex build path. In this way you are able to use FLash assets in Flex.
-
pengerknitter
- Posts: 20
- Joined: 01 Apr 2010, 05:38
-
pengerknitter
- Posts: 20
- Joined: 01 Apr 2010, 05:38
-
pengerknitter
- Posts: 20
- Joined: 01 Apr 2010, 05:38