@Override
	public void encode(BitBuffer buffer) {
		int flag = 0;
		if (use_direct_blit)
			flag |= 1 << 6;
		if (use_gpu)
			flag |= 1 << 5;
		if (has_metadata)
			flag |= 1 << 4;
		if (actionscript_3)
			flag |= 1 << 3;
		if (suppress_cross_domain_caching)
			flag |= 1 << 2;
		if (swf_relative_urls)
			flag |= 1 << 1;
		if (use_network)
			flag |= 1;
		
		buffer.writeIntLE(flag);
	}