hang when changing stack height

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Jul 8 15:22:20 EDT 2008


Hi Martin,

Are you using a Mac, does your stack have a menu bar and have you set  
editMenus to false, i.e. the menubar is not visible on the stack but  
appears in the menubar on top of the screen?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 8 jul 2008, at 21:07, Martin Koob wrote:
>
> Hi Mark
>
> I don't have any script run after the height change.  Script hangs in
> the middle of the handler right after the set height command is
> executed.
>
> This will happen whether or not the file name of the object is empty  
> or
> has a movie file name in it.
>
> I will not occur the first couple of times but it will eventually
> happen.
>
> I have been doing more work on this.  I noticed that it only happens
> when increasing the size of the stack.   I was using the same order to
> change sizes,  1. change player size, 2 change stack size.   When
> increasing the size this caused the player to go outside the bounds of
> the stack.  I thought this may be the problem. So I tried using a
> conditional to identify when increasing the size and in that case I
> changed order of resizing to  1.stack size increase, 2. playersize
> increase.
>
> I have been changing sizes of the stack and the player by individually
> changing the height and width values.  I have also been centering the
> player on the stack as it is changed to keep it from going beyond the
> bounds of the stack by setting the location of the player and at the  
> end
> I set the final position of the player by setting the top left of the
> player.
>
> This seemed to work until i added in a "set  lockscreen to true"
> statement at the  beginning of the handler and a "set lockscreen to
> false" statement at the end of the handler.  I did this to hide all  
> the
> changes going on from the user.   This caused the hang to occur again
> when increasing stack height.
>
>
> I have not tried this yet with lock messages.
>
> Martin
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list