swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Custom viewer trouble


From: Matthias Kramm
Subject: Re: [Swftools-common] Custom viewer trouble
Date: Tue, 14 Aug 2007 09:15:42 +0200
User-agent: Mutt/1.5.6i

On Mon, Aug 13, 2007 at 06:45:33PM -0700, J. wrote:
> I got it close to working. The progress bar preloader works, but then
> when it goes to the frame where the pdf/swf is, it quickly rolls
> through it over and over and the controls don't work. I was able to get
> the scrolling to stop by adding an action to the frame (something like
> stop()), but the prev and next buttons never worked.

Could you upload your (non-working) SWF somewhere and post a link here?
We'll then have a look at it.

> What I did was create a key frame after the pre-loader frames and added
> a prev and next button on either side of the movieclip element (called
> viewport of course).

Sounds good so far.

> Obviously I dug in the archives to find the above. I tried the
> suggested code (adjusted for syntax) on the documentation page on pdf
> converting and also tried about 20 other combinations of things to try
> to get some action. Also, I couldn't find setTarget as a keyword in
> Flash. Is that something in the swf's generated by pdf2swf? Thanks.

setTarget is the old way to do "object oriented" programming in flash.
A
    setTarget("mymovieclip")
    Stop()
    setTarget("")

is equivalent to

    mymovieclip.stop()

Greetings

Matthias






reply via email to

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