Hi, I started looking into CLIK components and ran into a problem:
If I copy&paste some components such as DefaultTextArea from CLIK_Components_AS3.fla into my flash file and test it in the Scaleform player, I get the following error:
I noticed that the error goes away if in the document's ActionScript setting I untick the "Automatically declare stage instances" setting.
BUT then if I change any of the Component Parameters (such as text, defaultText etc.) of the CLIK component (namedTextBox in this example) and test the movie, I get this:
Then again if in the 1st frame I go to the Actions and define the TextBox (var TextBox
efaultTextArea
it all works just fine. The thing is, that the CLIK_Components_AS3.fla does not do that and everything still works well in it!
So, any idea what I'm doing wrong? Why doesn't it all just work like in CLIK_Components_AS3.fla? Any help would be greatly appreciated!
If I copy&paste some components such as DefaultTextArea from CLIK_Components_AS3.fla into my flash file and test it in the Scaleform player, I get the following error:
Code:
C:\...\Flash\AS3\CLIK\scaleform\clik\controls\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.
BUT then if I change any of the Component Parameters (such as text, defaultText etc.) of the CLIK component (namedTextBox in this example) and test the movie, I get this:
Code:
Scene 1, Layer 'contentContainer', Frame 1 1120: Access of undefined property TextBox.


So, any idea what I'm doing wrong? Why doesn't it all just work like in CLIK_Components_AS3.fla? Any help would be greatly appreciated!
Comment