[Swftools-common] Addchild every page content of pages to a MC
From:
Mustafa İlkhan
Subject:
[Swftools-common] Addchild every page content of pages to a MC
Date:
Wed, 3 Mar 2010 07:30:06 +0200
Hi, I'm making a e-book project using flash and as3. Everything was very good since i find pdf2swf from SWFTOOLS for pdf to swf making. Until pdf2swf i used Indesign to convert pdf documents. Indesingn CS4 converts pdf - all pages as MovieClip and everything goes perfect except file size but pdf2swf has a really good file size but doesnt have movieclips. It has a object timeline on top, and at each frame many many object shapes and static texts. So i decided to write a code to collect and addchild to a movieclip each frames children. But i got an error:1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject.
or TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::address@hidden to flash.display.MovieClip. Can you comment or advice something?
Thanks
-- Mst
[Prev in Thread]
Current Thread
[Next in Thread]
[Swftools-common] Addchild every page content of pages to a MC,
Mustafa İlkhan<=