<HTML dir=ltr><HEAD><TITLE>Making a table in Xerte 1.9</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText13538 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Download 1.9 which will fix your tooltips woes. I found that bug and fixed it.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Use Flash's native drawing tools to draw a grid or whatevr you want on the screen:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>iconID.lineStyle(1,0xFF0000,100);//width, colour, alpha</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>iconID.moveTo(x,y)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>iconID.lineTo(x,y)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Do that in a loop to draw the grid,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Are you familiar with Flash's drawing methods id.lineStyle(width, col, alpha) and id.beginFill(col, alpha), moveTo(x,y) and lineTo(x,y), and Xerte's drawing methods like iconID.drawRect(x,y,w,h)? You need to call iconID.beginFill or iconID.lineStyle before calling either Flash or Xerte's drawing methods to set how the drawing should proceed.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Julian</FONT></DIV>
<DIV dir=ltr> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Paul Swanson<BR><B>Sent:</B> Fri 16/11/2007 17:07<BR><B>To:</B> xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] Making a table in Xerte 1.9<BR></FONT><BR></DIV>
<DIV>
<P><FONT face=Verdana size=2>Julian,</FONT> </P>
<P><FONT face=Verdana size=2>I'm attempting to present some information in a table. I've worked out a way to use the drawBorder() method on some text icons, but it is a labor-intensive way to go about it, so I wonder if there is a better way that you know of. Do you think snapToGrid() would be useful for this?</FONT></P>
<P><FONT face=Verdana size=2>Also, I've noticed a problem in that I have a perpetual button (using the button.swf) with a Tool Tip that no longer displays. Actually, this was a problem in 1.8 as well. When I hover over the button, after about a half a second, the cursor changes to an I-beam and clicking does nothing. If I click right after placing the pointer over the button it will display my Table of Contents (it runs a script that executes rootIcon.showTOC();), but if I take too long nothing happens when you click. And no tool tip in either case. If it matters, I have the default interface turned off.</FONT></P>
<P><FONT face="Courier New" color=#808080 size=2>_____________________________</FONT> </P>
<P><FONT face="Courier New" color=#808080 size=2> Paul Swanson</FONT> <BR><FONT face="Courier New" color=#808080 size=2> Instructional Designer</FONT> <BR><FONT face="Courier New" color=#808080 size=2> Harland Financial Solutions</FONT> <BR><FONT face="Courier New" color=#808080 size=2>_____________________________</FONT> </P></DIV></BODY></HTML>