What steps will reproduce the problem?
1. open the console in an AIR application which uses a spark.components.Window
2. Dragging the resized outside the windows size and release mouse button
3. notice the error message when running the application via ADL
What is the expected output? What do you see instead?
I would expect, that you cant resize over the bounds of the window (collision
detection with window width) or at least dont show an error. this could cause a
deployed application to crash after a while and not using the ADL.
Error:
<snip>TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at com.junkbyte.console.view::ConsolePanel/getSnapOf()[M:\Projects\console\trunk\src\com\junkbyte\console\view\ConsolePanel.as:272]
at com.junkbyte.console.view::ConsolePanel/returnSnappedFor()[M:\Projects\console\trunk\src\com\junkbyte\console\view\ConsolePanel.as:268]
at com.junkbyte.console.view::ConsolePanel/updateScale()[M:\Projects\console\trunk\src\com\junkbyte\console\view\ConsolePanel.as:229]
at com.junkbyte.console.view::ConsolePanel/onScalerMouseUp()[M:\Projects\console\trunk\src\com\junkbyte\console\view\ConsolePanel.as:245] </snip>
What version of the product are you using? On what operating system?
Console v2.52 build 593. Desktop WIN 11,1,102,58.
Please provide any additional information below.
Great work so far :)
Original issue reported on code.google.com by m...@mediensurfer.de on 6 Mar 2012 at 9:15
Original issue reported on code.google.com by
m...@mediensurfer.de
on 6 Mar 2012 at 9:15