[Papervision3D] Missing collada assets after compiling swf - how to embed asset folder?

Andromedus r.hoddinott at btinternet.com
Wed Sep 3 07:56:02 PDT 2008


Thanks for the responses guys.  I'm not sure that gets me any closer though. 

Firstly, it's not a case of whether or not my website allows the dae
extension to be served - the dae and the images it uses are not stored on my
server anyway.  They are in a folder on my local drive.  As this is a game
which will be distributed across the internet, I need a single swf with all
assets embedded into it - I can't distribute it with a set of additional
files which need to be installed on whichever server the game is hosted, nor
do I really want the swf downloading the information from my server each
time it needs to load a model.  All assets really have to be embedded in the
one single swf.

Secondly, the [embed] tag, according to the above mentioned book, appears to
be a Flex thing - there doesn't seem to be such a thing in Flash CS3.  In
Flash, all assets are generally stored in the library.  I suppose it's
feasible that I could take a look at the Collada.as and find where it is
loading the images, and replace whatever is there (bitmapMaterial?) with
bitmapAssetMaterial, which would then presumably load the images from the
library.  I'm not sure I'd really know where to start with that though, and
even then, that wouldn't solve the problem of loading the actual dae
geometry.

Still stuck I'm afraid.  Has anyone ever managed to get a collada model and
images embedded into a single swf from Flash CS3?  It seems like this should
be an easy thing to do.

Here's hoping,

Ric. :)
-- 
View this message in context: http://www.nabble.com/Missing-collada-assets-after-compiling-swf---how-to-embed-asset-folder--tp19286757p19291034.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list