-
[flashlite 1.1] textfield for variable?
what i want to do with flashlite 1.1:
var1 = 1
var2 = 2
var3 = var1 + var2
textField = "Number is: " + var3;
Is it possible?
it seems you can only put TEXT in a textField ...
-
in Flash Lite 1.1 you must use a different set of operators for string concatenation compared to math operations.
Use the "add" operator instead of "+".
textField = "Number is " add var3.
Also use the variable name box (to the right side) in the property inspector instead of the instance name box (on the left side). The instance name is for later versions of AS not supported in FL1.1.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|