Illustrator CS3 & Dynamic Text for Flash CS3
So I tried creating a basic interface with buttons and some text fields. Then I saved the AI file and imported into Flash. When I test the Flash movie, I get the following error:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@d18cef9 to flash.display.MovieClip. at flash.display::Sprite/flash.display:Sprite::constructChildren() at flash.display::Sprite$iinit() at flash.display::MovieClip$iinit() at menu2_fla::MainTimeline$iinit()
Even if I don't use any ActionScript to fill the dynamic text fields form an external text file, I still get this error.
If I just copy and paste ONLY the text fields from AI to FL, I do not get any errors and the ActionScript I wrote to fill the dynamic text fields works.
I have posted questions on several Adobe forums and asked others for help on this and so far, no response.
By the way, I have tried this on both Mac and PC platforms and the problem occurs on both. Does anybody have any ideas why this might happen?
Labels: ActionScript, Flash, Illustrator CS3