<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: OpenX Loader ActionScript 3 Class for Adobe AIR</title>
	<atom:link href="http://www.studiochris.us/2010/openx-loader-actionscript-3-class-for-adobe-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.studiochris.us/2010/openx-loader-actionscript-3-class-for-adobe-air/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 13:22:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.studiochris.us/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2035</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 27 Mar 2010 01:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.studiochris.us/archive/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2035</guid>
		<description>I&#039;ve added an update with an example using the open source Flex framework. It compiles and runs perfectly with FlashDevelop using the new Flex 4.0 SDK.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added an update with an example using the open source Flex framework. It compiles and runs perfectly with FlashDevelop using the new Flex 4.0 SDK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.studiochris.us/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2028</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 25 Mar 2010 16:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.studiochris.us/archive/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2028</guid>
		<description>Hi Victor--

Sent you an email a little while ago for a few more details. You shouldn&#039;t need to do anything special at all. Basically, this just makes a mini web browser window without controls and loads in your ad page just as it would load in Firefox, Chrome, Safari, etc.

Just remember this is set up for AIR, and not regular Flex apps. If you&#039;re running a Flex app in the browser, and not an AIR app, you may be able to use a similar method, just not with AIR&#039;s HTMLLoader class. &lt;a href=&quot;http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html&quot; rel=&quot;nofollow&quot;&gt;This article&lt;/a&gt; may give you some clues. I&#039;m not sure how the JavaScript delivery would work out though.

------

For a rundown of how I&#039;m successfully using OpenX using this AS3 class, I have my application set up as a separate Website (My App), and My App has zones set up to receive the ads.

For the campaigns, each applicable campaign is linked to a specific zone belonging to My App using the specific campaign&#039;s Linked Zones tab. Individual banners may need to have their Zone settings tweaked as well.

For my ad page, I use the website invocation code (Inventory &gt; Websites &gt; My App &gt; Invocation Code tab). From there, just use the tags OpenX provides to create your ad page.

It should give you a single JavaScript to add to the head of your ad page:

&lt;pre class=&quot;brush: js&quot;&gt;&lt;script type=&#039;text/javascript&#039; src=&#039;http://url.to/openx/www/delivery/spcjs.php?id=__website_id__&#039;&gt;&lt;/script&gt;&lt;/pre&gt;

...and each zone for that website will have a line of JavaScript that tells OpenX which ad to load:

&lt;pre class=&quot;brush: js&quot;&gt;&lt;script type=&#039;text/javascript&#039;&gt;&lt;!--// &lt;![CDATA[
    /* [id1] My App - Space 1 */
    OA_show(3);
// ]]&gt; --&gt;&lt;/script&gt;&lt;/pre&gt;


The final results can be seen in my &lt;a href=&quot;http://www.brushmanager.com&quot; rel=&quot;nofollow&quot;&gt;Brush Manager&lt;/a&gt; application.</description>
		<content:encoded><![CDATA[<p>Hi Victor&#8211;</p>
<p>Sent you an email a little while ago for a few more details. You shouldn&#8217;t need to do anything special at all. Basically, this just makes a mini web browser window without controls and loads in your ad page just as it would load in Firefox, Chrome, Safari, etc.</p>
<p>Just remember this is set up for AIR, and not regular Flex apps. If you&#8217;re running a Flex app in the browser, and not an AIR app, you may be able to use a similar method, just not with AIR&#8217;s HTMLLoader class. <a href="http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html" rel="nofollow">This article</a> may give you some clues. I&#8217;m not sure how the JavaScript delivery would work out though.</p>
<p>&#8212;&#8212;</p>
<p>For a rundown of how I&#8217;m successfully using OpenX using this AS3 class, I have my application set up as a separate Website (My App), and My App has zones set up to receive the ads.</p>
<p>For the campaigns, each applicable campaign is linked to a specific zone belonging to My App using the specific campaign&#8217;s Linked Zones tab. Individual banners may need to have their Zone settings tweaked as well.</p>
<p>For my ad page, I use the website invocation code (Inventory > Websites > My App > Invocation Code tab). From there, just use the tags OpenX provides to create your ad page.</p>
<p>It should give you a single JavaScript to add to the head of your ad page:</p>
<pre class="brush: js"><script type='text/javascript' src='http://url.to/openx/www/delivery/spcjs.php?id=__website_id__'></script></pre>
<p>&#8230;and each zone for that website will have a line of JavaScript that tells OpenX which ad to load:</p>
<pre class="brush: js"><script type='text/javascript'><!--// <![CDATA[
    /* [id1] My App - Space 1 */
    OA_show(3);
// ]]> --></script></pre>
<p>The final results can be seen in my <a href="http://www.brushmanager.com" rel="nofollow">Brush Manager</a> application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://www.studiochris.us/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2027</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Thu, 25 Mar 2010 14:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.studiochris.us/archive/2010/openx-loader-actionscript-3-class-for-adobe-air/#comment-2027</guid>
		<description>Hi,

Is there any way to include a working example of this? I installed OpenX, created a campaign and got the banners to show via an html page, but I can get this to work in flex.

I created a new flex project, put the class into the src folder and then copied and pasted the code examples you gave me, changing the URLS to correspond to my ads, but it still doesn&#039;t work. Am I missing something that I need to do in Openx? I was getting errors at first, but then I got rid of them. The application would load, but not would come up. Even after packaging into an air app.

Thanks for the code...now if I can only get it to work :/(</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there any way to include a working example of this? I installed OpenX, created a campaign and got the banners to show via an html page, but I can get this to work in flex.</p>
<p>I created a new flex project, put the class into the src folder and then copied and pasted the code examples you gave me, changing the URLS to correspond to my ads, but it still doesn&#8217;t work. Am I missing something that I need to do in Openx? I was getting errors at first, but then I got rid of them. The application would load, but not would come up. Even after packaging into an air app.</p>
<p>Thanks for the code&#8230;now if I can only get it to work :/(</p>
]]></content:encoded>
	</item>
</channel>
</rss>


<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Database Caching 5/10 queries in 0.004 seconds using disk: basic
Object Caching 448/452 objects using disk: basic

Served from: www.studiochris.us @ 2012-02-07 16:49:24 -->
