wck vs cs5

so, wck uses classes World (and i think Joint) which are now in conflict with adobe classes.
i believe mayobutter has already fixed the conflict internally in wck, but what about external use...

should i be changing all my dataType references to fully paths?
Code:
import wck.World
private var _myWorld:World

TO
Code:
import wck.World
private var _myWorld:wck.World



or will wck be changing its class names to wckWorld or something like that?

I consider this Adobe's fault but they are far less likely to respond with changes.
installed cs5 demo, to debug why my clients can't compile in cs5.
resolved any compile errors and output errors... but it continues to be broke in that no traces happen, and it doesn't stop when timeline code says to stop.
even the demo.fla with the latest wck just plays through the frames rather than functioning...

perhaps mayobutter hasn't fixed it for cs5? or maybe the demo version of cs5 is different than the full version?

just odd that im not getting errors, and no code is executing. (even traces)
tried copying my frames into a fresh new cs5 fla.
set document class
set to publish swc
setup wck sourcepath and librarypath

still no errors, and no code executing (even traces) just looping through frames....
WCK works with CS5 - I'm working in it right now actually. As for class names, use the class name with the package:

wck.World instead of World;
wck.Joint instead of Joint;

Note sure about the infinite looping thing...
trying to get demo to work in cs5...
today (perhaps due to a restart) i am now seeing errors, thats a ton more comforting than crashing w/o errors.

here they are, as usual its probably best to address the top few and recompile, since the others might disappear after that.
so, ill start looking into these overrides.

Quote:
WCK_libs\demo\..\extras\JointClickRemove.as, Line 23 1020: Method marked override must override another method.
WCK_libs\demo\..\extras\JointClickRemove.as, Line 30 1020: Method marked override must override another method.
WCK_libs\demo\..\extras\JointClickRemove.as, Line 1 5000: The class 'extras.JointClickRemove' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\WorldClickAdd.as, Line 1 5000: The class 'extras.WorldClickAdd' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\WorldClickAdd.as, Line 1 5000: The class 'extras.WorldClickAdd' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\WorldClickAdd.as, Line 1 5000: The class 'extras.WorldClickAdd' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\WorldClickAdd.as, Line 1 5000: The class 'extras.WorldClickAdd' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\WorldKinematicMouse.as, Line 1 5000: The class 'extras.WorldKinematicMouse' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\misc\FX.as, Line 1 5000: The class 'misc.FX' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\PinballPaddleLeft.as, Line 1 5000: The class 'extras.PinballPaddleLeft' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\PinballPaddleRight.as, Line 1 5000: The class 'extras.PinballPaddleRight' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\PinballPlunger.as, Line 1 5000: The class 'extras.PinballPlunger' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\Demo.as, Line 1 5000: The class 'Demo' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\misc\Parallax.as, Line 1 5000: The class 'misc.Parallax' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\gravity\GravityLinear.as, Line 1 5000: The class 'gravity.GravityLinear' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\gravity\GravityRadial.as, Line 1 5000: The class 'gravity.GravityRadial' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\gravity\GravitySine.as, Line 1 5000: The class 'gravity.GravitySine' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\gravity\GravityCapsule.as, Line 1 5000: The class 'gravity.GravityCapsule' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\BoxAndCircle.as, Line 1 5000: The class 'BoxAndCircle' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\BodyShape.as, Line 1 5000: The class 'wck.BodyShape' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\Joint.as, Line 1 5000: The class 'wck.Joint' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\Joint.as, Line 1 5000: The class 'wck.Joint' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\misc\ConnectorMask.as, Line 1 5000: The class 'misc.ConnectorMask' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\misc\ConnectorStretch.as, Line 1 5000: The class 'misc.ConnectorStretch' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\World.as, Line 1 5000: The class 'wck.World' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Arc180.as, Line 1 5000: The class 'shapes.Arc180' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Arc270.as, Line 1 5000: The class 'shapes.Arc270' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Arc360.as, Line 1 5000: The class 'shapes.Arc360' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Arc90.as, Line 1 5000: The class 'shapes.Arc90' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Box.as, Line 1 5000: The class 'shapes.Box' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Box.as, Line 1 5000: The class 'shapes.Box' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Box.as, Line 1 5000: The class 'shapes.Box' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\BoxMan.as, Line 1 5000: The class 'BoxMan' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Box.as, Line 1 5000: The class 'shapes.Box' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\BodyShapeClickRemove.as, Line 1 5000: The class 'extras.BodyShapeClickRemove' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\Transport.as, Line 1 5000: The class 'extras.Transport' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\wck\Buoyancy.as, Line 1 5000: The class 'wck.Buoyancy' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Circle.as, Line 1 5000: The class 'shapes.Circle' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Circle.as, Line 1 5000: The class 'shapes.Circle' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Circle.as, Line 1 5000: The class 'shapes.Circle' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Oval.as, Line 1 5000: The class 'shapes.Oval' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Line.as, Line 1 5000: The class 'shapes.Line' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\LineArc180.as, Line 1 5000: The class 'shapes.LineArc180' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\LineArc270.as, Line 1 5000: The class 'shapes.LineArc270' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\LineArc360.as, Line 1 5000: The class 'shapes.LineArc360' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\LineArc90.as, Line 1 5000: The class 'shapes.LineArc90' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly3.as, Line 1 5000: The class 'shapes.Poly3' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly4.as, Line 1 5000: The class 'shapes.Poly4' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly5.as, Line 1 5000: The class 'shapes.Poly5' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly6.as, Line 1 5000: The class 'shapes.Poly6' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly7.as, Line 1 5000: The class 'shapes.Poly7' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\shapes\Poly8.as, Line 1 5000: The class 'shapes.Poly8' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\Platform.as, Line 1 5000: The class 'extras.Platform' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\CircleBumper.as, Line 1 5000: The class 'extras.CircleBumper' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\CrayonLine.as, Line 1 5000: The class 'extras.CrayonLine' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
WCK_libs\demo\..\extras\CrayonSolid.as, Line 1 5000: The class 'extras.CrayonSolid' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
ok, followed the chain of errors (fix one then another is seen by the compiler)
replaced World with wck.World and Joint with wck.Joint where needed.

it dragged me through these classes for those changes.

JointClickRemove
WorldClickAdd
WorldKinematicMouse
PinballPaddleLeft
PinballPaddleRight
PinballPlunger
Gravity
BodyShape
Joint
TransportBus

with those changes Demo now compiles correctly.
I can send these to you if you like.

Gravity, BodyShape and Joint seem like classes you would run into in your daily use of cs5. i just downloaded this version yesterday...

is it possible that the latest version here doesn't contain the cs5 adjustments?
http://github.com/jesses/wck

or are you perhaps setting the wck sourcepath and library path to be above (before) the as3 libs/root path. because that would probably also fix cs5's tendency to assume the wrong World and Joint class.

anyway, just glad to be able to see cs5 errors today, so i can make progress again.
Woah, you are definitely using an older version of the code. Some of those classes don't even exist anymore. I did have to make some changes to get CS5 to work but that was a long time ago.

Original thread: https://box2d.org/forum/viewtopic.php?t=5796