drflash / mad-components

Automatically exported from code.google.com/p/mad-components
1 stars 0 forks source link

Bug when scrolling clickableGroup #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

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

3. 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.

Original issue reported on code.google.com by scr33nsh...@gmail.com on 30 Jun 2011 at 1:30

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 0.5.3

Original comment by doc.andr...@gmail.com on 1 Jul 2011 at 12:49