combobox dropdown problem when load AS2 swf file in Flex
Posted
by him_aeng
on Stack Overflow
See other posts from Stack Overflow
or by him_aeng
Published on 2010-03-04T09:53:01Z
Indexed on
2010/04/09
16:03 UTC
Read the original article
Hit count: 397
I found the problem about combobox dropdown list in AS2 swf file.
My scenario is: There are multiple swf file that was compile from ActionScript2.0 and use Flex to load those swf files in swfLoader component.
There are two issue that I found and can't solve it: 1. When I load multiple as2.0 swf file in one flex application the first file that was load will work perfectly but the second and so on file have problem. When I click in their combobox component the dropdown list was not show. 2. swf file that was not first load have problem with popup window also. When the popup was show they can't work properly, I can't make any operation on it such as click button, close popup etc.
I solve it by add the empty content AS2.0 swf file in flex to be first swf file that was load and it make something weird happen: When I click button on combobox the dropdown list was appear but it appear on position (x:0, y:0) of its container.
I also add the code:
this._lockroot = true;
in every ActionScript2.0 code but it not solve the problem.
I don't know the source of problem.
Please help me.
Thank.
© Stack Overflow or respective owner