Environment:
Flash, Action Script 3
Scenario:
publishing FLA and getting the error "Error #1046: Type was not found or was not a compile-time constant: TextField"
Problem:
You have not imported everything you are including in your movieClip. For example if you are using dynamic textField inside your movieClip and you didn't imported the TextFiled class
Even if you create a dynamic text field and yet you didn't create the code to handle this dynamic text field you'll see this error.
Solution:
Import the the relevant class.
In this case:
import flash.text.TextField;
Subscribe to:
Post Comments (Atom)
linux bulk prefix filenames
In order to bulk add prefix to filenames in a directory run the following comnmand for f in * ; do mv -- "$f" "2018-05-24_...
-
After few weeks that I tried to set my guitar amplifier fender mustang 1 v2 to produce "crystal clear" sound + two days of th...
-
In order to bulk add prefix to filenames in a directory run the following comnmand for f in * ; do mv -- "$f" "2018-05-24_...
-
Installing nodejs 13 on linux mint by default the sudo apt-get install -y nodejs will install v8.10.0 in order to install version 13...
No comments:
Post a Comment