Problem with LoadBrush in Hollywood 5.0
Posted: Fri Mar 02, 2012 4:35 pm
Some of my programs crash under the new Hollywood 5.0. I've tracked the problem to the LoadBrush() command when using table data for "X" or "Width." For some reason, "Y" and "Height" values are not a problem.
Example: LoadBrush(1,"mypic.jpg", {X=10, Y=10, height=500, width=1280}) will cause a crash. If "X" is zero and "Width" is the native width of the picture, it won't crash. (By crash, I mean I get the popup box that states "Hollywood.exe has stopped working" with an option to close the program. The IDE doesn't close...only the script I was running closes.
Also of note, this same code (and all my other scripts) worked fine under Hollywood 4.8.
This is a very specific and odd behavior, I know. Just wondering if anyone can confirm this error. (Running under Windows 7)
Example: LoadBrush(1,"mypic.jpg", {X=10, Y=10, height=500, width=1280}) will cause a crash. If "X" is zero and "Width" is the native width of the picture, it won't crash. (By crash, I mean I get the popup box that states "Hollywood.exe has stopped working" with an option to close the program. The IDE doesn't close...only the script I was running closes.
Also of note, this same code (and all my other scripts) worked fine under Hollywood 4.8.
This is a very specific and odd behavior, I know. Just wondering if anyone can confirm this error. (Running under Windows 7)