[Extendflash] set linkage to bitmap item

Ryan Matsikas rmatsikas at gmail.com
Tue Mar 7 19:08:50 GMT 2006


nope, in 8 you can attachBitmap using the new BitmapData classes..

On 2/18/06, den ivanov <i at cleoag.ru> wrote:
>
>
> cant set linkage to bitmap
>
> is it bug or what? ;)
>
> Den
>
> code
> ---------------
> var lib = flash.getDocumentDOM().library;
> var libitems = lib.getSelectedItems();
> fl.outputPanel.clear();
> fl.trace(libitems);
> fl.trace(libitems.length);
> for(var i = 0; i < libitems.length; i++)
> {
>     var it = libitems[i];
>     it.linkageExportForAS = true;
>     it.linkageExportForRS = false;
>     it.linkageExportInFirstFrame = true;
>     var str = it.name.substr(it.name.lastIndexOf("\/")+1);
>     fl.trace(i + ": " + str);
>     it.linkageIdentifier = str;
> }
>
> ---------------
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20060307/866ef228/attachment.htm


More information about the Extendflash mailing list