[worldKit-dev] errors in compiling source code
Sige
sigenz at yahoo.co.nz
Tue Nov 20 17:39:02 PST 2007
Hi all,
I am trying to compile the source from svn using mtasc-1.13, but got some errors:
1. type errors
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitRSS.as:491: characters 28-31 :
type error String should be Number (source code:
Points[p].tracks(Points[p-1].mc[ Points[p-1].clipname]._x, Points[p-1].mc[ Points[p-1].clipname]._y);
)
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitInteraction.as:515: characters 1-8 :
type error Local variable redefinition : geo
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitImages.as:55: characters 9-15 :
type error Unknown variable length (code: if (length(conf.dayimg) > 0))
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitImages.as:488: characters 20-21 :
type error Unknown variable w
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitImages.as:522: characters 26-71 :
type error Date should be Number
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitRSS.as:221: characters 6-15 :
type error String has no field href
2. invalid expresion
C:\Program Files\mtasc-1.13/std/com/brainoff/worldkitGPX.as:31: characters 5-75 :
parse error Invalid Expression (source code:
new worldkitGPX(main, mc, s, layer, conf.gpx[s].url, conf.gpx[s].cats);
3. unknown variables
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:63: characters 10-16 :
type error Unknown variable length
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:70: characters 18-27 :
type error Unknown variable substring
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:82: characters 21-27 :
type error Unknown variable length
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:86: characters 8-17 :
type error Unknown variable substring
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:131: characters 7-8 :
type error Unknown variable i
C:\Program Files\mtasc-1.13/std/com/brainoff/RegExp.as:155: characters 16-20 :
type error Unknown variable root
.......
I suppose those are caused by a compiler version problem, so what version of mtasc should be used?
By the way, what is the file worldkit.fla used for?
Thanks a lot
Sige
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the worldkit-dev
mailing list