Change 20100208-hqm-N by [email protected] on 2010-02-08 17:09:34 EST
    in /Users/hqm/openlaszlo/trunk6
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for embedding swf10 resources 

New Features:

Bugs Fixed:  LPP-8613 swf files don't work when loaded at compile time

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:
    

Details:

ObjectWriter.java: in importSWF(), if we're compiling for as3, don't attempt to 
poke into  the swf object, just return an empty Resource object. The SWF9 
runtime
doesn't need to find the bbox at compile time. 

If the target  runtime is swf8, throw an error if you try to import a swf10 
resource. 

SWF9Writer.java: If the FlashDef in the resource comes back as null, don't try 
to
extract a bbox from it.




Tests:

test case from bug report, compiled in swf10
test case from bug report, compiled in swf8, should throw error with explanation

examples/components/component_sampler in swf8, swf10, dhtml

Files:
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100208-hqm-N.tar

_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to