Here's one way of doing it:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=appInit();
mx:Script
![CDATA[
import mx.events.FlexEvent;
import mx.controls.SWFLoader;
private var swfContent:MovieClip;
With the MovieClip route you can duplicate the MovieClip manually:
http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/display/duplicateDisplayObject.as
There's an optimized version in the LiveDocs comments, that duplicates child
MovieClips recursively:
Alex,
It might worth another mentioning to the player team that print job
should survive asynchronous rendering from the print template. In most
environments you can do setTimeout to validate that all items are
loaded/rendered. Current print job automatically closes upon the script
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=appInit();
mx:Script
![CDATA[
private function appInit():void {
trace(Application ::: appInit)
var imgReq:URLRequest = new
Display the images as bitmapdata in the itemrenderer.
So rather than passing the image url to the itemrenderer, load the image
upfront, transform into bitmapdata and pass that on to the
itemrenderer.
Haven't tried it, but think it should work.
regards,
Muzak
- Original Message -
5 matches
Mail list logo