-
Senior Member
you've got to be kidding...
this is driving me crazy. Here's a piece of code I'm using:
Code:
1tf.tabIndex = 1;
2tf.tabIndex = 2;
gy1.restrict = "0-9";
gy1.tabIndex = 3;
4tf.tabIndex = 4;
5tf.tabIndex = 5;
gy2.restrict = "0-9";
gy2.tabIndex = 6;
7tf.tabIndex = 7;
8tf.tabIndex = 8;
gy3.restrict = "0-9";
gy3.tabIndex = 9;
now personnaly I can't find any syntax errors, but when I export/pas into normal mode, flash gives this as output:
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 3: ';' expected
1tf.tabIndex = 1;
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 4: ';' expected
2tf.tabIndex = 2;
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 7: ';' expected
4tf.tabIndex = 4;
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 8: ';' expected
5tf.tabIndex = 5;
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 11: ';' expected
7tf.tabIndex = 7;
Symbol=Symbol 123, Layer=Layer 1, Frame=1: Line 12: ';' expected
8tf.tabIndex = 8;
am I missing something here?
any help would be appreciated.
-s.
-
Untitled-1.fla
You cannot name instances starting with a number. Well, actually you can, but if you do you have to write for example this[1]. Rename them and it should solve itself.
-
Senior Member
hmm... didn't know that. Thanks for the answer.
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
|