Package org.apache.flex.swf.tags

Examples of org.apache.flex.swf.tags.FileAttributesTag


                    break;
                case Metadata:
                    swf.setMetadata(((MetadataTag)tag).getMetadata());
                    break;
                case FileAttributes:
                    final FileAttributesTag fileAttributes = (FileAttributesTag)tag;
                    swf.setUseAS3(fileAttributes.isAS3());
                    swf.setUseDirectBlit(fileAttributes.isUseDirectBlit());
                    swf.setUseGPU(fileAttributes.isUseGPU());
                    swf.setUseNetwork(fileAttributes.isUseNetwork());
                    break;
                case SetBackgroundColor:
                    swf.setBackgroundColor(((SetBackgroundColorTag)tag).getColor());
                    break;
                case SymbolClass:
View Full Code Here


        return tag;
    }

    private FileAttributesTag readFileAttributes()
    {
        final FileAttributesTag tag = new FileAttributesTag();
        bitStream.readUB(1);
        tag.setUseDirectBlit(bitStream.readBit());
        tag.setUseGPU(bitStream.readBit());
        tag.setHasMetadata(bitStream.readBit());
        tag.setAS3(bitStream.readBit());
        bitStream.readUB(2);
        tag.setUseNetwork(bitStream.readBit());
        bitStream.readUB(24);
        return tag;
    }
View Full Code Here

            final SWF swfObject = (SWF)swf;
            return swfObject.fileAttributes;
        }
        else
        {
            final FileAttributesTag tag = new FileAttributesTag();
            tag.setAS3(swf.getUseAS3());
            tag.setHasMetadata(swf.hasMetadata());
            tag.setUseDirectBlit(swf.getUseDirectBlit());
            tag.setUseGPU(swf.getUseGPU());
            tag.setUseNetwork(swf.getUseNetwork());
            return tag;
        }
    }
View Full Code Here

     */
    public SWF()
    {
        frames = new ArrayList<SWFFrame>();
        header = new Header();
        fileAttributes = new FileAttributesTag();
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.tags.FileAttributesTag

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.