Search found 102 matches
- 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...
- 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!
Thanks!
- 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...
- 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.
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.
- 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..
- 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
http://quality.runrev.com/show_bug.cgi?id=15918
- 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.
that delay is necessary, otherwise it still does not work.
- 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...
- 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
also if you replace clone with create button it still happens... cant position it outside of the card
- 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...
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...
- 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
- 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.
- 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
set the imageData of image id tid to the imageData of image id tid
that's just crazy
- 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...
whaaat even if I resize in the property inspector it's not permanent...
- 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...