|
Daniel, I have tried the 0.2.11.9 version which obviously worked with the bitmap stuff. So, as an archive for future readers, here is the new stuff which makes possible the use of bitmapdata function on direct linkages IDs: Don't try with a lower version than 0.2.11.8. Build up your lib like this: <?xml version="1.0" encoding="iso-8859-1" ?> <movie version="8" width="640" height="480" framerate="12"> <background color="#0x012345"/> <library> <frame> <bitmap id="imgLinkageToGive" import="library/SomeNicePicture.png"/> </frame> </library> </movie> Then, you'll be able to get the following code perfectly working: var cToRet :BitmapData = BitmapData.loadBitmap("imgLinkageToGive"); One question thought... Was this a wrapper related problem? Or was it some direct access bitmap data thing? Because, i took the liberty to look at the source code and i had not enough time get the available tags list parser... So it's still foggy on my head about how it works compared to linking a bitmap with the "clip" keyword? Anyway, that's a very nice point which is solved there for my POV, because it avoids some strange hooks made to AS2 code to check wether the pic is in a container or not, that's real Portability :) Friendly regards, Happy Pierre. P.S.: My previous mail is a bit huge (680k) because i prefered to give you non compressed movies, maybe it will make you the task easier... Tell me whatever is the best. daniel fischer wrote: MARTIN Pierre <[EMAIL PROTECTED]> (on Wed, 19 Jul 2006 16:19:57 +0200):> [exec] runtime error: element DefineBitsLossless2 > [exec] unregistered variable bitmapID > [exec] xmlXPathCompiledEval: evaluation failed hey Pierre, please try again with prerelease 0.2.11.9, i've fixed the bitmapID thing. it's untested from my side, tho, so it might still fail (please report). -dan |
begin:vcard fn:MARTIN Pierre n:MARTIN;Pierre org:Creative Hazard adr:;;17 rue de Verdun;Nontron;Dordogne;24300;France email;internet:[EMAIL PROTECTED] tel;home:+33 5 53 56 18 36 x-mozilla-html:TRUE url:http://www.CreativeHazard.com version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
