Search found 102 matches

by rinzwind
Thu Sep 17, 2015 9:00 pm
Forum: iOS Deployment
Topic: mobilePlaySoundOnChannel cached?
Replies: 2
Views: 2504

mobilePlaySoundOnChannel cached?

One can't replay a sound already played on a channel (at least there is no such command). You always have to specify the full path again. This worries me... does iOS have to get the file each and every time from disk? While testing a small app with a very short wav file (not in simulator, but on ipa...
by rinzwind
Thu Sep 17, 2015 9:20 am
Forum: iOS Deployment
Topic: mouseloc & multitouch
Replies: 5
Views: 4852

Re: mouseloc & multitouch

aha so touchMove is also send when a touch starts (or isnt moved ;)). That helps. Still would be nice if mousePos would include multitouch support or if x and y are supplied to touchStart/touchEnd.
Thanks!
by rinzwind
Thu Sep 17, 2015 7:38 am
Forum: iOS Deployment
Topic: mouseloc & multitouch
Replies: 5
Views: 4852

Re: mouseloc & multitouch

nope there they use the target.. which is one of 9 buttons. Not exact x and y...
by rinzwind
Wed Sep 16, 2015 11:07 pm
Forum: iOS Deployment
Topic: mouseloc & multitouch
Replies: 5
Views: 4852

mouseloc & multitouch

in the handler for mouseDown or touchDown...
how do I get the x and y coordinate of all touches? The mouseloc only returns the first finger down, not the second. The target only returns the control below the finger... not the exact x and y.
by rinzwind
Sat Sep 12, 2015 10:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

Re: button negative loc

Same thing..
by rinzwind
Sat Sep 12, 2015 10:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

Re: button negative loc

Bug report is here for anyone who can bump the priority up a bit (seems like an easy to fix thing)

http://quality.runrev.com/show_bug.cgi?id=15918
by rinzwind
Fri Sep 11, 2015 7:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

Re: button negative loc

a ridiculous workaround is calling another command using send "setpos buttonid,x,y" to me in 60 milliseconds
that delay is necessary, otherwise it still does not work.
by rinzwind
Fri Sep 11, 2015 5:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

Re: button negative loc

Well ... it is reproducible. on mouseUp create button "abc" set the loc of button "abc" to -50,-50 end mouseUp It will position the button in the top left corner instead... Strangely, set the loc of button "abc" to -50,-50 will work after the whole message path in which button abc is created is done...
by rinzwind
Fri Sep 11, 2015 3:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

Re: button negative loc

If you debug through it, it will work... so weird stuff going on

also if you replace clone with create button it still happens... cant position it outside of the card
by rinzwind
Fri Sep 11, 2015 3:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: button negative loc
Replies: 9
Views: 5113

button negative loc

How do I prevent LiveCode from pushing a button into the visible area when setting a negative value? This not happens always... but the following code will do it every time:

clone button "btest"
put the id of it into tid
set the loc of button id tid to -32,100

I can't seem to find a work around...
by rinzwind
Thu Sep 03, 2015 2:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resize images not permanent
Replies: 6
Views: 4058

Re: resize images not permanent

the combination of lockloc and imagedata does it... ugly but it works
by rinzwind
Thu Sep 03, 2015 1:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resize images not permanent
Replies: 6
Views: 4058

Re: resize images not permanent

somehow the original imagedata is still there.. I can resize it back to the original size without loss of quality. Thats not what I want. I just want permanent resize and no leftovers.
by rinzwind
Thu Sep 03, 2015 1:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resize images not permanent
Replies: 6
Views: 4058

Re: resize images not permanent

wow thanks. looks better than the other weird solution I found...
set the imageData of image id tid to the imageData of image id tid

that's just crazy ;)
by rinzwind
Thu Sep 03, 2015 1:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resize images not permanent
Replies: 6
Views: 4058

Re: resize images not permanent

even a save right after doesn't fix it. Switching cards... tada back to default original size.

whaaat even if I resize in the property inspector it's not permanent...
by rinzwind
Thu Sep 03, 2015 1:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resize images not permanent
Replies: 6
Views: 4058

resize images not permanent

I resize copied images on a card with: go to card "ResizedResources" repeat with i = 1 to the number of images put the id of image i into tid set the width of image id tid to xwidth set the height of image id tid to yheight end repeat I can see them get resized. But as soon as I switch cards, everyt...

Go to advanced search