|
-
hello everyone,
okay I know htis is a bit of a stupid question but it's starting to conufuse me.
when I use a basic command like tellTarget("___") I put a } or a { or a ; behind it.
I htink Flash automatically puts a { on it.
And when I use things like gotoAndPlay it puts a ;
on the end.
Whta's the difference between {, }, and ;???
and when I made a new line I wasnted to { and make a space between the two line of commands and it gave me a syntaxe error.
please help 
thanks everyone in advanced!
-
Dear...
The explanation is following:
1. Char ";" is put at the end of the instruction, for example:
movie_clip.gotoAndPlay(1);
y=1;
2. Chars "{" and "}" indicate a block of instructions within the statement, for example:
with (movie_clip) {
_x=100;
_y=100;
gotoAndPlay(10);
......and so on
}
or
if (x == 1){
y=2;
j++;
.....and so on
}
Got it ?
For the rest, read ActionScript Reference in Flash 5 Help
OK. That´s all for the basics...
Good Luck
ZeroIQ
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
|