开发者

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.......

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜