开发者

XML-AS3 Photo Gallery

开发者 https://www.devze.com 2023-02-20 09:53 出处:网络
How should i structure my XML if 开发者_StackOverflow中文版I wish to do a photo gallery in AS3 with categories?

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

精彩评论

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