Package flash.swf

Examples of flash.swf.Movie


            DefineShape tag = new DefineShape(Tag.stagDefineShape3);
            tag.bounds = new Rect(250 * 20, 250 * 20);
            tag.shapeWithStyle = sws;

            //Create a SWF Movie shell
            Movie m = getMovie(1);
            Frame frame1 = (Frame)m.frames.get(0);
            Matrix mt = new Matrix(0, 0);
            frame1.controlTags.add(new PlaceObject(mt, tag, 1, null));

            //Compile SWF
View Full Code Here


        }
    }

    private static Movie getMovie(int frameCount)
    {
        Movie m = new Movie();
        m.version = 7;
        m.bgcolor = new SetBackgroundColor(SwfUtils.colorToInt(255, 255, 255));
        m.framerate = 12;
        m.frames = new ArrayList(frameCount);
        m.frames.add(new Frame());
View Full Code Here

TOP

Related Classes of flash.swf.Movie

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.