exporting SWC with multiple levels of movieclips
I'm trying to create a game in flash cs4 to then export it as a SWC class so I later on can work with the movieclips in flex. However I can't seem to get multiple levels of movieclips to work, example:
main_clip-> icons -> dude_1
dude_1 have a couple of rows script, when I now export main_clip I can only access main_clip and icons, the script inside dude_1 wont run but the movieclip is exported..
I found a workaround my copying dude_1 to the same level as icons and hide it, that way the script will run inside the third level of movieclips. Is there a reason why I can't just access the movieclips inside the second level of movieclips when I export the file as a SWC?