<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>seventy6 &#187; as2</title>
	<atom:link href="http://www.seventy6.com/tag/as2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seventy6.com</link>
	<description>code, design and things</description>
	<lastBuildDate>Fri, 03 Jun 2011 14:30:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Controlling flippingbook api within loaded swf pages</title>
		<link>http://www.seventy6.com/2008/12/02/controlling-flippingbook-api-within-loaded-swf-pages/</link>
		<comments>http://www.seventy6.com/2008/12/02/controlling-flippingbook-api-within-loaded-swf-pages/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 18:03:58 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flippingbook]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.seventy6.com/?p=26</guid>
		<description><![CDATA[FlippingBook HTML Edition is a set of JavaScript and SWF files running on your HTML page. When a page is loaded, the code contained in these files automatically builds in the flash album having such options as: zooming, printing, saving, contents, navigation. All good until your client wants to add any extra features! For the [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><a title="Flipping books" href="http://page-flip.com/flippingbook-html-edition.htm">FlippingBook</a> HTML Edition is a set of JavaScript and SWF files running on your HTML page. When a page is loaded, the code contained in these files automatically builds in the flash album having such options as: zooming, printing, saving, contents, navigation.</p></blockquote>
<p>All good until your client wants to add any extra features! For the record, Flippingbook&#8217;s support and documentation is crap. One simple requirement is having buttons on the internal pages that link to other pages within the book.<span id="more-26"></span></p>
<p>When you add the simple bit of actionscript below to any swf pages published you can start talking back to the JavaScript Object and methods. No Examples included but can be if requested&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.external</span>.<span style="color: #000000; font-weight: bold;">*</span>;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> goToPage<span style="color: #000000;">&#40;</span>_num<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span>Void
<span style="color: #000000;">&#123;</span>
<span style="color: #004993;">ExternalInterface</span>.<span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;flippingBook.flipGotoPage&quot;</span>, _num<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #339966; font-weight: bold;">function</span> goToFirstPage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span>Void
<span style="color: #000000;">&#123;</span>
<span style="color: #004993;">ExternalInterface</span>.<span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;flippingBook.flipGotoFirstPage&quot;</span>, <span style="color: #990000;">&quot;&quot;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #009900;">//</span>
<span style="color: #0033ff; font-weight: bold;">this</span>.btn_goToPage.onRelease = <span style="color: #339966; font-weight: bold;">function</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
goToPage<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">4</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #0033ff; font-weight: bold;">this</span>.btn_goToFirstPage.onRelease = <span style="color: #339966; font-weight: bold;">function</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
goToFirstPage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.seventy6.com/2008/12/02/controlling-flippingbook-api-within-loaded-swf-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

