<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Solving problem with printing Flash content in Firefox browser</title>
	<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/</link>
	<description>AnyChart team members and AnyChart users discuss AnyChart here.</description>
	<pubDate>Sun, 12 Feb 2012 07:36:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Printing Flex components in FireFox 3 &#171; &#171; Programmers Goodies Programmers Goodies</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-78527</link>
		<author>Printing Flex components in FireFox 3 &#171; &#171; Programmers Goodies Programmers Goodies</author>
		<pubDate>Sun, 03 Jul 2011 13:19:41 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-78527</guid>
		<description>[...] found a potential workaround, but unfortunately it doesn&#8217;t work in FireFox 3 (in FX2 it sort-of works, but not well [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] found a potential workaround, but unfortunately it doesn&#8217;t work in FireFox 3 (in FX2 it sort-of works, but not well [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlexPrintJob and Firefox = BLANK + BLANK -&#62;Flex, you [still] suck part 2</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-73513</link>
		<author>FlexPrintJob and Firefox = BLANK + BLANK -&#62;Flex, you [still] suck part 2</author>
		<pubDate>Thu, 26 May 2011 18:25:07 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-73513</guid>
		<description>[...] it again. Anyway, i spent the next 5 hours banging my head against the wall, reading about crazy hacks that could fight firefox, and wondering if my weekend just went to hell. In the back of my head, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] it again. Anyway, i spent the next 5 hours banging my head against the wall, reading about crazy hacks that could fight firefox, and wondering if my weekend just went to hell. In the back of my head, [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlexPrintJob and Firefox = BLANK + BLANK -&#62; Flex, you [still] suck part 2</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-73512</link>
		<author>FlexPrintJob and Firefox = BLANK + BLANK -&#62; Flex, you [still] suck part 2</author>
		<pubDate>Thu, 26 May 2011 18:21:49 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-73512</guid>
		<description>[...] it again. Anyway, i spent the next 5 hours banging my head against the wall, reading about crazy hacks that could fight firefox, and wondering if my weekend just went to hell. In the back of my head, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] it again. Anyway, i spent the next 5 hours banging my head against the wall, reading about crazy hacks that could fight firefox, and wondering if my weekend just went to hell. In the back of my head, [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-23345</link>
		<author>Adrian</author>
		<pubDate>Wed, 08 Jul 2009 14:49:08 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-23345</guid>
		<description>aww HTML code didnt show. Basically though, I simply took out the Object tag, and replaced it with a div that had an ID of "HeadlinePhoto". I then took out all references to AC_RunActiveContent.js, and used swfobject.js instead.</description>
		<content:encoded><![CDATA[<p>aww HTML code didnt show. Basically though, I simply took out the Object tag, and replaced it with a div that had an ID of &#8220;HeadlinePhoto&#8221;. I then took out all references to AC_RunActiveContent.js, and used swfobject.js instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-23344</link>
		<author>Adrian</author>
		<pubDate>Wed, 08 Jul 2009 14:47:01 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-23344</guid>
		<description>Hey great work Alex!

I do have a problem though, I got the latest version of ACPrintManager, but I cannot get it to work when rendering flash to the page using SWFObject 2.2 (the .embedSwf() method). I need to know what I am doing wrong. To help pinpoint the problem, I copied the flash9 sample, and used SwfOject to render rather than AC_RunActiveContent.js. First thing i get is this error from the sample.swf:

Error: Can't set content: External interface is not available
	at com.anychart.utils::PrintManager$/setPrintableContent()
	at sample_fla::MainTimeline/frame1()

After I click Skip/Dismiss,  the swf is displayed. In the print preview of FF3, I get a blank page.
My entire html looks like: 




sample



	 swfobject.embedSWF("sample.swf", "HeadlinePhoto", "468", "680", "10.0.0.0", "false", {}, {}, {});






	



Can you please please please help me out as soon as you get a chance? This is my second day trying to get ACPrintManager to work.</description>
		<content:encoded><![CDATA[<p>Hey great work Alex!</p>
<p>I do have a problem though, I got the latest version of ACPrintManager, but I cannot get it to work when rendering flash to the page using SWFObject 2.2 (the .embedSwf() method). I need to know what I am doing wrong. To help pinpoint the problem, I copied the flash9 sample, and used SwfOject to render rather than AC_RunActiveContent.js. First thing i get is this error from the sample.swf:</p>
<p>Error: Can&#8217;t set content: External interface is not available<br />
	at com.anychart.utils::PrintManager$/setPrintableContent()<br />
	at sample_fla::MainTimeline/frame1()</p>
<p>After I click Skip/Dismiss,  the swf is displayed. In the print preview of FF3, I get a blank page.<br />
My entire html looks like: </p>
<p>sample</p>
<p>	 swfobject.embedSWF(&#8221;sample.swf&#8221;, &#8220;HeadlinePhoto&#8221;, &#8220;468&#8243;, &#8220;680&#8243;, &#8220;10.0.0.0&#8243;, &#8220;false&#8221;, {}, {}, {});</p>
<p>Can you please please please help me out as soon as you get a chance? This is my second day trying to get ACPrintManager to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; links for 2009-04-10 - Life, it is a Travesty&#8230;</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-19520</link>
		<author>&#187; links for 2009-04-10 - Life, it is a Travesty&#8230;</author>
		<pubDate>Sat, 11 Apr 2009 04:05:12 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-19520</guid>
		<description>[...] Solving problem with printing Flash content in Firefox browser &#124; AnyChart team blog (tags: flex printing browser firefox) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Solving problem with printing Flash content in Firefox browser | AnyChart team blog (tags: flex printing browser firefox) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-14761</link>
		<author>John</author>
		<pubDate>Thu, 22 Jan 2009 17:06:17 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-14761</guid>
		<description>Should this work for Firefox 3 on Mac OSX? I tried the Flash 9 sample on a mac with flash 10 (10 is newer, but it should still work, right?), and it does not print properly. Do you know of any workarounds for Mac Flash printing in FF3?</description>
		<content:encoded><![CDATA[<p>Should this work for Firefox 3 on Mac OSX? I tried the Flash 9 sample on a mac with flash 10 (10 is newer, but it should still work, right?), and it does not print properly. Do you know of any workarounds for Mac Flash printing in FF3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-12565</link>
		<author>Eric</author>
		<pubDate>Tue, 16 Dec 2008 20:27:40 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-12565</guid>
		<description>Is it me or the sample flash 9 for acprintmanager doesn't work with firefox 3?.. I extracted the files and opened index.html from the flash9 folder found in the sample folder.  When I try to do a print preview I still get a blank page.

Can you help me sort this out?

Thanks you!</description>
		<content:encoded><![CDATA[<p>Is it me or the sample flash 9 for acprintmanager doesn&#8217;t work with firefox 3?.. I extracted the files and opened index.html from the flash9 folder found in the sample folder.  When I try to do a print preview I still get a blank page.</p>
<p>Can you help me sort this out?</p>
<p>Thanks you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Batsuev</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-10801</link>
		<author>Alex Batsuev</author>
		<pubDate>Wed, 26 Nov 2008 05:07:25 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-10801</guid>
		<description>It is static method. 
It accepts only BitmapData instance
&lt;blockquote&gt;
/**
 * Sets content to be printed in browser
 * @pararm content
 */
public static function setPrintableContent(content:BitmapData):void
&lt;/blockquote&gt;

http://www.anychart.com/blog/projects/acprintmanager/#download</description>
		<content:encoded><![CDATA[<p>It is static method.<br />
It accepts only BitmapData instance</p>
<blockquote><p>
/**<br />
 * Sets content to be printed in browser<br />
 * @pararm content<br />
 */<br />
public static function setPrintableContent(content:BitmapData):void
</p></blockquote>
<p><a href="http://www.anychart.com/blog/projects/acprintmanager/#download" rel="nofollow">http://www.anychart.com/blog/projects/acprintmanager/#download</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ayoo</title>
		<link>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-8743</link>
		<author>Ayoo</author>
		<pubDate>Sun, 09 Nov 2008 13:13:18 +0000</pubDate>
		<guid>http://www.anychart.com/blog/2007/09/23/solving-problem-with-printing-flash-content-in-firefox-browser/#comment-8743</guid>
		<description>now you can print preview with flash players 8 and bellow! there are 2 step.
1st we embed our old flash movie into a flex app.
2nd we send a msg from flash to flex, when ever we want to print.

this is the code we add to flash (flash6.swf) when ever we want to print:

outgoing_lc = new LocalConnection();
outgoing_lc.send(&#34;lc_name&#34;, &#34;helloFlex&#34;)
delete outgoing_lc;


this is the code we add to flex when ever flash calls the printmanager throught flex:

&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;absolute&#34; 
initialize=&#34;initApp()&#34;&#62;
&#60;mx:Script&#62;
&#60;![CDATA[
import com.anychart.utils.PrintManager;
private var fromSWF:LocalConnection; 

private function initApp() : void{
fromSWF = new LocalConnection();
fromSWF.client = this;
fromSWF.connect(&#34;lc_name&#34;);
} 
public function helloFlex() : void{
PrintManager.setImage(stage);
}
]]&#62;
&#60;/mx:Script&#62;
&#60;mx:SWFLoader x=&#34;10&#34; y=&#34;60&#34; width=&#34;381&#34; height=&#34;263&#34; source=&#34;flash6.swf&#34; id=&#34;mySwfTest&#34;/&#62;
&#60;/mx:Application&#62;

Theres only 1 problem with this code, that is you can only call the printmanager once, i can't get the property PrintManager.setPrintableContent(stage) to work, no such property exist????</description>
		<content:encoded><![CDATA[<p>now you can print preview with flash players 8 and bellow! there are 2 step.<br />
1st we embed our old flash movie into a flex app.<br />
2nd we send a msg from flash to flex, when ever we want to print.</p>
<p>this is the code we add to flash (flash6.swf) when ever we want to print:</p>
<p>outgoing_lc = new LocalConnection();<br />
outgoing_lc.send(&quot;lc_name&quot;, &quot;helloFlex&quot;)<br />
delete outgoing_lc;</p>
<p>this is the code we add to flex when ever flash calls the printmanager throught flex:</p>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br />
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot;<br />
initialize=&quot;initApp()&quot;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import com.anychart.utils.PrintManager;<br />
private var fromSWF:LocalConnection; </p>
<p>private function initApp() : void{<br />
fromSWF = new LocalConnection();<br />
fromSWF.client = this;<br />
fromSWF.connect(&quot;lc_name&quot;);<br />
}<br />
public function helloFlex() : void{<br />
PrintManager.setImage(stage);<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:SWFLoader x=&quot;10&quot; y=&quot;60&quot; width=&quot;381&quot; height=&quot;263&quot; source=&quot;flash6.swf&quot; id=&quot;mySwfTest&quot;/&gt;<br />
&lt;/mx:Application&gt;</p>
<p>Theres only 1 problem with this code, that is you can only call the printmanager once, i can&#8217;t get the property PrintManager.setPrintableContent(stage) to work, no such property exist????</p>
]]></content:encoded>
	</item>
</channel>
</rss>

