On Sat, Jul 18, 2009 at 12:15:42PM -0700, Brad Pitcher <[email protected]> 
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