Skip to content

Instantly share code, notes, and snippets.

@jasonmelgoza
Created January 4, 2010 18:40
Show Gist options
  • Save jasonmelgoza/268726 to your computer and use it in GitHub Desktop.
Save jasonmelgoza/268726 to your computer and use it in GitHub Desktop.
Small Flash (AS3) Gallery driven with XML
<div class="swf">
<object height="620" width="600">
<param name="movie" value="path_to_gallery.swf"/>
<a><embed height="620" width="600" src="path_to_gallery.swf"/></a>
</object>
</div>
<?xml version="1.0" encoding="utf-8"?>
<channel>
<title>Gallery Name (These four lines are not displayed they're just meta data that could be used by a cms)</title>
<link>http://samplepage.html</link>
<description>Gallery of something</description>
<pub_date>2009-12-31</pub_date>
<item>
<title><h1>This is a title or headline</h1></title>
<link></link>
<subhead><h3>This is subhead or this could be used as a byline</h3></subhead>
<description>
<p>Sample body text <b><u><a href="http://blog.jmelgoza.com">with a link</a></u></b>. Have Fun!</p>
</description>
<lead_image>
</lead_image>
</item>
</channel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment