Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
My script (which works fine in the IDE) is just play audioclip “myClip.wav" looping The audioclip is certainly there in the stack, and that snippet can be run in the message box. It can be stopped by play stop Is this stuff not available on mobile? After all, phones make sounds! Graham >

Re: Sound and the Xcode simulator

2020-04-19 Thread Graham Samuel via use-livecode
Oops, read Jacque’s email first. I replied that I am using an audioclip - in an earlier conversation, it seemed that people were saying that if you want to embed a sound (rather than have it as a file) then it can’t be an mp3. In fact I’d started with an mp3 and had to grumpily change it to WAV

Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
When doing standalone settings for mobile, if one chooses to copy files where do they go? My simulator setup is having a meltdown at present so it’s hard to test. I hope it’s the ‘resources’ folder. LC docs don’t say AFAICS. Graham Sent from my iPhone __

Re: Where do copied files go on mobile?

2020-04-19 Thread Klaus major-k via use-livecode
Hi Graham, > Am 19.04.2020 um 13:34 schrieb Graham Samuel via use-livecode > : > > When doing standalone settings for mobile, if one chooses to copy files > where do they go? My simulator setup is having a meltdown at present so it’s > hard to test. I hope it’s the ‘resources’ folder. LC docs

Re: Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
Thanks Klaus. I am parking a sound in there and obviously only reading it, so should be OK. My mysterious unresponsiveness in my app must be something else... Keep safe Graham Sent from my iPhone > On 19 Apr 2020, at 13:40, Klaus major-k via use-livecode > wrote: > > Hi Graham, > >> Am 1

Re: Where do copied files go on mobile?

2020-04-19 Thread Klaus major-k via use-livecode
Hi Graham, > Am 19.04.2020 um 13:46 schrieb Graham Samuel via use-livecode > : > > Thanks Klaus. I am parking a sound in there and obviously only reading it, so > should be OK. yep! > My mysterious unresponsiveness in my app must be something else... Hm, what fileformat are you using and wha

Re: Simple 3D animation question

2020-04-19 Thread David Bovill via use-livecode
Thanks for all the input - threeJS is great. I’ll take your advice on that. I haven’t updated my knowledge on it for a couple of years. FYI - a reason for using Livecode exists outside of the actual animation. It’s the educational aspect and geometry. Would like to be able to explore the langua

Re: Where do copied files go on mobile?

2020-04-19 Thread Graham Samuel via use-livecode
Hi Klaus Thanks for your continued interest. In fact I got it working! As stated earlier, I converted my sound to .m4a (there are internet services for this kind of conversion) and included it in the Standalone Copy Files section. I have this in the OpenStack handler of the main stack of the ap

Re: Where do copied files go on mobile?

2020-04-19 Thread Klaus major-k via use-livecode
Hi Graham, > Am 19.04.2020 um 18:37 schrieb Graham Samuel via use-livecode > : > > Hi Klaus > > Thanks for your continued interest. In fact I got it working! As stated > earlier, I converted my sound to .m4a (there are internet services for this > kind of conversion) and included it in the St

What makes everything on a card unresponsive?

2020-04-19 Thread Graham Samuel via use-livecode
Sorry to trouble this list yet again, but the main screen (in fact the the first card) in my mobile app has a “settings” graphic which acts as a button which to take the user to a ‘menu’ card. That card contains buttons and graphics which lead on (via very simple MouseUp handlers) to specialised

Re: What makes everything on a card unresponsive?

2020-04-19 Thread Klaus major-k via use-livecode
Hi Graham, > Am 19.04.2020 um 19:34 schrieb Graham Samuel via use-livecode > : > > Sorry to trouble this list yet again, but the main screen (in fact the the > first card) in my mobile app has a “settings” graphic which acts as a button > which to take the user to a ‘menu’ card. That card cont

Re: LC 9.6.0 (dp4) - cannot set the URL of an iOS native browser if it was previously set to empty

2020-04-19 Thread J. Landman Gay via use-livecode
This looks a lot like the bug in the browser widget in LC dp3 which was fixed for dp4: On 4/18/20 12:52 PM, HENRY LOWE via use-livecode wrote: Took me some time to track this one down, so I thought that it might be helpful to know in advance

Re: What makes everything on a card unresponsive?

2020-04-19 Thread Graham Samuel via use-livecode
Hard to extract, but I have a new idea - what if the message queue is being swamped? I have flimsy evidence that the simulator is generating locationChanged message (odd, because I don’t think it really has changed). Can I interrogate the queue? Just feeling my way. Graham Sent from my iPhone

Re: What makes everything on a card unresponsive?

2020-04-19 Thread Klaus major-k via use-livecode
Hi Graham, > Am 19.04.2020 um 21:16 schrieb Graham Samuel via use-livecode > : > > Hard to extract, but I have a new idea - what if the message queue is being > swamped? I have flimsy evidence that the simulator is generating > locationChanged message (odd, because I don’t think it really has

md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
Before I report this as a bug, please confirm I’m not doing something stupid. LiveCode 9.5.1 Indy In the message box put the following: put the md5Digest of "LiveCode" I get the expected result on Macintosh but a different result on Windows. Thank you, Bill Vlahos _

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread matthias rebbe via use-livecode
I think this is, because Mac uses Mac Roman and Windows ISO encoding. Or am i wrong? - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode > : > > Before I report this as a bug, please confirm I’m not doing something stupid. > > LiveC

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
Well earlier versions of LiveCode gave the same results on Mac and Windows. Bill > On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode > wrote: > > I think this is, because Mac uses Mac Roman and Windows ISO encoding. > > Or am i wrong? > > - > Matthias Rebbe > Life Is Too Short For

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Brian Milby via use-livecode
Try this: put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x You will get the same on both platforms. On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode < use-livecode@lists.runrev.com> wrote: > Well earlier versions of LiveCode gave the same results on Mac and W

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
The LiveCode Dictionary states: When generating a messageDigest for a string, it is a good idea to encode it to binary data using the textEncode <> function. Otherwise, the messageDigest could be different, depending on the platform <> on which your application is running. However, I tried thei

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Monte Goulding via use-livecode
Hi Bill As Brian said LiveCode is not calculating different values on different platforms. You can’t just look at the output in a text field and compare though. The function returns binary data so needs to be hex encoded for cross platform comparison. If you put it into a field then LiveCode wi