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: Thu, 12 Jan 2006 19:34:30 +0100

Hello Mathias,

some time ago you send this mail to the list. Now I'm working again on this topic.

I have another question about actionscript in a button:
You wrote:

            .on_press inside:
                // put your actionscript here
            .end

I have changed this to
.on_release inside:
...
.end

This works well.
But I need also on_rollover and on_rollout.

These do not work.

Do you know how to make this work?

Thank you
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]