-
I hate this, 3dfa does not export good!
I tried everything, but it won't export good!
Here's want i want:
And text is an editbox.
I also tried this:
And:
Code:
text+1;
text.text+1;
Can somebody help me??!
N00b flasheR
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-
An edit box is really a TEXT or CHARACTER field. If "text" is your edit box variable and you are trying to do text++ or something similar you are really concatenating strings. 3DFA is more foregiving and it may work but when you export it doesn't.
To solve the problem use the String.toNumber(text) method to make sure that what you are incrementing is a number.
Use:
PHP Code:
text = String.toNumber(text) + 1;
or if you updating your edit box directly use:
PHP Code:
element("edit box").text = String.toNumber(element("edit box").text) + 1;
-
Game Master
also if text is a number you must define it as one in the starting script saying text=0 or something. For adding you do Text+=1. Also vars are case sensative.
-
Sorry, but it still doesn't work
N00b flasheR
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-
I can only suggest that you post your ".movie" so we can see exactly what your trying to do.
-
Originally Posted by ppedz
I can only suggest that you post your ".movie" so we can see exactly what your trying to do.
Yes, and make sure you put it in a .zip due to the limitations of FlashKit forums (which hosts this support forum).
Jeffrey Davis (3DFA user since 2.x... or was it 3.x?) (Yes, I finally reveal the offline identity of JSDvs9172, being myself of course. Oh, and sorry for stealing your signature idea, blanius, which I see you stopped using.)
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
|