Search found 21 matches
- Fri Mar 09, 2012 10:20 am
- Forum: iOS Deployment
- Topic: New iPad
- Replies: 1
- Views: 1800
New iPad
the new iPad has a resolution of 2048 x 1536 px. If I start a new project at this size, will it be down-scalable to iPad2 (and perhaps iPhone) if needed?
- Sat Feb 12, 2011 6:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Importing from Quark Xpress
- Replies: 0
- Views: 1389
Importing from Quark Xpress
I have a QuarkXpress 6.5 document containing a complex layout of text and picture frames. I would like to import that into an iOS project. So I converted the print format to 1024px web format in order to get an iPad landscape mode. But then I get stuck. I can make a webpage from there, but I would n...
- Thu Jan 13, 2011 4:31 pm
- Forum: iOS Deployment
- Topic: iOS Developer - provisioning profile error
- Replies: 5
- Views: 5326
Re: iOS Developer - provisioning profile error
The provisioning profile was not necessary for the simulator, but is required by Apple for the physical device. So Apple lets you set up your own profile through the iOS Provisioning Portal with guidance through the Program User Guide (available from the front page of the iOS Provisioning Portal), w...
- Thu Jan 13, 2011 4:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: playing a sound: .aiff ≠ .aiff?
- Replies: 1
- Views: 1854
playing a sound: .aiff ≠ .aiff?
I took an .aiff file from a CD and tried to play it in a stack. Instead of the music I heard a scratching noise in the rhythm of the music. Then I put the file into Audacity (an audio software program) an exported it again as .aiff without knowingly changing anything. The file then played correctly....
- Wed Dec 22, 2010 9:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
Re: type casting for switch/case?
Thank you both for the reply. After restarting my test it works as you indicated. When I last did the experiments, I now remember that I had some other stacks open which must have given me those inexplicable beeps. Now I've learned that I better use written output than beeps. Sorry for the turmoil, ...
- Wed Dec 22, 2010 5:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
Re: type casting for switch/case?
OK. But the main thing to learn is that the case structure is testing for the string "3", and you gave it ("3" & space). Since no arithmetic was involved, the strings stand as they are. The two strings are different. Craig Newman well, then - vice versa - put "3" into a switch a case "3 " #(3 follo...
- Wed Dec 22, 2010 9:52 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
Re: type casting for switch/case?
But why did you grab char 6 AND char 7? To accommodate a possible two digit line number? Well and good, except that with a single digit line number, you now have a digit AND a space in your variable. So when you test for the case "3", it fails, because the variable contains ("3" & space). This is n...
- Wed Dec 22, 2010 9:40 am
- Forum: iOS Deployment
- Topic: bouncy behavior
- Replies: 3
- Views: 3523
Re: bouncy behavior
Hi, Lupuss. I uploaded a stack to revOnline called 'Finger' some time ago as a starting point for this kind of stuff. It seemed to work well on Windows, but when I got a Mac I noticed that it behaved very differently. I've not done any more work on it, but I did try it on an iPod and it worked OK. ...
- Tue Dec 21, 2010 8:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
Re: type casting for switch/case?
why don't you script "... word 2 of the clickline.." as Craig suggested (to avoid possible type conversion)? That will work, believe us :) Yes, it works and it is more elegant anyway. I am just wondering if there is some provision for type casting in LiveCode (I have not found any commands) and if n...
- Tue Dec 21, 2010 7:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
Re: type casting for switch/case?
sorry, I simplified my code a little too much, since the original is very long. It shows the described behavior if linenum ist declared as (since I actually have more than 9 lines) on mouseup put (char 6 of the clickline & char 7 of the clickline) into linenum switch linenum case 3 beep end switch e...
- Tue Dec 21, 2010 6:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: type casting for switch/case?
- Replies: 11
- Views: 7674
type casting for switch/case?
The following code of a field should beep if one clicks line 3 of the field on mouseup put (char 6 of the clickline) into linenum switch linenum case 3 beep end switch end mouseup ...but it doesn't. Only after performing an arithmetic operation with the variable linenum does the code work as expecte...
- Tue Dec 21, 2010 5:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Multiple Line Output in the Message Box
- Replies: 4
- Views: 3325
Re: Multiple Line Output in the Message Box
that's it - thanx a lot! (the ... after msg - thing is really tricky)
- Tue Dec 21, 2010 4:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Multiple Line Output in the Message Box
- Replies: 4
- Views: 3325
Re: Multiple Line Output in the Message Box
you need to prepare the output to be two lines: on mouseup put clickLine() & CR & char 6 of the clickline end mouseup Sorry, I cannot have the two outputs in the same line. They need to be in separated lines, because there are operations in between by which I will output char 6 of the clickline only...
- Tue Dec 21, 2010 3:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Multiple Line Output in the Message Box
- Replies: 4
- Views: 3325
Multiple Line Output in the Message Box
With the following code on mouseup put clickLine () put char 6 of the clickline end mouseup I tried to get 2 seperate lines of output in the message box (equivalent to what a message window in Lingo used to do), but there is no automatic CR at the end of the first output and the line gets overwritte...
- Tue Dec 21, 2010 3:05 pm
- Forum: iOS Deployment
- Topic: bouncy behavior
- Replies: 3
- Views: 3523
bouncy behavior
So far my iOS apps don't show the springy, bouncy behavior typical for the way iPhone windows switch or hit the border and bounce back. I thought it might come in what is referred to in the iOS release notes as touch-events , but could not find any further references such as in the LiveCode dictiona...