BTW, I really found out this happens when you resize the divider bar with the above script, then try to use the mousewheel. This is when the bug occurs.
Peace, Mike
On 2/16/06, Deepa Subramaniam <[EMAIL PROTECTED]> wrote:
Hi - What build are you using? I can't seem to reproduce this bug on our current internal build. I know we tackled a lot of mousing/scrolling RTE's in the List-based components but I don't want to dismiss this before I know what build you're using.
Thanks,
deepa--
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Teoti Graphix
Sent: Thursday, February 16, 2006 6:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] BUG :: List while using the mouseWheel/scroll
Hello,
Just reporting a strange bug.
I get error:
TypeError: Error #1010: undefined has no properties.
at mx.controls.listclasses::ListBase/scrollVertically()
at mx.controls.listclasses::ListBase/set vPosition()
at mx.controls.listclasses::ListBase/mouseWheelHandler()
Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" layout="absolute" creationComplete="loadData();">
<mx:Script>
<![CDATA[
public var dataProvider:Array;
public function loadData():void
{
dataProvider =
[
{label:"Item 1", data:"This is item 1"},
{label:"Item 2", data:"This is item 2"},
{label:"Item 3", data:"This is item 3"},
{label:"Item 4", data:"This is item 4"},
{label:"Item 5", data:"This is item 5"},
{label:"Item 6", data:"This is item 6"},
{label:"Item 7", data:"This is item 7"}
]
itemList.dataProvider = dataProvider;
itemList.addEventListener("change", showItem);
}
private function showItem(event):void
{
itemView.text = itemList.selectedItem.data;
}
]]>
</mx:Script>
<mx:Panel x="10" y="10" width="250" height="250" layout="vertical">
<mx:VDividedBox width="100%" height="100%">
<mx:List id="itemList" width="100%" height="100%"/>
<mx:TextArea id="itemView" width="100%" height="100%"/>
</mx:VDividedBox>
</mx:Panel>
</mx:Application>
Now mess around with the list select some items, then move the divider bar. Bam it gives me the error above.
Peace, Mike
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development
Computer software development
Software design and development
Macromedia flex
Software development best practice
YAHOO! GROUPS LINKS
* Visit your group "flexcoders" on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.