backscripts vs. libraries in 8 with .livecodescript

2017-02-18 Thread Mike Kerner via use-livecode
Aside from the libraryStack/releaseStack messages, is there any difference between using a .livecodescript file as a backscript vs a library? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a

playloudness of audioclip ignored on Windows?

2017-02-18 Thread David V Glasgow via use-livecode
I have a ‘click' audio clip that typically is played once only in any one use of the software, as a sort of 'captured data’ indicator in response to an on screen button. That meant that the slight delay in first playing an audio clip was always noticeable for users. To get around this, I used

[OT] Kid's Play

2017-02-18 Thread Richmond Mathewson via use-livecode
When you need to have a break from LiveCode how about popping over here: https://www.facebook.com/RichmondsCoding Of course, if that fills you will joy: then go back and do it all in LiveCode :) Richmond. ___ use-livecode mailing list

Re: Help needed with scaleFactor and scaling

2017-02-18 Thread Colin Holgate via use-livecode
This seems to work (to make button 1 appear to be 100 pixels from the top and left, and to appear to be 200 wide and 150 tall): on fixit put random(10)/10 + 1 into it set the scalefactor of this stack to it set the rect of btn 1 to 100/it,100/it,100/it+100/it,100/it+50/it end fixit

Help needed with scaleFactor and scaling

2017-02-18 Thread Dan Friedman via use-livecode
Can anyone figure out the math to resize a control so it appears to be unchanged when you set the scaleFactor of a stack? For example… you have a button who’s rect is 100,100,400,400. On the screen, it looks to be 300px wide. Now, if you set the scaleFactor to 1.5, what rect do you have to