<?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: Call Fancybox from Flash</title>
	<atom:link href="http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/</link>
	<description>our daily brew of rich media</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:24:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Brando</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-109922</link>
		<dc:creator>Brando</dc:creator>
		<pubDate>Sun, 08 Aug 2010 00:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-109922</guid>
		<description>I am confused about where to plug in that added bit of code that was posted on 8/18/09. It says to add it to an included .js file.... but which one? where do I put this code?</description>
		<content:encoded><![CDATA[<p>I am confused about where to plug in that added bit of code that was posted on 8/18/09. It says to add it to an included .js file&#8230;. but which one? where do I put this code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandra</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-108830</link>
		<dc:creator>Alexandra</dc:creator>
		<pubDate>Sat, 05 Jun 2010 16:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-108830</guid>
		<description>Thanks soo much! Works beautifully!
If like me you are using XML to load external images and links, just call the javascript from the XML rather than the flash. ie

link=&quot;javascript:callFancy(&#039;/linktopage.html&#039;)&quot;</description>
		<content:encoded><![CDATA[<p>Thanks soo much! Works beautifully!<br />
If like me you are using XML to load external images and links, just call the javascript from the XML rather than the flash. ie</p>
<p>link=&#8221;javascript:callFancy(&#8216;/linktopage.html&#8217;)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petra</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-108481</link>
		<dc:creator>Petra</dc:creator>
		<pubDate>Mon, 10 May 2010 22:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-108481</guid>
		<description>hi~

This has been such a great help.  I have one question, is there anyway to have 2 separate flash buttons that open different sized iframe windows.  can the dimensions be set from flash?

Best,
Petra</description>
		<content:encoded><![CDATA[<p>hi~</p>
<p>This has been such a great help.  I have one question, is there anyway to have 2 separate flash buttons that open different sized iframe windows.  can the dimensions be set from flash?</p>
<p>Best,<br />
Petra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lance</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-108205</link>
		<dc:creator>Lance</dc:creator>
		<pubDate>Wed, 28 Apr 2010 19:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-108205</guid>
		<description>I&#039;m having issues getting this to work in IE -- I found a solution for AS3 -- but just can&#039;t get this son of a bitch to work in IE... 

to see my code -- check this post:
http://www.gotoandlearnforum.com/viewtopic.php?f=29&amp;t=27453

Has anyone messed with this in IE?

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m having issues getting this to work in IE &#8212; I found a solution for AS3 &#8212; but just can&#8217;t get this son of a bitch to work in IE&#8230; </p>
<p>to see my code &#8212; check this post:<br />
<a href="http://www.gotoandlearnforum.com/viewtopic.php?f=29&amp;t=27453" rel="nofollow">http://www.gotoandlearnforum.com/viewtopic.php?f=29&amp;t=27453</a></p>
<p>Has anyone messed with this in IE?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107780</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Fri, 02 Apr 2010 01:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107780</guid>
		<description>Another issue...

Anyone figure out how to pass variables through the getURL function? it seems that it won&#039;t work unless it has the quotes around each string. If it has quotes it takes it literally. Variables are passed not as their value but the text.

Works:
button.onRelease = function() {
getURL(“javascript:callFancy(‘http://www.google.com’,&#039;title’);”);
}

Doesn&#039;t:
var URL:String = &quot;http://www.google.com&quot;
button.onRelease = function() {
getURL(“javascript:callFancy(‘URL’,&#039;title’);”);
}

Doesn&#039;t:
var URL:String = &quot;http://www.google.com&quot;
button.onRelease = function() {
getURL(“javascript:callFancy(URL,&#039;title’);”);
}

Help?

Thank you!</description>
		<content:encoded><![CDATA[<p>Another issue&#8230;</p>
<p>Anyone figure out how to pass variables through the getURL function? it seems that it won&#8217;t work unless it has the quotes around each string. If it has quotes it takes it literally. Variables are passed not as their value but the text.</p>
<p>Works:<br />
button.onRelease = function() {<br />
getURL(“javascript:callFancy(‘http://www.google.com’,&#8217;title’);”);<br />
}</p>
<p>Doesn&#8217;t:<br />
var URL:String = &#8220;http://www.google.com&#8221;<br />
button.onRelease = function() {<br />
getURL(“javascript:callFancy(‘URL’,&#8217;title’);”);<br />
}</p>
<p>Doesn&#8217;t:<br />
var URL:String = &#8220;http://www.google.com&#8221;<br />
button.onRelease = function() {<br />
getURL(“javascript:callFancy(URL,&#8217;title’);”);<br />
}</p>
<p>Help?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107778</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 01 Apr 2010 21:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107778</guid>
		<description>Answered my own question:

All above code is correct except for the function

function callFancy(my_href, my_title) {
var j1 = document.getElementById(&quot;hiddenclicker&quot;);
j1.href = my_href;
var j2 = document.getElementById(&quot;hiddenclicker&quot;);
j2.title = my_title;
$(&#039;#hiddenclicker&#039;).trigger(&#039;click&#039;);
}

I removed the line:
$(‘#hiddenclicker’).fancybox({‘titlePosition’:&#039;inside’});

And it worked great!

Thank you for pioneering this great script and thank you to all who continue to tweak it. ;)</description>
		<content:encoded><![CDATA[<p>Answered my own question:</p>
<p>All above code is correct except for the function</p>
<p>function callFancy(my_href, my_title) {<br />
var j1 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j1.href = my_href;<br />
var j2 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j2.title = my_title;<br />
$(&#8216;#hiddenclicker&#8217;).trigger(&#8216;click&#8217;);<br />
}</p>
<p>I removed the line:<br />
$(‘#hiddenclicker’).fancybox({‘titlePosition’:&#8217;inside’});</p>
<p>And it worked great!</p>
<p>Thank you for pioneering this great script and thank you to all who continue to tweak it. <img src='http://outburst.jloop.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107777</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 01 Apr 2010 21:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107777</guid>
		<description>Still not able to get the title to display. It seems as though  &quot;Cloud&quot; has done a bit of research here but something is missing on my end if they have a working example.

My index.html code:


&lt;a href=&quot;#&quot; title=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Hidden Clicker&lt;/a&gt;




$(document).ready(function() {
$(&quot;a.overlay-flash&quot;).fancybox({
&#039;width&#039; : &#039;75%&#039;,
&#039;height&#039; : &#039;75%&#039;,
&#039;autoScale&#039; : false,
&#039;transitionIn&#039; : &#039;none&#039;,
&#039;transitionOut&#039; : &#039;none&#039;,
&#039;titleShow&#039;:true,
&#039;titlePosition&#039;:&#039;inside&#039;,
&#039;type&#039; : &#039;iframe&#039;,
&#039;padding&#039; : 0,
&#039;zoomOpacity&#039; : true,
&#039;zoomSpeedIn&#039; : 500,
&#039;zoomSpeedOut&#039; : 500,
&#039;overlayOpacity&#039; : 0.9,
&#039;hideOnContentClick&#039; : false
});
});

function callFancy(my_href, my_title) {
var j1 = document.getElementById(&quot;hiddenclicker&quot;);
j1.href = my_href;
var j2 = document.getElementById(&quot;hiddenclicker&quot;);
j2.title = my_title;
$(&#039;#hiddenclicker&#039;).fancybox({&#039;titlePosition&#039;:&#039;inside&#039;});
$(&#039;#hiddenclicker&#039;).trigger(&#039;click&#039;);
}
   


My actionscript call:
button.onRelease = function() {
	getURL(&quot;javascript:callFancy(&#039;http://www.google.com&#039;,&#039;does this work&#039;);&quot;);
}

Anybody see what I&#039;m missing??

Everything else works great, just trying to ad dynamic title display

THANKS!!</description>
		<content:encoded><![CDATA[<p>Still not able to get the title to display. It seems as though  &#8220;Cloud&#8221; has done a bit of research here but something is missing on my end if they have a working example.</p>
<p>My index.html code:</p>
<p><a href="#" title="#" rel="nofollow">Hidden Clicker</a></p>
<p>$(document).ready(function() {<br />
$(&#8220;a.overlay-flash&#8221;).fancybox({<br />
&#8216;width&#8217; : &#8217;75%&#8217;,<br />
&#8216;height&#8217; : &#8217;75%&#8217;,<br />
&#8216;autoScale&#8217; : false,<br />
&#8216;transitionIn&#8217; : &#8216;none&#8217;,<br />
&#8216;transitionOut&#8217; : &#8216;none&#8217;,<br />
&#8216;titleShow&#8217;:true,<br />
&#8216;titlePosition&#8217;:'inside&#8217;,<br />
&#8216;type&#8217; : &#8216;iframe&#8217;,<br />
&#8216;padding&#8217; : 0,<br />
&#8216;zoomOpacity&#8217; : true,<br />
&#8216;zoomSpeedIn&#8217; : 500,<br />
&#8216;zoomSpeedOut&#8217; : 500,<br />
&#8216;overlayOpacity&#8217; : 0.9,<br />
&#8216;hideOnContentClick&#8217; : false<br />
});<br />
});</p>
<p>function callFancy(my_href, my_title) {<br />
var j1 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j1.href = my_href;<br />
var j2 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j2.title = my_title;<br />
$(&#8216;#hiddenclicker&#8217;).fancybox({&#8216;titlePosition&#8217;:'inside&#8217;});<br />
$(&#8216;#hiddenclicker&#8217;).trigger(&#8216;click&#8217;);<br />
}</p>
<p>My actionscript call:<br />
button.onRelease = function() {<br />
	getURL(&#8220;javascript:callFancy(&#8216;http://www.google.com&#8217;,'does this work&#8217;);&#8221;);<br />
}</p>
<p>Anybody see what I&#8217;m missing??</p>
<p>Everything else works great, just trying to ad dynamic title display</p>
<p>THANKS!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107751</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 30 Mar 2010 12:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107751</guid>
		<description>This may bit obvious but why isn&#039;t the J1 variable used invoke the trigger after it is initialized?
&lt;code&gt;
function callFancy()
{
//document.write(“Hello!!”);
var j1 = document.getElementById(“hiddenclicker”);
j1.href = “QuestionnaireMain.swf”; // embedded swf to be displayed in fancybox
$(‘#hiddenclicker’).trigger(‘click’);
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This may bit obvious but why isn&#8217;t the J1 variable used invoke the trigger after it is initialized?</p>
<div class="codesnip-container" >function callFancy()<br />
{<br />
//document.write(“Hello!!”);<br />
var j1 = document.getElementById(“hiddenclicker”);<br />
j1.href = “QuestionnaireMain.swf”; // embedded swf to be displayed in fancybox<br />
$(‘#hiddenclicker’).trigger(‘click’);<br />
}</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cloud</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107739</link>
		<dc:creator>Cloud</dc:creator>
		<pubDate>Mon, 29 Mar 2010 12:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107739</guid>
		<description>Add title=&quot;#&quot; after href=&quot;#&quot;  in the hiddenclicker div</description>
		<content:encoded><![CDATA[<p>Add title=&#8221;#&#8221; after href=&#8221;#&#8221;  in the hiddenclicker div</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cloud</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107738</link>
		<dc:creator>Cloud</dc:creator>
		<pubDate>Mon, 29 Mar 2010 12:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107738</guid>
		<description>Ok, i found the solution:

&lt;code&gt;

function callFancy(my_href, my_title) {
var j1 = document.getElementById(&quot;hiddenclicker&quot;);
j1.href = my_href;
var j2 = document.getElementById(&quot;hiddenclicker&quot;);
j2.title = my_title;
$(&#039;#hiddenclicker&#039;).fancybox({&#039;titlePosition&#039;: &#039;inside&#039;});
$(&#039;#hiddenclicker&#039;).trigger(&#039;click&#039;);
}

&lt;/code&gt;

And then

&lt;code&gt;

&lt;a href=&quot;#&quot; title=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Hidden Clicker&lt;/a&gt;

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Ok, i found the solution:</p>
<div class="codesnip-container" >function callFancy(my_href, my_title) {<br />
var j1 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j1.href = my_href;<br />
var j2 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j2.title = my_title;<br />
$(&#8216;#hiddenclicker&#8217;).fancybox({&#8216;titlePosition&#8217;: &#8216;inside&#8217;});<br />
$(&#8216;#hiddenclicker&#8217;).trigger(&#8216;click&#8217;);<br />
}</div>
<p>And then</p>
<div class="codesnip-container" ><a href="#" title="#" rel="nofollow">Hidden Clicker</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cloud</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107732</link>
		<dc:creator>Cloud</dc:creator>
		<pubDate>Sun, 28 Mar 2010 22:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107732</guid>
		<description>How to use the different ID of example to add some subtitle etc?

I tried:

getURL(&quot;javascript:callFancy({&#039;LINK&#039;, &#039;example5&#039;, &#039;BLABLA&#039;});&quot;);

or

getURL(&quot;javascript:callFancy({href: &#039;LINK&#039;, id: &#039;example5&#039;, title &#039;BLABLA&#039;});&quot;);

or

getURL(&quot;javascript:callFancy(href: &#039;LINK&#039;, id: &#039;example5&#039;, title &#039;BLABLA&#039;);&quot;);

But nothing&#039; seems to work. Someone has find how to do it?</description>
		<content:encoded><![CDATA[<p>How to use the different ID of example to add some subtitle etc?</p>
<p>I tried:</p>
<p>getURL(&#8220;javascript:callFancy({&#8216;LINK&#8217;, &#8216;example5&#8242;, &#8216;BLABLA&#8217;});&#8221;);</p>
<p>or</p>
<p>getURL(&#8220;javascript:callFancy({href: &#8216;LINK&#8217;, id: &#8216;example5&#8242;, title &#8216;BLABLA&#8217;});&#8221;);</p>
<p>or</p>
<p>getURL(&#8220;javascript:callFancy(href: &#8216;LINK&#8217;, id: &#8216;example5&#8242;, title &#8216;BLABLA&#8217;);&#8221;);</p>
<p>But nothing&#8217; seems to work. Someone has find how to do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mehpac</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107698</link>
		<dc:creator>mehpac</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107698</guid>
		<description>About the last post.. I found the following solutions

Title:
var j1 = document.getElementById(&quot;hiddenclicker&quot;);
j1.href = &quot;./example/1_b.jpg&quot;;
jl.title = &quot;hello&quot;;//does NOT work, instead try:
document.getElementById(&quot;hiddenclicker&quot;).title = &quot;hello&quot; // this works great


Options:
Place your options before the trigger like this
$(&quot;a#hiddenclicker&quot;).fancybox({&#039;titlePosition&#039;	: &#039;inside&#039;});</description>
		<content:encoded><![CDATA[<p>About the last post.. I found the following solutions</p>
<p>Title:<br />
var j1 = document.getElementById(&#8220;hiddenclicker&#8221;);<br />
j1.href = &#8220;./example/1_b.jpg&#8221;;<br />
jl.title = &#8220;hello&#8221;;//does NOT work, instead try:<br />
document.getElementById(&#8220;hiddenclicker&#8221;).title = &#8220;hello&#8221; // this works great</p>
<p>Options:<br />
Place your options before the trigger like this<br />
$(&#8220;a#hiddenclicker&#8221;).fancybox({&#8216;titlePosition&#8217;	: &#8216;inside&#8217;});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mehpac</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107696</link>
		<dc:creator>mehpac</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107696</guid>
		<description>Thanks for this great guide, I got it to work in less than 10 minutes.

I just have one question, how can I pass a title for a image and/or modify fancybox&#039;s options ??

Thanks,</description>
		<content:encoded><![CDATA[<p>Thanks for this great guide, I got it to work in less than 10 minutes.</p>
<p>I just have one question, how can I pass a title for a image and/or modify fancybox&#8217;s options ??</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergio Almeida</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107694</link>
		<dc:creator>Sergio Almeida</dc:creator>
		<pubDate>Fri, 26 Mar 2010 13:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107694</guid>
		<description>Thank you! My test only works when was tested online, with swfobjects and this code (note the &quot;type&quot;=&quot;iframe&quot;):
&lt;code&gt;
$(document).ready(function() {
$(&quot;a.overlay-flash&quot;).fancybox({
&#039;width&#039;				: &#039;75%&#039;,
&#039;height&#039;			: &#039;75%&#039;,
&#039;autoScale&#039;     	: false,
&#039;transitionIn&#039;		: &#039;none&#039;,
&#039;transitionOut&#039;		: &#039;none&#039;,
&#039;type&#039;				: &#039;iframe&#039;,
&#039;hideOnContentClick&#039;    : false
});
});

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Thank you! My test only works when was tested online, with swfobjects and this code (note the &#8220;type&#8221;=&#8221;iframe&#8221;):</p>
<div class="codesnip-container" >$(document).ready(function() {<br />
$(&#8220;a.overlay-flash&#8221;).fancybox({<br />
&#8216;width&#8217;				: &#8217;75%&#8217;,<br />
&#8216;height&#8217;			: &#8217;75%&#8217;,<br />
&#8216;autoScale&#8217;     	: false,<br />
&#8216;transitionIn&#8217;		: &#8216;none&#8217;,<br />
&#8216;transitionOut&#8217;		: &#8216;none&#8217;,<br />
&#8216;type&#8217;				: &#8216;iframe&#8217;,<br />
&#8216;hideOnContentClick&#8217;    : false<br />
});<br />
});</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/comment-page-1/#comment-107668</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 24 Mar 2010 15:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://outburst.jloop.com/?p=405#comment-107668</guid>
		<description>Everything is working great except the buttons that link to additional swf files. They all launch into fancybox at the same size and won&#039;t resize to actual pixels, any ideas?</description>
		<content:encoded><![CDATA[<p>Everything is working great except the buttons that link to additional swf files. They all launch into fancybox at the same size and won&#8217;t resize to actual pixels, any ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
