swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] pdf2swf / buttons


From: Benedikt Quirmbach
Subject: Re: [Swftools-common] pdf2swf / buttons
Date: Tue, 25 Oct 2005 13:16:28 +0200

Helo,

thank you for that info...

I did not really understand what to do. So I have to think about it for a while.
Is there a documentation on how to write this swfc script?

I'm working with PHP on Windows. With PHP i have to retrieve a mysql database to get the coordinates and the script for the buttons.
Is there a documentation how to do that with sfwc?

greetings
Benedikt

Am 24.10.2005 um 20:24 schrieb Matthias Kramm:

On Mon, Oct 24, 2005 at 12:24:24PM +0200, Benedikt Quirmbach wrote:
is there a way to create buttons with action in a swf-file after
converting pdf 2 swf?

You could create an swfc wrapper script, something like

    .flash name="button1.swf" fps=50

        .swf file "pdf2swf_result.swf"

        .box box1 color=white fill=#336633 width=100 height=100
        .box box2 color=white fill=#99cc99 width=200 height=200

        .button mybutton1
            .show box1 as=shape x=50 y=50
            .show box2 as=hover
            .on_press inside:
                // put your actionscript here
            .end
        .end

        .frame 1
            .put file
            .put mybutton1

    .end

Greetings

Matthias




_______________________________________________
Swftools-common mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swftools-common






reply via email to

[Prev in Thread] Current Thread [Next in Thread]