Search found 1728 matches

by SparkOut
Wed Jun 20, 2018 11:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copying image acros stacks doesn't work on Mac
Replies: 9
Views: 96

Re: copying image acros stacks doesn't work on Mac

Yes! Get used to specialFolderPath("resources") - this is where you will find all files and folders included in the standalone settings. It works on all architectures and is intended to reference "resource" files for this exact reason. It is a read only location on most platforms. And loads of peopl...
by SparkOut
Wed Jun 20, 2018 9:49 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copying image acros stacks doesn't work on Mac
Replies: 9
Views: 96

Re: copying image acros stacks doesn't work on Mac

Also try "put the long id of <the image reference>" and/or "if there is an image <the image reference >" before you try to copy. You will hopefully get more clues as to what is wtong. If it works in the IDE but not the standalone then it is most likely either a relative path issue or a standalone in...
by SparkOut
Tue Jun 19, 2018 9:43 pm
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 7
Views: 146

Re: Play (audioClip) delay / hang

Haha, that's of old, I always think "jwack" the same as I can't help but say "Klausimausi" :)
by SparkOut
Tue Jun 19, 2018 7:26 pm
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 7
Views: 146

Re: Play (audioClip) delay / hang

Thanks jwack, I will test that as soon as I can
by SparkOut
Tue Jun 19, 2018 7:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having an issue using replace and Item number
Replies: 7
Views: 200

Re: Having an issue using replace and Item number

I doubt there would be any difference in measurable terms but you can eliminate the check for the empty temp var and just

Code: Select all

put tLine & cr after tempsortedxml
at the end just delete the last char to get rid of the trailing cr.
by SparkOut
Tue Jun 19, 2018 6:55 am
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 7
Views: 146

Re: Play (audioClip) delay / hang

Preplaying the audioClip doesn't help. It hangs and delays every time. I used play audioClip because the sound file is very small and it avoids lots of problems I had with QuickTime and the transition to post-QuickTime after it was deprecated. I can try a player object but I have heard about similar...
by SparkOut
Sun Jun 17, 2018 9:40 pm
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 7
Views: 146

Play (audioClip) delay / hang

A stack with animation has a whistle.wav audioClip imported. When the animation gets to a certain position the sound is supposed to play. It has been working fine for a considerable time on my old laptop (Windows 10, 32 bit, LC 9.0). I just tried it on a new laptop (Windows 10, 64 bit, LC 9.0) and w...
by SparkOut
Sun Jun 17, 2018 6:14 pm
Forum: Talking LiveCode
Topic: Use of layers in groups of groups - some observations
Replies: 11
Views: 189

Re: Use of layers in groups of groups - some observations

What Klausimausi said. Also it is just more readable, every Livecoder will find it much more familiar to read "the property" versus getting a value from "tVariable".
by SparkOut
Sun Jun 17, 2018 12:43 pm
Forum: Talking LiveCode
Topic: Use of layers in groups of groups - some observations
Replies: 11
Views: 189

Re: Use of layers in groups of groups - some observations

I was just playing with your stack and actually on my system (Windows 10, LC 9) the grabbed photogroup has a nice semi-transparency that is not obscured by any of the other groups while being dragged! But anyway, I checked and yes, rather than relayer to a specific number over the top and outside th...
by SparkOut
Sun Jun 17, 2018 8:40 am
Forum: Talking LiveCode
Topic: Use of layers in groups of groups - some observations
Replies: 11
Views: 189

Re: Use of layers in groups of groups - some observations

For nested groups with relayer, this is where "the owner of" comes in handy.
by SparkOut
Sun Jun 17, 2018 12:31 am
Forum: Talking LiveCode
Topic: Use of layers in groups of groups - some observations
Replies: 11
Views: 189

Re: Use of layers in groups of groups - some observations

"relayer" is also a very useful, and possibly more convenient way to manage things these days. You can relayer button "someButton" to front of the owner of button "someButton" assuming someButton is in the group "someGroup" (ie someGroup is the owner of someButton and there isn't more nesting) then ...
by SparkOut
Mon Jun 11, 2018 9:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Generating Variables in a Repeat loop
Replies: 30
Views: 671

Re: Generating Variables in a Repeat loop

Just to add more mud to the water, value() is a useful* sidestep/hybrid/tweenstep twixt direct native syntax and the "do" construct.

* in appropriate circumstances
by SparkOut
Fri Jun 08, 2018 6:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: exitField firing multiple times
Replies: 8
Views: 246

Re: exitField firing multiple times

In the development menu, you can find the message watcher, which gives you a list of all the messages as they fire. In real time, so it's not easy to read, but with some judicious stopping and starting and filtering, you could track down the sequence of events and what happens immediately before the...
by SparkOut
Thu Jun 07, 2018 6:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having an issue using replace and Item number
Replies: 7
Views: 200

Re: Having an issue using replace and Item number

Yes, what is the expected result? If you are looking for 1,2,1,4,5,6,3 then "replace" is not what you need, as it will replace all instances of the matched value in tLine. If you only want to replace item 3 then simply put 1 into item 3 of tLine If it is not what you need, then we need to understand...
by SparkOut
Mon Jun 04, 2018 1:50 pm
Forum: Talking LiveCode
Topic: Image Upload
Replies: 9
Views: 278

Re: Image Upload

The point is, how does the SERVER handle the receipt and processing of the posted data?

Go to advanced search