[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Questions about hyperlink on swf actionscript
From: |
Iker Martin |
Subject: |
[Swftools-common] Questions about hyperlink on swf actionscript |
Date: |
Tue, 22 Apr 2008 11:12:23 +0200 |
Dear Mathias
I World like you to give me some answers and
above all my compliments for your very useful application.
When I create
a swf with the pdf2swf, I need that the bottoms of the swf generated from the
hyperlinks that contain the pdf, include more code actionscript, is
possible?
For example, creating the swf there’s a code if an hyperlink
exists:
on(press){
getURL("http://www.google.es", "_blank"); //
go to link
}
I’d need that
the hyperlink of the pdf will generate the followed code of actionscript for
each bottom generated in the swf:
on(rollOver,
dragOver){
_root.turnOn=false; // Turn passive
}
on(press){
_root.turnOn=true; // Turn
active
getURL("http://www.google.es", "_blank"); //
go to link
}
Is it possible? Generating
this code?
Thank you very much
Iker, from Barcelona
-----Mensaje original-----
De:
address@hidden [mailto:address@hidden]
En nombre de address@hidden
Enviado el: lunes, 21 de
abril de 2008 18:02
Para: address@hidden
Asunto:
Swftools-common Digest, Vol 55, Issue 27
Send Swftools-common mailing
list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide
Web, visit
http://lists.nongnu.org/mailman/listinfo/swftools-common
or,
via email, send a message with subject or body 'help'
to
address@hidden
You can reach the person managing the
list at
address@hidden
When replying, please edit your Subject
line so it is more specific than "Re: Contents of Swftools-common
digest..."
Today's Topics:
1. RE: Swftools-common
Digest, Vol 55, Issue 24 (Swaminathan
S)
----------------------------------------------------------------------
Message:
1
Date: Mon, 21 Apr 2008 14:50:54 +0530
From: Swaminathan S
<address@hidden>
Subject: [Swftools-common] RE: Swftools-common
Digest, Vol 55, Issue
24
To:
"address@hidden"
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset="us-ascii"
Hi
I have used both versions of
swftools-0.8.1.exe and swftools-0.8.0.exe,
But I didn't get
the solution what am
expected.
Regards
swaminathan
------------------------------
Message:
3
Date: Fri, 18 Apr 2008 12:50:49 +0200
From: Matthias Kramm
<address@hidden>
Subject: Re: [Swftools-common] RE: Swftools-common
Digest, Vol 55,
Issue 20
To:
address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain;
charset=us-ascii
On Fri, Apr 18, 2008 at 04:10:56PM +0530, Swaminathan S
<address@hidden> wrote:
> You can see that Real Movie Size and
Original Movie Size are different
> even after following your
instructions, as a result of this when I
> load the swf dynamically and
try to fetch the dimensions, I always end
> up with getting the Real Movie
Size instead of the expected Original
> Movie Size.
Which version
of swftools are you using?
Greetings
Matthias
-----Original
Message-----
From: Swaminathan S
Sent: Fri, Apr 18, 2008 at 04:10:56PM
+0530 To address@hidden
Subject: [Swftools-common] RE:
Swftools-common Dig Hi Frank,
Thanks for your reply, Below is the
screenshot of what I
did.
[cid:image001.png@01C8A16E.88BFE110]
You
can see that Real Movie Size and Original Movie Size are different even after
following your instructions, as a result of this when I load the swf dynamically
and try to fetch the dimensions, I always end up with getting the Real Movie
Size instead of the expected Original Movie Size. Hope I explained better now...
Can you help me out on this.
Can you give us your support phone
number if any, that way we can directly contact
you.
Regards,
Swaminathan
----------------------------------------------------------------------
Message:
1
Date: Wed, 16 Apr 2008 19:10:39 -0400
From: "Frank Meijer"
<address@hidden>
Subject: Re: [Swftools-common] FW: Help using
pdf2swf- issue
To: "Swaminathan S"
<address@hidden>,
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset="iso-8859-1"
Try
swfbbox -c uncropped.swf -o cropped.swf
That worked for
me.
...Frank
----- Original Message
-----
From: Swaminathan S
To:
address@hidden
Sent: Tuesday, April 15, 2008 8:29
AM
Subject: [Swftools-common] FW: Help using pdf2swf-
issue
Hi,
I
have used your tool(pdf2swf). We are very much impressed with that tool. We are
facing some problem while using the tool. Already I have sent a mail to this
email id but didn't get any response. Do u have any support phone numbers so
that we can talk directly.
Looking forward
to hear from you soon.
Thank
You.
Regards,
Swaminathan.
From:
Swaminathan S
Sent: Wednesday, March 26, 2008 7:03
PM
To: 'address@hidden'
Subject:
Help using pdf2swf-
issue
Hi,
Herewith I have attached the sample
swf file generated using pdf2swf tool (swftools - pdfswf.exe) and the source
pdf.
The tool gives out the swf smoothly
but the problem I am facing is when I try to get the height and width
information of the swf. In my scenario the pdf is cropped and after converting
the pdf to swf I still get the dimensions as it was before cropping. How can we
create the swf so that we can get the width and height only for the visible
region ?.
I have also tried swfbox to see
the Real and the Original size of the swf, but I cannot
succeed.
Original PDF Dimensions (WxH)
PDF
Dimensions after applying crop (WxH)
Real Size I got from swfbbox
Original Size I got from swfbbox
Size I got after loading into flash
player
862 x 1238
pixels
594.56 x 786.56
pixels
862 x 1238
pixels
862 x 1238
pixels
862 x 1238
pixels
Can you please help me out
in how to make the swf to get the dimensions only for the visible area (594.56 x
786.56 pixels) ?
Regards
swaminathan
-------------- next part
--------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/swftools-common/attachments/20080416/5dc2c367/attachment.html
------------------------------
Message:
2
Date: Thu, 17 Apr 2008 11:15:05 +0200
From: Fr?d?ric LEVE -
[E]cedi <address@hidden>
Subject: [Swftools-common] Some pages are
not converted (pdf2swf)
To:
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain;
charset="iso-8859-1"
Hello,
I have
a problem with another PDF.
Try this PDF
:
http://91.121.103.12/e_upload/catalogues/pdf/Convertis/004725.pdf
pdf2swf
doesn?t convert the page 40, I don?t know
why!
This is my command line (in
a loop) :
$command = "pdf2swf -s
poly2bitmap -s convertgradients -s bboxvars -s
zoom=75 -s jpegquality=100
-s jpegdpi=100 -p " . $pageNum ." $pdfPath -o " .
$swfDir .
$swfFile;
Thanks for you
help
Freed
--------------
next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/swftools-common/attachments/20080417/793cb7c8/attachment.html
------------------------------
Message:
3
Date: Thu, 17 Apr 2008 12:07:54 +0200
From: Fr?d?ric LEVE -
[E]cedi <address@hidden>
Subject: RE: [Swftools-common] Shaded
Fills
To: <address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain;
charset="iso-8859-1"
Hi,
I tried -s convertgradients
option, but it is not better. :(
Fr?d?ric Lev? -
[E]cedi
Ing?nieur de d?veloppement
91 avenue de la
R?publique - 75011 Paris
Ligne directe : 01 70 95 70 92
Standard :
01 70 95 70 70
Fax : 01 70 95 70 95
http://www.ecedi.fr
-----Message
d'origine-----
De?:
address@hidden
[mailto:address@hidden]
De la part de
Matthias Kramm
Envoy??: lundi 14 avril 2008
10:59
??: address@hidden
Objet?: Re: [Swftools-common]
Shaded Fills
On Fri, Apr 11, 2008 at 04:58:02PM +0200, Fr?d?ric
LEVE - [E]cedi
<address@hidden> wrote:
> http://91.121.103.12/e_upload/catalogues/catalogue98/swf/page3.swf
>
http://91.121.103.12/e_upload/catalogues/catalogue98/swf/page4.swf
Does
this maybe look better if you pass "-s convertgradients" to
pdf2swf?
Greetings
Matthias
------------------------------
_______________________________________________
Swftools-common
mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swftools-common
End
of Swftools-common Digest, Vol 55, Issue
20
***********************************************
------------------------------
Message:
4
Date: Fri, 18 Apr 2008 15:16:44 +0200
From: Fr?d?ric LEVE - [E]cedi
<address@hidden>
Subject: RE: [Swftools-common] Some pages are not
converted (pdf2swf)
To: <address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain;
charset="iso-8859-1"
Thanks for your help,
I changed something in
my conversion process, now each page is generate one by one but not in the same
time, it looks better for the CPU and the rendering.
However, I use this
command line:
$command = "pdf2swf -s poly2bitmap -s
convertgradients -s disable_polygon_conversion -s bboxvars -s zoom=75 -s
jpegquality=100 -s
jpegdpi=100 -p " . ($pageNum+1) ."
$pdfPath -o " . $swfFile." ";
The option '-s
disable_polygon_conversion doesn't seem to work, nothing
different: all the
lines, shapes and vectors are converted to bitmap, only the texts are still
texts!
It's not so bad but lines, it can be better if lines and borders
can stay in vector graphics.
(Sorry for my bad English
)
Thanks
Fr?d?ric Lev? - [E]cedi
Ing?nieur de
d?veloppement
91 avenue de la R?publique - 75011 Paris Ligne directe : 01
70 95 70 92 Standard : 01 70 95 70 70 Fax : 01 70 95 70 95 http://www.ecedi.fr
-----Message
d'origine-----
De?: address@hidden
[mailto:address@hidden]
De la part de Matthias Kramm
Envoy??: vendredi 18 avril 2008 12:47
??:
address@hidden
Objet?: Re: [Swftools-common] Some pages are not
converted (pdf2swf)
On Fri, Apr 18, 2008 at 11:04:13AM +0200, Fr?d?ric
LEVE - [E]cedi <address@hidden> wrote:
> The problem seems to be
resolved with 0.9.0 version, but I'm still
> looking for a best way to use
the -s poly2bitmap and -s
> convertgradients because some pages have bad
gradients render or too complex vector graphics.
> A kind of "timeout" is
appearing on big pdf files.
Yes, I've been getting reports about pdf2swf
getting stuck in a loop.
So far, I've been unable to reproduce
this.
"-s disable_polygon_conversion" seems to help in some
cases.
Greetings
Matthias
------------------------------
Message:
5
Date: Fri, 18 Apr 2008 17:14:43 +0200
From: Matthias Kramm
<address@hidden>
Subject: Re: [Swftools-common] Some pages are not
converted (pdf2swf)
To: address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain;
charset=iso-8859-1
On Fri, Apr 18, 2008 at 03:16:44PM +0200, Fr?d?ric
LEVE - [E]cedi <address@hidden> wrote:
> The option '-s
disable_polygon_conversion doesn't seem to work,
> nothing
>
different: all the lines, shapes and vectors are converted to bitmap,
>
only the texts are still texts!
That's not what that option is
for.
It's for turning off the stroke->polygon conversion which takes
place for certain cap or joint styles, and uses libart, which sometimes seems
responsible for the endless loop.
Together with "poly2bitmap",
"disable_polygon_conversion" does nothing.
(And yes, I *am* aware that
all those pdf2swf options are in dire need of
documentation...)
Greetings
Matthias
------------------------------
_______________________________________________
Swftools-common
mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swftools-common
End
of Swftools-common Digest, Vol 55, Issue
24
***********************************************
------------------------------
_______________________________________________
Swftools-common
mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swftools-common
End
of Swftools-common Digest, Vol 55, Issue
27
***********************************************
- [Swftools-common] Questions about hyperlink on swf actionscript,
Iker Martin <=