Yay,

 

Thanks for your help guys,

 

Jim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: 23 February 2006 14:10
To: Open Source Flash Mailing List
Subject: Re: [osflash] Xray - has anyone made it bigger?

 

Ok Jim, could you try this?

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/swf/xray_1.2.5_test.swf?rev=99&format=raw

after messing with it, this seems to work in my initial tests, but of course, I have to guess on the amount of maxHPosition needed.  So, I'm grabbing the selected node's visible index and multiplying by 10:

tree.maxHPosition = tree.getDisplayIndex(parentXML) * 10;
tree.hPosition = tree.maxHPosition;

Let me know if this works.  If it does, I'll do an official update

Thanks all for your help,

On 2/23/06, John Grden <[EMAIL PROTECTED]> wrote:

nm -

Description

Property; specifies the number of pixels the list can scroll when List.hScrollPolicy is set to "on". The list doesn't precisely measure the width of text that it contains. You must set maxHPosition to indicate the amount of scrolling that the list requires. The list does not scroll horizontally if this property is not set.

Hello - enter the hack.

 

On 2/23/06, John Grden < [EMAIL PROTECTED]> wrote:

well, I have now have the policy turned on, but when I update the treeview and check maxHPosition, it's always 0.

Is there anything else I should be doing?

 




--
John Grden - Blitz

_______________________________________________
osflash mailing list
osflash@osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to