Package com.anotherbigidea.flash.structs

Examples of com.anotherbigidea.flash.structs.Rect


     */
    public void header( int version, long length,
                        int twipsWidth, int twipsHeight,
                        int frameRate, int frameCount ) throws IOException
    {
        frameSize = new Rect( 0, 0, twipsWidth, twipsHeight );       

        //--Unknown values
        if( length < 0 || frameCount < 0 )
        {
            //--defer the header
View Full Code Here


            throw new IOException( "Invalid SWF File Signature" );
        }

        int  version   = in.readUI8();
        long length    = in.readUI32();
        Rect frameSize = new Rect( in );
        int frameRate  = in.readUI16() >> 8;
        int frameCount = in.readUI16();               
       
        consumer.header( version, length,
                         frameSize.getMaxX(), frameSize.getMaxY(),
                         frameRate, frameCount );                        
    }
View Full Code Here

TOP

Related Classes of com.anotherbigidea.flash.structs.Rect

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.