XML-AS3 Photo Gallery
How should i structure my XML if 开发者_StackOverflow中文版I wish to do a photo gallery in AS3 with categories?
Should I do it this way?
<gallery>
<category>
<name>..</name>
<description>...</description>
<pic>..</pic>
<pic>..</pic>
</category>
<category>
.......
</category>
</gallery>
Or should I just put the different level of categories in different XML?
The way you have it setup above is perfectly fine. There is no need to seperate it into multiple XML's.
http://flashcommander.org/photoembed
check this i hope it will help you.......
精彩评论