[osflash] Fw: fl.getDocumentDOM().library.importEmbeddedSWF

Dennis - I Sioux dennis at isioux.nl
Fri Nov 16 08:04:25 PST 2007


Hey guys,
I was wondering if anyone could help me out with an example of
fl.getDocumentDOM().library.importEmbeddedSWF("MyMovie", swfData, "Intro"); 
?
I'm nog familiar with C-level coding..and mainly extend with MMExecute..
and believe the method only works with a dll object as second argument..

I came asfar as finding out i need to use the JSBool 
JS_BytesToValue(JSContext *cx, unsigned char *bytes, uint sz, jsval*vp);
from a dll to convert the RAW data to bytes (because jsfl won't handle RAW 
data right).
But as i'm not a C++ scripter.. i'm struggeling...

Could anyone help me on my way? :)

With kind regards,

Dennis 





More information about the osflash mailing list