Export to GitHub

mad-components - issue #11

Bug when scrolling clickableGroup


Posted on Jun 30, 2011 by Happy Bird

What steps will reproduce the problem? 1. Take the MadGroups example and copy/paste the clickableGroup block a few times so that the content is too long for the screen.

  1. directly after the opening vertical tag of CONTACTS add a scrollVertical - close it just before the last line of XML (close vertical tag)

  2. Run the app and scroll up and down.

What is the expected output? The screen scrolling up and down with no errors.

What do you see instead?

A fairly regular error (particularly easy to trigger if you click on the background near the three buttons)

TypeError: Error #1010: A term is undefined and has no properties. at com.danielfreeman.madcomponents::UIForm/resetGroupClicked()[/Users/danielfreeman/Documents/Adobe Flash Builder 4/MadComponentsLib/src/com/danielfreeman/madcomponents/UIForm.as:541] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.danielfreeman.madcomponents::UIScrollVertical/mouseUp()[/Users/danielfreeman/Documents/Adobe Flash Builder 4/MadComponentsLib/src/com/danielfreeman/madcomponents/UIScrollVertical.as:227]

What version of the product are you using? 0.5.2

On what operating system? Windows 7 x64

Please provide any additional information below.

My modified MadGroups.as attached.

Attachments

Comment #1

Posted on Jul 1, 2011 by Grumpy Bird

Fixed in 0.5.3

Status: Fixed

Labels:
Type-Defect Priority-Medium