-
//Frame 1
xyz = new Array();
---
//Frame 2
xyz[1,4] = 5;
tellTarget("MovieClipName"){
gotoAndStop(xyz[1,4])
}
stop();
---
Why doesn't "MovieClipName" reach frame(5) and Stop?
Appericate if anyone could answer my stupid question...
-
Originally posted by chisinlo
//Frame 1
xyz = new Array();
---
//Frame 2
xyz[1,4] = 5;
tellTarget("MovieClipName"){
gotoAndStop(xyz[1,4])
}
stop();
---
Why doesn't "MovieClipName" reach frame(5) and Stop?
Appericate if anyone could answer my stupid question...
i didnt try it but lets do it :
first put in the secnd frame:
trace(xyz[1,4]);
if it give the value 5
if it is not try :
trace(_root.xyz[1,4]);
-
I've just asked someone who knows C, he told me the syntax of a mutli-dimension array for C is i[x][y][z]...
I don't know C well, so I stuck to the old Pascal format of a 3D array that is i[x, y, z]. (But I am no good in Pascal too!)
Boaz, would it be the problem of such a syntax's problem?
I will test it myself to see the result.
Anyway, thank you boaz, you are the only one who replyed my question.
-
You missed the _root.
//Frame 1
xyz = new Array();
---
//Frame 2
xyz[1,4] = 5;
tellTarget("MovieClipName"){
gotoAndStop(_root.xyz[1,4])
}
stop();
-
Thanks, you answer solved me some essential questions!
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
|