swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] PDF2SWF viewer in actionscript 3.0


From: Matthias Kramm
Subject: Re: [Swftools-common] PDF2SWF viewer in actionscript 3.0
Date: Sun, 19 Jul 2009 05:54:02 +0200
User-agent: Mutt/1.5.11

On Sat, Jul 18, 2009 at 12:15:42PM -0700, Brad Pitcher <address@hidden> wrote:
> as you can see it's incredible simple, I just can't get it to work.  I
> tried making viewport a global variable or a public class variable but
> nothing seems to work.  Does anyone know what I'm doing wrong?

You need a SWF object named "viewport", not a variable. 
Try something like this swfc script:

.flash name=viewer.swf version=9
.sprite viewport
.end
.action:
    package {
        import flash.display.MovieClip;
        public class Main extends MovieClip
        {
            function Main()
            {
            }
        }
    }
.end






reply via email to

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