|
-
Yes. You are right on with that one. I was surprised that typecasting didn't catch my problem. It seems like a throw back to 1.0 where you could change the casting by just making the variable equal some new data type.
Unfortunately, fixing this problem does not change the problem with goalY and goalX. They remain undefined (I've shown the first few lines of output after implementing the correction to the array value assignment).
Level #0:
Variable _level0.$version = "WIN 9,0,45,0"
Variable _level0.i = 0
Variable _level0.u = 0
Variable _level0.goalY = undefined
Variable _level0.goalX = undefined
Variable _level0.myXArray = [object #1, class 'Array'] [
0:0,
1:-34,
2:-81,
3:-128,
4:-176,
5:-162,
6:-223,
7:-273,
8:-323
]
Variable _level0.myYArray = [object #2, class 'Array'] [
0:150,
1:-264
]
Variable _level0.mc1Listener = [object #3, class 'Object'] {
onLoadInit:[function 'onLoadInit']
}
This may suggest the solution, I just need to ponder this for a few more minutes. I'll let you know as soon as the light comes on.
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
|