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

Andromedus r.hoddinott at btinternet.com
Wed Sep 3 03:38:35 PDT 2008


Hi Chaps,

I am loading up a collada model into Flash CS3, using the collada class in
PV 2.0GW:

ship = new Collada("models/ship.dae");

All is fine when I run the program from the debugger. But, if I take the
compiled swf and move it somewhere else (eg. onto a webpage), the models do
not appear.

It seems obvious that when compiling the swf, flash does not embed the
needed assets - ie my 'models' folder which contains both the .dae and the
images for texturing the model.  I guess there's no reason it should do -
but the question is, can I force it to do this?

So, without actually putting the folder of assets onto the webpage (I need
to distribute a single swf, not an swf and numerous assets), how can I get
flash to embed the assets at compile time so that it can find them at
runtime?

Any ideas graeatly appreciated!  :)

Thanks,

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




More information about the Papervision3D mailing list