swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] pdf2swf / buttons


From: Matthias Kramm
Subject: Re: [Swftools-common] pdf2swf / buttons
Date: Mon, 24 Oct 2005 20:24:20 +0200
User-agent: Mutt/1.5.6i

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






reply via email to

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