[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swftools-common
Subject:    Re: [Swftools-common] rfxview change page number
From:       "Johannes Wilm" <j () indymedia ! no>
Date:       2008-12-16 20:33:37
Message-ID: dc289d700812161233j35898b6ck703a926330042693 () mail ! gmail ! com
[Download RAW message or body]

Ok, I've looked at it. But unfortunately Adobe Flash 10 on Linux's printing
function seems to be generally broken, and so I can't test any of it. I
guess I'll have to wait until a non-broken version comes along or if someone
can point me to an open source implementation of flash that does work, that
would also work.

On Wed, Dec 10, 2008 at 2:13 PM, Matthias Kramm <kramm@quiss.org> wrote:

> On Wed, Dec 10, 2008 at 12:01:26PM -0600, Johannes Wilm <j@indymedia.no>
> wrote:
> > I can make a few more such smaller patches, and for example it would
> > likely be better if the page-field had a white box below it so its
> > more obvious the field can be edited.
>
> That's a good idea.
>
> > If someone sends the code for search and/or print that has already
> > been written, then I'll likely also be able to adopt that to rfxview.
> > But I'd think it would be a wast of resources for me to investigate
> > how to do that from the ground up, if someone else already has done
> > that work.
>
> I'm not aware of anyone who has done any open-source implementations
> for search yet, apart of course from commercial projects.
>
> For print, I have this code fragment:
>
>    printbutton.onRelease = function(){
>                                var pj = new PrintJob();
>                                pj.start();
>                                pagenr = 1;
>                                while(pagenr <= swf._totalframes) {
>                                        setPageNr();
>                                        pj.addPage("swf");
>                                        pagenr = pagenr + 1;
>                                }
>                                pj.send();
>                                delete pj;
>    };
>
> Any help with properly integrating this is more than welcome.
>
> Greetings
>
> Matthias
>
>
>
>
>


-- 
Johannes Wilm
http://www.johanneswilm.org
tel: +5059173717

[Attachment #3 (text/html)]

Ok, I&#39;ve looked at it. But unfortunately Adobe Flash 10 on Linux&#39;s printing function seems to be \
generally broken, and so I can&#39;t test any of it. I guess I&#39;ll have to wait until a non-broken \
version comes along or if someone can point me to an open source implementation of flash that does work, \
that would also work.<br> <br><div class="gmail_quote">On Wed, Dec 10, 2008 at 2:13 PM, Matthias Kramm \
<span dir="ltr">&lt;<a href="mailto:kramm@quiss.org">kramm@quiss.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> <div class="Ih2E3d">On Wed, Dec 10, 2008 at 12:01:26PM -0600, Johannes Wilm &lt;<a \
href="mailto:j@indymedia.no">j@indymedia.no</a>&gt; wrote:<br> &gt; I can make a few more such smaller \
patches, and for example it would<br> &gt; likely be better if the page-field had a white box below it so \
its<br> &gt; more obvious the field can be edited.<br>
<br>
</div>That&#39;s a good idea.<br>
<div class="Ih2E3d"><br>
&gt; If someone sends the code for search and/or print that has already<br>
&gt; been written, then I&#39;ll likely also be able to adopt that to rfxview.<br>
&gt; But I&#39;d think it would be a wast of resources for me to investigate<br>
&gt; how to do that from the ground up, if someone else already has done<br>
&gt; that work.<br>
<br>
</div>I&#39;m not aware of anyone who has done any open-source implementations<br>
for search yet, apart of course from commercial projects.<br>
<br>
For print, I have this code fragment:<br>
<br>
 &nbsp; &nbsp;printbutton.onRelease = function(){<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;var pj = new PrintJob();<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pj.start();<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pagenr = 1;<br>  &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;while(pagenr &lt;= swf._totalframes) {<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;setPageNr();<br>  \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pj.addPage(&quot;swf&quot;);<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;pagenr = pagenr + 1;<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pj.send();<br>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;delete pj;<br>  &nbsp; \
&nbsp;};<br> <br>
Any help with properly integrating this is more than welcome.<br>
<br>
Greetings<br>
<font color="#888888"><br>
Matthias<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Johannes Wilm<br><a \
href="http://www.johanneswilm.org">http://www.johanneswilm.org</a><br>tel: +5059173717<br><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic