somewhere to talk about random ideas and projects like everyone else

stuff

#vml

Dojo? 01 November 2008

IE support is something really important to most users. especially with around 80% of the world still using it.

Raphael doesn’t seem that good, much worse than OnlyPaths SVG Renderer. But something that seems better is still Dojo.GFX

It supports Circles, Ellipses, Groups, Images, Lines, Draggable things, Paths, Points, Polylines, Rectangles, Text, Fonts, etc. and renders into VML, SVG and Silverlight.

It’s size isn’t too big either and there are CDNs for it. We could also learn from xDraw to design our editor.


IE somewhat works 29 July 2008

I just discovered the source of virtually all the IE problems: the non functional VMLRENDERER.prototype.info() function. I managed to implement part of it, and magically, IE works a bit. Its nto very stable, and the tween engine gets weird errors all the time.


Status Fixing the compiler problem 07 June 2008

I’ve located part of the problem. If I remove the reference to VMLRenderer.js, it suddenly starts working again. But how do I include it and get it to work still. I’m investigating.

EDIT 1:

Build 117 fixes the problem completely. it was simply because of mis-arrangement of the files. It was originally.

<script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>

  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script> 
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
…


for some reason, this messed up the compilier. I changed it to.

  <script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script>


and now it works fine :)