[Xerte] Making a table in Xerte 1.9

Paul Swanson Paul.Swanson at harlandfs.com
Mon Nov 19 15:41:45 GMT 2007


I'm using the button.swf that Xerte installed in the
Xerte\templates\flexStyleComponents folder. It used to work without a
problem. I think the behavior I noted was introduced in version 1.8.
 
It's a short week for me too, just 3 days. I hope you enjoy your week
off.
 
Paul


________________________________

	From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
	Sent: Sunday, November 18, 2007 1:39 PM
	To: Xerte discussion list
	Subject: RE: [Xerte] Making a table in Xerte 1.9
	
	
	You're using custom buttons right? Or native Xerte ones? It
might be that I never built the tooltip into the native buttons. The
tooltip is added to the parent page of the interaction, at a high depth,
so changing the depth of the entry frame shouldn't be the problem. 
	 
	I'm off this week, but I'll look into it when I get back,
	 
	Julian

________________________________

	From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul
Swanson
	Sent: Fri 16/11/2007 23:48
	To: Xerte discussion list
	Subject: RE: [Xerte] Making a table in Xerte 1.9
	
	
	I downloaded 1.9, but I still have the problem with the tool
tip. One thing I forgot to mention that maybe should be considered is
that to make the button always available, I used
mainEntryFrame.swapDepths(99);. So maybe the Tool Tip is on a lower
layer? I guess not: for testing, I set the layer back to 1, and it still
didn't show the tool tip.
	 
	I have been using some of the drawing tools for my table. To
create a "heading" row, I've been setting the lineStyle and beginFill,
then drawing a rectangle of the appropriate size. The problem I have
with the rest of the table is that the heights of the rows will vary
depending on how much text I need to fit, so I've been using Text icons
(one cell per icon), then setting the h property of the text icon and
using iconID.drawBorder(1,'#000000',100); to draw the cell borders. It
works well, and by using the 'Duplicate Icon' feature, it's not as much
work as I thought it was going to be for a 2 column, 10 row table. 
	 
	- Paul


________________________________

		From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
		Sent: Friday, November 16, 2007 3:15 PM
		To: Xerte discussion list
		Subject: RE: [Xerte] Making a table in Xerte 1.9
		
		
		Download 1.9 which will fix your tooltips woes. I found
that bug and fixed it.
		 
		Use Flash's native drawing tools to draw a grid or
whatevr you want on the screen:
		 
		iconID.lineStyle(1,0xFF0000,100);//width, colour, alpha
		iconID.moveTo(x,y)
		iconID.lineTo(x,y)
		 
		Do that in a loop to draw the grid,
		 
		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.
		 
		Julian
		 

________________________________

		From: xerte-bounces at lists.nottingham.ac.uk on behalf of
Paul Swanson
		Sent: Fri 16/11/2007 17:07
		To: xerte at lists.nottingham.ac.uk
		Subject: [Xerte] Making a table in Xerte 1.9
		
		

		Julian, 

		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?

		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.

		_____________________________ 

		 Paul Swanson 
		 Instructional Designer 
		 Harland Financial Solutions 
		_____________________________ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20071119/94ded5f6/attachment.html


More information about the Xerte mailing list