I see this code in the JGenerator library, in
WEB-INF/lps/server/jgenerator-2.2
/src/org/openlaszlo/iv/flash/api/Script.java
/**
* Writes content of this script to flash buffer
* <P>
* This method has to be used only if this script is main script.
*
* @param fob flash buffer to write
* @see #isMain
* @see #write
*/
public void generate( FlashOutput fob ) {
int frameCount = timeline.getFrameCount();
fob.writeWord( frameCount );
// collect fonts and make sure there is only one instance of each
font
FontsCollector fc = new FontsCollector();
collectFonts( fc );
// Create a slot for license key first
int licenseLen = 32;
fob.writeTag( Tag.SERIALNUMBER, licenseLen );
for (int i=0; i < licenseLen; i++)
fob.writeByte( 0x78 ); // x
// write background color
if( bkgColor != null ) bkgColor.write( fob );
mergeFonts( fc.getFonts() );
// generate timeline in right order (definitions first)
timeline.generate(fob, new DepsCollector(fc));
Tag.END_TAG.write( fob );
}
But I don't see this getting used in the OpenLaszlo 4 branch, at least
there's no
SERIALNUMBER tag in the app that gets compiled, according to swfdump.
On 2/14/07, strk <[EMAIL PROTECTED]> wrote:
LFC6.lzl, targetted at SWF6 contains the 'SERIALNUMBER' tag (41).
I don't think it is valid for an SWF6 file.
Anyway, can you tell me what the encoding is for this tag ?
--strk;
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev