Handling CLIK AS3 Compile Error 1152 & 5000
Handling CLIK AS3 Compile Error 1152 & 5000
Action
You add a CLIK AS3 component from CLIK_Components_AS3.fla to your Flash document (example: DefaultTextArea)
Result
You receive these compiler errors, and the component does not work:
C:\UDK\UDK-2012-01\Development\Flash\AS3\CLIK\scaleform\clik\contr ols\TextArea.as, Line 2 1152: A conflict exists with inherited definition scaleform.clik.controls:TextInput.textField in namespace public.
C:\UDK\UDK-2012-01\Development\Flash\AS3\CLIK\scaleform\clik\contr ols\TextArea.as, Line 1 5000: The class 'scaleform.clik.controls.TextArea' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
Solution
Click File in the top menu of your Flash file.
Choose ActionScript Settings to open the Advanced ActionScript 3.0 Settings window.
Uncheck Automatically declare stage instances.
Save your file and compile again.
Never giveup. Thanks the world.