Frame-based animation
After finishing the Gaming course (which was AWESOME,) I can now do frame-based animation in my own stacks. The key is basically a loop that re-triggers itself at scheduled intervals. But now I'm trying to take the next step and actually animate a sequence of events. Here's what I have so far... I'm creating a variable called frameNumber and each time the loop is triggered I'm adding 1 to it. Since I've scripted my loop to run 30 times per second, after 1 second the frameNumber would be 30. OK, so I want certain lines of code to be run at certain frame numbers. Something like this: frame 30: set the loc of image flower to 400,401 set the height of image flower to 150 set the width of image flower to 150 frame 35: hide image flower So imagine I've got a whole big list of commands like that, that I need run at specific frames. What is the best way to do this? --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
On 11/02/2012 12:19, Richard MacLemale wrote: I'm creating a variable called frameNumber and each time the loop is triggered I'm adding 1 to it. Since I've scripted my loop to run 30 times per second, after 1 second the frameNumber would be 30. OK, so I want certain lines of code to be run at certain frame numbers. Something like this: frame 30: set the loc of image flower to 400,401 set the height of image flower to 150 set the width of image flower to 150 frame 35: hide image flower So imagine I've got a whole big list of commands like that, that I need run at specific frames. What is the best way to do this? I'm a LiveCode newbie, but I'd want to minimise the time spent asking is it time for me yet for each of those commands. I'd probably try to put the commands into a list ordered on the frame number. Your insert is a little trickier here, because you need to preserve the order of the frame number. Each time through the loop, you look at the first command on the list, and if the current frame is less you know no actions are due and ignore it, if it matches, remove it from the list and perform the action, and then check the next item on the list. Does that make sense? Is there a better way to handle such things in LiveCode? -Ken ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
On Feb 11, 2012, at 7:38 AM, Ken Corey wrote: I'm a LiveCode newbie, but I'd want to minimise the time spent asking is it time for me yet for each of those commands. I'd probably try to put the commands into a list ordered on the frame number. Your insert is a little trickier here, because you need to preserve the order of the frame number. Each time through the loop, you look at the first command on the list, and if the current frame is less you know no actions are due and ignore it, if it matches, remove it from the list and perform the action, and then check the next item on the list. Does that make sense? Is there a better way to handle such things in LiveCode? Yeah, I definitely want to write the tightest code I can, because animation is so time sensitive. I'm thinking maybe I can use an array, where each frame is a key, maybe... --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Revzilla?
I have been using Ken Ray's Revzilla plugin for years but in the past year or so it has been broken for me. It looks from the SonsOfThunder website that it hasn't been updated in a long time. Ken, is there a more recent update that I can try? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: moving and scaling an image
On 10 Feb 2012, at 6:00 pm, Alejandro Tejada wrote: Subject: Re: moving and scaling an image Reply-To: How to use LiveCode use-livecode@lists.runrev.com Hi David, David Glasgow wrote Thanks to all the help with this. I ended up with a script that created sequential moves, with an image scale in between each. I am amazed at how smooth it is. This is the 'pull towards' script: [snip] Really nice! When i pasted this script in an image, it moves smoothly but dowes not change size. What I am doing wrong? The only thing I can think of is that if the location moved to is closer than the step size in the repeat loop, then you won't get the scaling, or only a very little bit. What happens when you step through in the debugger? David G ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Recursion
On Feb 10, 2012, at 4:35 PM, Mark Wieder wrote: haha... ever tried a Google search for recursion? Circular definition: see Definition, circular. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Revzilla?
Peter- Saturday, February 11, 2012, 7:01:10 AM, you wrote: I have been using Ken Ray's Revzilla plugin for years but in the past year or so it has been broken for me. It looks from the SonsOfThunder website that it hasn't been updated in a long time. Ken, is there a more recent update that I can try? Are you using RevZilla 2.3? It works fine for me here. So much better than having to do bugzilla over the web. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: How alive is LiveCode?
Lynn: Thank-you, I think that I will be looking at your DB product. Mike On Fri, Feb 10, 2012 at 10:51 PM, Lynn Fredricks lfredri...@proactive-intl.com wrote: I want to write databased applications to take care of some of the pain-points at my current employment. And if this works out I'd like to extend it to the full application - which is your normal professional billing program. I'm using VFP right now and would have no reluctance to continue using it if it were still in development. For ad-hoc reporting and querying it's the best. VFP covers all of the bases including report writing, a built in db, SQL support (sort of) and I can see that with LiveCode I'm going to have to add external tools to fill in the gaps. Thanks for the responses. Visual Fox Pro was a great product, but I wouldn't say LiveCode falls short. LiveCode has to do a lot more. At Paradigma Software, we've had many who have come from VFP to Valentina DB + a flexible cross platform tool like LiveCode. On the reporting side, we developed Valentina Reports - this also works with SQLite and Postgre (with MySQL support coming). Fortunately Runtime has consistently nurtured excellent relations with its third party community, and we've never had any problems integrating either solution with LiveCode. And I encourage you to build a front end with LiveCode + Valentina DB (you get can a free copy of our server from our site), populate it with a million records, then do the same with your aging copy of VFP - then run a few complex queries. I think you'll find our combination of strengths will do more than just fill the gaps ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
Well, I know one thing - trying to put script steps in an array and run it on the iPad 1 is NOT a winning idea. It's taking 163 milliseconds to execute two lines of code that way. My window is more like 33 milliseconds. Back to the old drawing board, as they say... --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Error in mail list MBOX file format 2012 February
Hi Richard, Richard Gaskin wrote I asked Heather about that and apparently the team is using the list manager's default settings, so it's not clear what more they can do. I've looked into this before, and it seems that if you need to parse it you can do so reliably not by relying on crFrom but look instead for crFrom:. For example, if you look at message ID 1328119050.73544.YahooMailNeo@.yahoo from this month's archive you'll see Jan quoted Bob's full post, headers and all, but the list manager indented the quoted From: string by one space so it won't get confused with actual message boundaries. A bit non-standard, perhaps, but so far it seems reliable in the archives I've worked with. So if you don't mind my asking: Why are you machine-parsing the archives? More Lucene experiments? I am reading the mailbox offline using this stack: http://at.livecodejournal.com/stacks/Mailbox_browser.zip http://andregarzia.on-rev.com/alejandro/stacks/Mailbox_browser.zip What if the problem is in the software that send the emails to this mail list? Could we ask developers to make a simple test sending the word: From as the first word in a line and in the second line: Sent from Nabble... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-in-mail-list-MBOX-file-format-2012-February-tp4378009p4379424.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: supporting multiple mobile device resolutions
On 2/10/12 3:31 PM, Chris Sheffield wrote: What's the best method? Two separate stacks, one for each resolution? Or a single stack with code to handle positioning of controls? Definitely a single stack with resizing code. That will automatically adjust to whatever resolution happens to be released in the future, and will also port seamlessly to Android if you ever go that way. Funny you should ask right now, since it's come up twice in the forums in the last day or two. Someone posted this useful link from the Academy: http://www.youtube.com/watch?feature=player_detailpagev=7gXhcsrNiZ0#t=141s Elanor explains how to do it. And speaking of controls, is it necessary to have two sets of everything, one for lower res and one for higher res displays? Or does it work to have one set of higher res controls? Would they display okay on the lower res display? I'm assuming they would display alright, but they would appear larger. Is that correct? Yes, but if you do the resizing scripts then objects will remain proportional on any screen. What I did was create a single high-res image that accomodated a large resolution, and when they scaled down for smaller screens in the resizeStack script they looked pretty much okay (with some exceptions, but on Android you can't always account for everything. IPads are easier, less variation.) If the screen was large enough that the scaling ratio exceeded 1.0, I capped it to 1.0 to avoid jaggies and just allowed more room between objects rather than making them too large. That was to accomodate images; scaling buttons and other objects works okay. Also, in the case of images, which this app makes use of extensively, is it necessary to worry about dpi/ppi when sizing them, or does that really matter? Is it okay to just leave all images set at a fairly standard 72 dpi and just make sure the dimensions in pixels are correct? I'm not sure, but I just left mine at 72 dpi and it seemed to work okay. I had one background pattern that didn't tile correctly until I saved it at 91 dpi. This particular app consists of several steps (cards) that the user moves through in progression. So having two separate stacks with all the same cards duplicated might not be what we not. On the other hand, I can imagine that trying to write the code to handle hiding/showing controls and repositioning them could get out of hand. It's work, there's no getting around it, but scripted resizing is really the only way to handle the issue. I spent an inordinate amount of time on the resizing scripts and had to tweak them repeatedly until I got something that worked pretty well on any device. The simulator is a huge help for resize testing. You also have an advantage because you won't have to account for rotation or all the multiple screen resolutions that Android has. I should probably end with a caveat that I have no idea if what I did is the right way, it's just how I ended up doing it. I'm pretty well convinced though that multiple stacks is a bad idea. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
Hi Richard, here is a bareBone frame based handler... Very crude, nothing special. I assume for starters this is in a button. You will want to do adjustments. Cheers, Malte local sStartTime,sCurrentFrame on mouseUp set the flag of me to not the flag of me if the flag of me then put the milliseconds into sStartTime put 0 into sCurrentFrame doAnimation else repeat for each line theLine in the pendingMessages if doAnimation is in theLine then cancel item 1 of theLine end repeat end if end mouseUp command doanimation lock screen -- assuming a frameRate of 25 local tElapsed put the millisecs into tElapsed put sCurrentFrame + 1 into sCurrentFrame put sCurrentFrame put the millisecs - tElapsed into tElapsed switch sCurrentFrame case 1 hide me break case 100 show me break end switch unlock screen if the flag of me then if tElapsed =40 then doAnimation -- want to check for adjusting the timing maybe... else send doAnimation to me in 40 - tElapsed millisecs end if end if end doanimation ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
On 11/02/2012 17:53, Richard MacLemale wrote: Well, I know one thing - trying to put script steps in an array and run it on the iPad 1 is NOT a winning idea. It's taking 163 milliseconds to execute two lines of code that way. My window is more like 33 milliseconds. Back to the old drawing board, as they say... I don't know what the engine does to the code...the code might be compiled (I use that term loosely) down, where evaluated code isn't. Hrm...can you abstract each little script enough to make little commands? on appearFlower set the loc of image flower to 400,401 set the height of image flower to 150 set the width of image flower to 150 end appearFlower in frame 30: appearFlower Does that help? -Ken ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: supporting multiple mobile device resolutions
Speaking of resolution support: Apple Now Requiring iPhone Developers to Submit Retina Screenshots http://www.macrumors.com/2012/02/07/apple-now-requiring-iphone-developers-to-submit-retina-screenshots/ -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
On Feb 11, 2012, at 1:33 PM, Ken Corey wrote: I don't know what the engine does to the code...the code might be compiled (I use that term loosely) down, where evaluated code isn't. Hrm...can you abstract each little script enough to make little commands? on appearFlower set the loc of image flower to 400,401 set the height of image flower to 150 set the width of image flower to 150 end appearFlower in frame 30: appearFlower Does that help? I've tried something similar, but I think I've stumbled across the real problem - my animation loop code must be awful, because the performance is terrible. Inside of the loop, I just ran the following lines, one after the other: put the long seconds into daStartSecs answer the long seconds - daStartSecs And I got something like .476. When I run those two lines outside of the loop, I get .01. So obviously I need to go back through the animation loop code I wrote and figure out what I'm doing wrong. If I can figure this whole issue out, I'll post it to the forum, because it'll be too long to put on the list. Thanks for taking the time to respond to me, Ken - I really appreciate it. :) --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] HyperCard and the Interactive Web
After reading about this recent legal bout for the interactive web: http://yro.slashdot.org/story/12/02/10/1248234/texas-jury-strikes-down-mans-claim-to-own-the-interactive-web I found revealing the way in which HyperCard keeps appearing as the first inspiration for the web browser as we know it today: From: http://en.wikipedia.org/wiki/ViolaWWW#HyperCard His interest in graphically based software began with HyperCard which he discovered in 1989. Gillies and Cailliau quote Wei on this discovery: HyperCard was very compelling back then, you know graphically, this hyperlink thing, it was just not very global and it only worked on Mac...and I didn't even have a Mac (p. 213). Only having access to X terminals, he (in 1990) created the first version of Viola for them: I got a HyperCard manual and looked at it and just basically took the concepts and implemented them in X-windows[sic] So, I find rather revealing that today so many developers are mostly unaware of the existence of HyperCard. These days, when someone study Information technology, DO NOT receive classes about the historical background of their profession? I am curious, because I have to study the historical background of Design when studied it, so many years ago... Why Information Technology would be different? How could be helpful to be a complete ignorant of the origins, history and development of your own profession? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-HyperCard-and-the-Interactive-Web-tp4379640p4379640.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: moving and scaling an image
Hi David, David Glasgow wrote The only thing I can think of is that if the location moved to is closer than the step size in the repeat loop, then you won't get the scaling, or only a very little bit. What happens when you step through in the debugger? Ah, now it works! I just changed the location of the graphic and the image and it works great. :-D Thanks a lot for answering my question. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/moving-and-scaling-an-image-tp4372218p4379663.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Revzilla?
On Feb 11, 2012, at 11:35 AM, Mark Wieder wrote: Peter- Saturday, February 11, 2012, 7:01:10 AM, you wrote: I have been using Ken Ray's Revzilla plugin for years but in the past year or so it has been broken for me. It looks from the SonsOfThunder website that it hasn't been updated in a long time. Ken, is there a more recent update that I can try? Are you using RevZilla 2.3? It works fine for me here. So much better than having to do bugzilla over the web. Mark, I just realized that I hadn't uploaded 2.3 to the STS web site, so Peter couldn't download it. I have jus remedied the situation - anyone who is having trouble with RevZilla, feel free to download 2.3 from: http://www.sonsothunder.com/devres/livecode/downloads/RevZilla2.htm and let me know if you run into any issues with it… Thanks! Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RSS Tutorial with XML commands?
On Feb 10, 2012, at 10:06 PM, John Patten wrote: Answered my own question… http://forums.runrev.com/viewtopic.php?f=11t=7011 It should have dawned on me that with most tags, XML or otherwise, the first word is key identifier… duh…long week If your feed isn't really long, and/or you want an easier way to deal with RSS with a scripted library instead of an external, you can check out my XML Library with the added RSS plugin: http://www.sonsothunder.com/products/xmllib/xmllib.htm http://www.sonsothunder.com/products/xmllib/xmllib_rssplugin.htm Just in case you weren't aware of it… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Spell check for text fields
Is there any addon that checks the spelling of words as they are entered into a text field? Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Colors/Borders
Hoping to get some guidance on a couple of issues regarding colors and borders. I have a group that has all the default properties set except I switched on showBorder with a borderwidth of 2. All looks as expected with a light gray background and a visible border. Now I set the background in the Colors and Patterns tab of the inspector to a specific color and turned the opaque property on. The color changes as expected but the border disappears. I tried setting the color of the border but no difference. How do I get my border back? On the same card I have a rectangle whose background I wanted to be the same color as the group. I changed the Fill color of the rectangle to the same setting as the group, but the color is a slightly different shade than the group's background. Thanks, -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperCard and the Interactive Web
On 02/11/2012 09:42 PM, Alejandro Tejada wrote: After reading about this recent legal bout for the interactive web: http://yro.slashdot.org/story/12/02/10/1248234/texas-jury-strikes-down-mans-claim-to-own-the-interactive-web I found revealing the way in which HyperCard keeps appearing as the first inspiration for the web browser as we know it today: From: http://en.wikipedia.org/wiki/ViolaWWW#HyperCard His interest in graphically based software began with HyperCard which he discovered in 1989. Gillies and Cailliau quote Wei on this discovery: HyperCard was very compelling back then, you know graphically, this hyperlink thing, it was just not very global and it only worked on Mac...and I didn't even have a Mac (p. 213). Only having access to X terminals, he (in 1990) created the first version of Viola for them: I got a HyperCard manual and looked at it and just basically took the concepts and implemented them in X-windows[sic] So, I find rather revealing that today so many developers are mostly unaware of the existence of HyperCard. These days, when someone study Information technology, DO NOT receive classes about the historical background of their profession? I am curious, because I have to study the historical background of Design when studied it, so many years ago... Why Information Technology would be different? How could be helpful to be a complete ignorant of the origins, history and development of your own profession? Well said. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-HyperCard-and-the-Interactive-Web-tp4379640p4379640.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Hey Mike, Check out: http://runrev.com/store/product/runrevplanet-spell-2_0/ I've not used it personally, however, so can't comment on that. Marty K Is there any addon that checks the spelling of words as they are entered into a text field? Mike ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperCard and the Interactive Web
Alejandro Tejada wrote: So, I find rather revealing that today so many developers are mostly unaware of the existence of HyperCard. I'd wager a majority of computing professionals these days don't even know who Vannevar Bush was, or Project Xanadu. Kids... :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Spilling Chuckers . . . Hmm This is rather interesting: http://norvig.com/spell-correct.html as is this : http://wordlist.sourceforge.net/ I wonder how feasible (and how fast) an in-built spell-checker would be . . . certainly SCOWL 7.1 looks rather attractive. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Frame-based animation
Hi, Richard. I tried a frame based demo animation with one main animation loop that locks the screen then updates all objects. I found that instead of trying to update certain objects at frame X, etc, updating everything on every frame worked best (for this particular demo anyway). Objects don't have to be updated by whole pixels at a time - an object could, for example move by 0.1 pixels per frame. You keep track of the decimal numbers (I used arrays) and the object would only really visibly update every 10th frame. HTH You can see the demo at http://youtu.be/jBSLJSaoE6M On 11/02/2012 18:54, Richard MacLemale wrote: On Feb 11, 2012, at 1:33 PM, Ken Corey wrote: I don't know what the engine does to the code...the code might be compiled (I use that term loosely) down, where evaluated code isn't. Hrm...can you abstract each little script enough to make little commands? on appearFlower set the loc of image flower to 400,401 set the height of image flower to 150 set the width of image flower to 150 end appearFlower in frame 30: appearFlower Does that help? I've tried something similar, but I think I've stumbled across the real problem - my animation loop code must be awful, because the performance is terrible. Inside of the loop, I just ran the following lines, one after the other: put the long seconds into daStartSecs answer the long seconds - daStartSecs And I got something like .476. When I run those two lines outside of the loop, I get .01. So obviously I need to go back through the animation loop code I wrote and figure out what I'm doing wrong. If I can figure this whole issue out, I'll post it to the forum, because it'll be too long to put on the list. Thanks for taking the time to respond to me, Ken - I really appreciate it. :) --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperCard and the Interactive Web
On 02/11/2012 10:57 PM, Richard Gaskin wrote: Alejandro Tejada wrote: So, I find rather revealing that today so many developers are mostly unaware of the existence of HyperCard. I'd wager a majority of computing professionals these days don't even know who Vannevar Bush was, or Project Xanadu. Kids... :) And how many people realise that Ada Lovelace was the Mother of them all. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
I'm intrigued yet confused - don't all target platforms have native spell-checkers? Why can't these be accessed? Best, Keith.. On 11 Feb 2012, at 20:58, Richmond richmondmathew...@gmail.com wrote: Spilling Chuckers . . . Hmm This is rather interesting: http://norvig.com/spell-correct.html as is this : http://wordlist.sourceforge.net/ I wonder how feasible (and how fast) an in-built spell-checker would be . . . certainly SCOWL 7.1 looks rather attractive. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Yep http://www.runrevplanet.com/ http://revonline2.runrev.com/stack/211/spellCheck On Saturday, 11 February, 2012 at 15:15 , Michael Chean wrote: Is there any addon that checks the spelling of words as they are entered into a text field? Mike ___ use-livecode mailing list use-livecode@lists.runrev.com (mailto:use-livecode@lists.runrev.com) Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
On 02/11/2012 11:07 PM, Keith Clarke wrote: I'm intrigued yet confused - don't all target platforms have native spell-checkers? Why can't these be accessed? Well, it's news to me. I work mainly with Linux, and decreasingly so with Mac PPC [it's a money thing . . . :) ] and I don't think the operating systems as such have in-built spell checkers. Certainly Appleworks and LibreOffice lever their own spell checkers. I am writing this in Thunderbird (an e-mail client) and, as far as I am aware it is using its own in-built checker. Here's a spot of reading that seems to bear me out: http://support.mozilla.org/en-US/kb/Using%20the%20spell%20checker http://iwannafile.com/view/757738/helpsmith_v3_3_build_10_1021 http://en.wikipedia.org/wiki/Spell_checker On the PCs, these spell checkers were standalone programs, many of which could be run in TSR mode from within word-processing packages on PCs with sufficient memory. TSR came before multitasking. Presumably, nowadays, one can bundle an open-source spell checker with one's Livecode standalone, and, IFF, one can get the blasted thing to interact with one's Livecode stack one is laughing. HOWEVER, that's all beyond me; so, having chucked the wooden spoon into the pot, I'll leave more knowledgeable people to stir the soup. Best, Keith.. On 11 Feb 2012, at 20:58, Richmondrichmondmathew...@gmail.com wrote: Spilling Chuckers . . . Hmm This is rather interesting: http://norvig.com/spell-correct.html as is this : http://wordlist.sourceforge.net/ I wonder how feasible (and how fast) an in-built spell-checker would be . . . certainly SCOWL 7.1 looks rather attractive. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
On 02/11/2012 11:14 PM, Mike Kerner wrote: Yep http://www.runrevplanet.com/ http://revonline2.runrev.com/stack/211/spellCheck Well, well; that made my last posting look a bit redundant. Although, quite honestly, I am rather glad, as I shall now merrily try to incorporate Craig Newman's stack into my 5 paragraph essay writing 'thang' that I am working on for my EFL school. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
revOnline ? ? ?
Does this thing function any more? Cannot upload to it to save my life. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Keith, don't all target platforms have native spell-checkers? One software segment that I produce for is cross-platform desktop -- needs to run on PCs (with Windows XP and newer) and on Macs. There is no native OS level spellchecker for Windows XP. Instead of having platform specific code to handle the differences, I prefer to leverage the natural cross-platform support of LiveCode. It makes development *much* more productive -- reducing the time and effort required by a significant amount. Not to mention the on-going benefit of simplified product support. So RunRevPlanet Spell is the result that requirement. it is not a spell check as you type style of spell checker, so it may not be what you are looking for. But it is fast. About a spellcheck as you type sort of add-on, until the LiveCode Text Field can show the wavy underline that users expect to see when such an action occurs, I think the problems of making such a spell checker that runs on both Windows /and/ OS X make such an add-on unlikely. -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com - -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spell-check-for-text-fields-tp4379716p4379985.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: filter tGlobalsRaw without *-* It should look like this: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. filter tGlobalsRaw without *(x86) filter tGlobalsRaw without */* filter tGlobalsRaw without *-* replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames I'm sure RunRev will add this line in soon, but in the meantime it's a gotcha you should be aware of… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
Ken, THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU (no dashes) for bringing this up before it bit me. It would have taken me FOREVER to find the problem! Your fix worked perfectly. Add one notch for keeping a recent clone backup around in addition to Time Machine. Jerry Jensen On Feb 11, 2012, at 2:25 PM, Ken Ray wrote: If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: filter tGlobalsRaw without *-* It should look like this: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. filter tGlobalsRaw without *(x86) filter tGlobalsRaw without */* filter tGlobalsRaw without *-* replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames I'm sure RunRev will add this line in soon, but in the meantime it's a gotcha you should be aware of… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
Fortunately (for me) apparantly Remo seems unaffected. Livecode does stall and I have to force-quit. On 11 February 2012 14:25, Ken Ray k...@sonsothunder.com wrote: If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: Stephen Barncard San Francisco Ca. USA more about sqb ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: supporting multiple mobile device resolutions
Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Chris Sheffield Sent: Friday, February 10, 2012 4:32 PM To: How to use LiveCode Subject: supporting multiple mobile device resolutions I know this topic has come up before. About a year or so ago Tom McGrath posted some very useful info. So now that some time has passed, I'm curious as to how most of you are developing apps when you need to support multiple device resolutions. I've been working on an iPad app. We've all heard the rumors, I'm sure, that a new iPad is on the way and will most likely sport a fancy new retina display. We (Read Naturally) would like to support the new device, but I'm still a little unclear on what all is involved with doing so. What's the best method? Two separate stacks, one for each resolution? Or a single stack with code to handle positioning of controls? And speaking of controls, is it necessary to have two sets of everything, one for lower res and one for higher res displays? Or does it work to have one set of higher res controls? Would they display okay on the lower res display? I'm assuming they would display alright, but they would appear larger. Is that correct? Also, in the case of images, which this app makes use of extensively, is it necessary to worry about dpi/ppi when sizing them, or does that really matter? Is it okay to just leave all images set at a fairly standard 72 dpi and just make sure the dimensions in pixels are correct? So if I have an image that's 100x100 on a non-retina display, I would need an image that's 200x200 for a retina display in order for it to appear the same size? Is that correct? Sorry for all the questions. I'm just not sure how to really test this out myself. Maybe I need to just fire up the different simulators to see how things are affected. This particular app consists of several steps (cards) that the user moves through in progression. So having two separate stacks with all the same cards duplicated might not be what we not. On the other hand, I can imagine that trying to write the code to handle hiding/showing controls and repositioning them could get out of hand. One advantage I have going for me is that this app is portrait only. So no having to deal with rotation in my case. Any help or suggestions would be most welcome. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperCard and the Interactive Web
On Feb 11, 2012, at 12:57 PM, Richard Gaskin wrote: I'd wager a majority of computing professionals these days don't even know who Vannevar Bush was, or Project Xanadu. Kids... My wife owns a laser printed, hand bound user guide for Project Xanadu that she got from one of the guys on the project she was dating back then. About half an inch thick and interesting reading. Kee ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
yes, Ken I made the mod too. Thanks for your observation and fix. sqb On 11 February 2012 14:56, Jerry Jensen j...@jhj.com wrote: Ken, THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU (no dashes) for bringing this up before it bit me. It would have taken me FOREVER to find the problem! Your fix worked perfectly. Add one notch for keeping a recent clone backup around in addition to Time Machine. Jerry Jensen On Feb 11, 2012, at 2:25 PM, Ken Ray wrote: If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: filter tGlobalsRaw without *-* Stephen Barncard San Francisco Ca. USA more about sqb ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
And it occurs to me that likely the next time I would be opening the editor would be at a remote client's location, on the clock, under pressure. Whew! On Feb 11, 2012, at 3:09 PM, stephen barncard wrote: yes, Ken I made the mod too. Thanks for your observation and fix. sqb On 11 February 2012 14:56, Jerry Jensen j...@jhj.com wrote: Ken, THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU (no dashes) for bringing this up before it bit me. It would have taken me FOREVER to find the problem! Your fix worked perfectly. Add one notch for keeping a recent clone backup around in addition to Time Machine. Jerry Jensen On Feb 11, 2012, at 2:25 PM, Ken Ray wrote: If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: filter tGlobalsRaw without *-* Stephen Barncard San Francisco Ca. USA more about sqb ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
It seems to work ok on the web. For text entry I think it's sort of expected that it underlines the wrong words as they are typed. On Sat, Feb 11, 2012 at 12:58 PM, Richmond richmondmathew...@gmail.comwrote: Spilling Chuckers . . . Hmm This is rather interesting: http://norvig.com/spell-**correct.htmlhttp://norvig.com/spell-correct.html as is this : http://wordlist.sourceforge.**net/http://wordlist.sourceforge.net/ I wonder how feasible (and how fast) an in-built spell-checker would be . . . certainly SCOWL 7.1 looks rather attractive. __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Hmmm. Disappointing that. On Sat, Feb 11, 2012 at 1:34 PM, Scott McDonald runrevpla...@smpcs.server101.com wrote: Keith, don't all target platforms have native spell-checkers? One software segment that I produce for is cross-platform desktop -- needs to run on PCs (with Windows XP and newer) and on Macs. There is no native OS level spellchecker for Windows XP. Instead of having platform specific code to handle the differences, I prefer to leverage the natural cross-platform support of LiveCode. It makes development *much* more productive -- reducing the time and effort required by a significant amount. Not to mention the on-going benefit of simplified product support. So RunRevPlanet Spell is the result that requirement. it is not a spell check as you type style of spell checker, so it may not be what you are looking for. But it is fast. About a spellcheck as you type sort of add-on, until the LiveCode Text Field can show the wavy underline that users expect to see when such an action occurs, I think the problems of making such a spell checker that runs on both Windows /and/ OS X make such an add-on unlikely. -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com - -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spell-check-for-text-fields-tp4379716p4379985.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: supporting multiple mobile device resolutions
On Feb 11, 2012, at 6:01 PM, Ralph DiMola wrote: I know this topic has come up before. About a year or so ago Tom McGrath posted some very useful info. So now that some time has passed, I'm curious as to how most of you are developing apps when you need to support multiple device resolutions. I've been working on an iPad app. We've all heard the rumors, I'm sure, that a new iPad is on the way and will most likely sport a fancy new retina display. We (Read Naturally) would like to support the new device, but I'm still a little unclear on what all is involved with doing so. What's the best method? We just use one main opener stack, and a substack optimized for each iOS hardware device. The main stack routes the user to the appropriate substack for their device seamlessly on startup. You can get into doing the math and running a script to link everything to a different images folder, but I really wanted each stack to be very optimized for the user's device. On Android you don't have a choice, because every other freaking Android device has a different screen size. But right now we're just doing iOS apps. Eventually we'll also do Android and then I'll be forced. A bigger issue with the iPad 3 Retina display will be fitting the stack on my screen when I'm trying to develop for it... --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] HyperCard and the Interactive Web
Richard- At least Ted Nelson is still among us: http://www.xanadu.com/zigzag/ -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
Despite the lack of full platform support, sure would be nice of LC hooked into the native spell checkers on those platforms that do support it. Pete On Sat, Feb 11, 2012 at 1:34 PM, Scott McDonald runrevpla...@smpcs.server101.com wrote: Keith, don't all target platforms have native spell-checkers? One software segment that I produce for is cross-platform desktop -- needs to run on PCs (with Windows XP and newer) and on Macs. There is no native OS level spellchecker for Windows XP. Instead of having platform specific code to handle the differences, I prefer to leverage the natural cross-platform support of LiveCode. It makes development *much* more productive -- reducing the time and effort required by a significant amount. Not to mention the on-going benefit of simplified product support. So RunRevPlanet Spell is the result that requirement. it is not a spell check as you type style of spell checker, so it may not be what you are looking for. But it is fast. About a spellcheck as you type sort of add-on, until the LiveCode Text Field can show the wavy underline that users expect to see when such an action occurs, I think the problems of making such a spell checker that runs on both Windows /and/ OS X make such an add-on unlikely. -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com - -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spell-check-for-text-fields-tp4379716p4379985.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Attn Jerry... ANN: PowerDebug 1.1.6
Jerry- My emails to you are bouncing back with the strange error message 554 5.0.0 Service unavailable I've released a new version of PowerDebug, and it incorporates a fix for the problem Ken found. You can download it here: http://www.ahsoftware.net/PowerTools/files/PowerDebug -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Attn Jerry... ANN: PowerDebug 1.1.6
Mark, thanks for the update. We had a mail server problem last week (2/8 - 2/9), but most of those messages didn't bounce with 554. If your bounces were outside that window, or are still happening, do let me know. jhjen...@sonic.net is an alternate address for me (for now) if needed. On Feb 11, 2012, at 4:04 PM, Mark Wieder wrote: Jerry- My emails to you are bouncing back with the strange error message 554 5.0.0 Service unavailable I've released a new version of PowerDebug, and it incorporates a fix for the problem Ken found. You can download it here: http://www.ahsoftware.net/PowerTools/files/PowerDebug -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Using DropBox for Faster Mobile Development
This may already be old news, but I thought I'd throw it out there in case this helps someone... If you're already using your DropBox account to help speed up your mobile development process, read no farther. I've been developing stacks for iOS use on and off over the last year, and have been annoyed with the bottleneck process of building standalones, uploading them to the device, launching the test app on the device, finding everything that doesn't work, and then starting the whole process over every time I make a change. Even using the simulator just takes too long and is sometimes inaccurate compared to running on a real device. So I wondered if I could save some time using LC's go url xyz... ability to access a stack remotely with DropBox. And it actually works perfectly. First I loaded my dev stack to my Public DropBox folder, and right-clicked on the stack to get its DropBox address. Then I built a simple mobile standalone that contains a single button with the script: go url http://dl.dropbox.com/path_to_my_stack.livecode; After uploading the simple standalone *one time* to my mobile device, I launch the simple standalone, press the button, and my dev stack appears on my device within a couple of seconds. With the original stack open on my desktop system (saved in DropBox), I save any changes, relaunch the simple standalone on the mobile device, and press the button to immediately see my changes. No uploading or file transfers are needed. I do this for all the mobile devices I want to test on -- as soon as I save the dev stack in my DropBox, all my testing devices have immediate access to it. I haven't tried this on Android yet, but I assume it will wok the same. This process has saved me a significant amount of time and sanity -- maybe it will for you. Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Spell check for text fields
On 2/11/12 5:58 PM, Pete wrote: Despite the lack of full platform support, sure would be nice of LC hooked into the native spell checkers on those platforms that do support it. Sounds like a job for an external. Wonder what Monte's doing these days? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using DropBox for Faster Mobile Development
On 2/11/12 7:32 PM, Scott Rossi wrote: After uploading the simple standalone *one time* to my mobile device, I launch the simple standalone, press the button, and my dev stack appears on my device within a couple of seconds. That is damned clever. There wouldn't be a startup message, but that's about it I think. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using DropBox for Faster Mobile Development
On Sat, Feb 11, 2012 at 10:44 PM, J. Landman Gay wrote: On 2/11/12 7:32 PM, Scott Rossi wrote: After uploading the simple standalone *one time* to my mobile device, I launch the simple standalone, press the button, and my dev stack appears on my device within a couple of seconds. That is damned clever. There wouldn't be a startup message, but that's about it I think. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com How does this approach differ from your AirLaunch product, (which btw, I've asked my manager to purchase)? This sounds more like Stack Runner. ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Revzilla?
On Feb 11, 2012, at 12:35 PM, Mark Wieder wrote: Peter- Saturday, February 11, 2012, 7:01:10 AM, you wrote: I have been using Ken Ray's Revzilla plugin for years but in the past year or so it has been broken for me. It looks from the SonsOfThunder website that it hasn't been updated in a long time. Ken, is there a more recent update that I can try? Are you using RevZilla 2.3? It works fine for me here. So much better than having to do bugzilla over the web. I've got 2.2. Where can I get 2.3? The version on the SoT website downloads page is 2.2. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Revzilla?
On Feb 11, 2012, at 3:09 PM, Ken Ray wrote: On Feb 11, 2012, at 11:35 AM, Mark Wieder wrote: Peter- Saturday, February 11, 2012, 7:01:10 AM, you wrote: I have been using Ken Ray's Revzilla plugin for years but in the past year or so it has been broken for me. It looks from the SonsOfThunder website that it hasn't been updated in a long time. Ken, is there a more recent update that I can try? Are you using RevZilla 2.3? It works fine for me here. So much better than having to do bugzilla over the web. Mark, I just realized that I hadn't uploaded 2.3 to the STS web site, so Peter couldn't download it. I have jus remedied the situation - anyone who is having trouble with RevZilla, feel free to download 2.3 from: http://www.sonsothunder.com/devres/livecode/downloads/RevZilla2.htm and let me know if you run into any issues with it… Thanks! Oh, just saw this one. Thanks, Ken. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using DropBox for Faster Mobile Development
On 2/11/12 9:56 PM, Roger Eller wrote: On Sat, Feb 11, 2012 at 10:44 PM, J. Landman Gay wrote: On 2/11/12 7:32 PM, Scott Rossi wrote: After uploading the simple standalone *one time* to my mobile device, I launch the simple standalone, press the button, and my dev stack appears on my device within a couple of seconds. That is damned clever. There wouldn't be a startup message, but that's about it I think. How does this approach differ from your AirLaunch product, (which btw, I've asked my manager to purchase)? This sounds more like Stack Runner. You don't need to build an .ipa and do an install every time you make a change and want to test the stack. You only need to create an executable for the launcher, which you only build once. From then on you just go to your test stack as a document. You'd need AirLaunch (cough) when you're building the one-time launcher and/or when you're ready to build and test the final app. But for minute-to-minute testing you just keep reopening the stack from the Dropbox folder. It's sort of like revert on mobile. It would work on Android too. Your manager sounds like an intelligent person. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using DropBox for Faster Mobile Development
On Sat, Feb 11, 2012 at 11:06 PM, J. Landman Gay wrote: On 2/11/12 9:56 PM, Roger Eller wrote: On Sat, Feb 11, 2012 at 10:44 PM, J. Landman Gay wrote: On 2/11/12 7:32 PM, Scott Rossi wrote: After uploading the simple standalone *one time* to my mobile device, I launch the simple standalone, press the button, and my dev stack appears on my device within a couple of seconds. That is damned clever. There wouldn't be a startup message, but that's about it I think. How does this approach differ from your AirLaunch product, (which btw, I've asked my manager to purchase)? This sounds more like Stack Runner. You don't need to build an .ipa and do an install every time you make a change and want to test the stack. You only need to create an executable for the launcher, which you only build once. From then on you just go to your test stack as a document. You'd need AirLaunch (cough) when you're building the one-time launcher and/or when you're ready to build and test the final app. But for minute-to-minute testing you just keep reopening the stack from the Dropbox folder. It's sort of like revert on mobile. It would work on Android too. Your manager sounds like an intelligent person. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Yes! Very intelligent manager! VERY! This -is- the public email list, right? ;-) ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Colors/Borders
On 2/11/12 2:15 PM, Pete wrote: I have a group that has all the default properties set except I switched on showBorder with a borderwidth of 2. All looks as expected with a light gray background and a visible border. Now I set the background in the Colors and Patterns tab of the inspector to a specific color and turned the opaque property on. The color changes as expected but the border disappears. I tried setting the color of the border but no difference. How do I get my border back? The default setting is to use 3D, where the borders are determined by the topcolor and bottomcolor (labelled in the inspector as inset and outset bevels.) The regular bordercolor is only used if the 3D setting is turned off. So to get what you want, fiddle with the two bevels. On the same card I have a rectangle whose background I wanted to be the same color as the group. I changed the Fill color of the rectangle to the same setting as the group, but the color is a slightly different shade than the group's background. I've never seen that happen when the RGB values are the same. Maybe one object has a slight transparency set? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Revzilla?
On 2/11/12 10:02 PM, Peter M. Brigham, MD wrote: Ken, I don't see v. 2.3 there, actually the 2 download links are for 2.1.1, ostensibly. (I don't know how I got 2.2) Try a page refresh, maybe? I see it under the sidebar box. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Colors/Borders
Thanks Jacque. I switched off 3D to get the borders and it looks OK for this particular purpose. STill not sure what's going on with the color. On Sat, Feb 11, 2012 at 8:19 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/11/12 2:15 PM, Pete wrote: I have a group that has all the default properties set except I switched on showBorder with a borderwidth of 2. All looks as expected with a light gray background and a visible border. Now I set the background in the Colors and Patterns tab of the inspector to a specific color and turned the opaque property on. The color changes as expected but the border disappears. I tried setting the color of the border but no difference. How do I get my border back? The default setting is to use 3D, where the borders are determined by the topcolor and bottomcolor (labelled in the inspector as inset and outset bevels.) The regular bordercolor is only used if the 3D setting is turned off. So to get what you want, fiddle with the two bevels. On the same card I have a rectangle whose background I wanted to be the same color as the group. I changed the Fill color of the rectangle to the same setting as the group, but the color is a slightly different shade than the group's background. I've never seen that happen when the RGB values are the same. Maybe one object has a slight transparency set? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Strange folder config for Windows standalone
I'm building a standalone for my app for Mac (Intel only) and Windows. After the build, I compress the two versions separately (using the OS X Compress this file option) so they can be downloaded from my web site by clicking on a link to them. After they Windows version is unzipped, I see two folders. The normal Windows folder with the .exe and Externals, an another folder name _MacOSX which contains a Windows. It seems like the Mac Compress function is adding this _MacOSX folder for some reason. Has anyone else come across this? Pete -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode