more on the problems with shapes that refer to bitmaps...

Eric Bloch <[email protected]> Tue, 10 Jun 2003 20:19:36 -0700 (PDT)
Newsgroups gmane.comp.java.jgenerator.devel
Message-ID <[email protected]>
Hey Dmitry,

Thanks so much for looking at this.  

I haven't looked closely.  Are you sure that the asset is used before
defined?  The example I gave you had 

shape id 0x1
bitmap id 0x2
shape id 0x3

You're saying the shape 1 refers to bitmap 2.  I haven't the simple
tools around to unpack the binary bits... but, since Flash renders the
file correctly (both the tool and the player), that it's probably shape
3 that refers to id 2 so that the dependency is correct.  

It's not that a second pass is needed, but rather that it's possible
for shapes to depend on bitmaps and the jgenerator dependency mechanism
doesn't captures that.  (I think, even if my guess above is wrong about
the order of the assets, JGenerator still wouldn't get the correct
output because of the bug I'm trying to describing).

-Eric


 


=====
Eric Bloch
  1437 10th Avenue, San Francisco, CA, USA 94122
  Email: [email protected] 
  Web page: http://www.10th-avenue.com   
  Phone: 415-731-0589

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.