Search found 11 matches
- Fri May 22, 2015 4:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I parse through JSON?
- Replies: 5
- Views: 5782
Re: How do I parse through JSON?
Hi bangkok, thank you for answering my question. I am occurring another problem with coding hope you will help me out. I switched my API to a much better one and it will return information in English.Also, this API does not need country code to identified location any more instead just simply put ci...
- Wed May 06, 2015 7:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I parse through JSON?
- Replies: 5
- Views: 5782
Re: How do I parse through JSON?
Great! Thank you so much. But how do I pull out the information I need into corresponding field? For example {"weatherinfo":{"city":"霞云岭","date_y":"2009年7月27日","date":"六月初六","week":"星期一","fchh":"08","cityid":"101012100","temp1":"24℃~17℃","temp2":"25℃~18℃","temp3":"28℃~16℃","temp4":"27℃~23℃","weather...
- Fri May 01, 2015 4:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I parse through JSON?
- Replies: 5
- Views: 5782
How do I parse through JSON?
I am trying to make a weather app using a API provided by http://www.weather.com.cn I have three elements on my stack, "weatherdata" field, "city"field and a button. The idea is there is a "cities.txt"file saved in the desktop stored the city name with its corresponding code that is identical to the...
- Tue Apr 28, 2015 1:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I use API in livecode?
- Replies: 1
- Views: 2458
Re: How can I use API in livecode?
Here are some city codes you could try, although they are in Chinese :D they city name could be in different languages. 101010100=北京 101010200=海淀 101010300=朝阳 101010400=顺义 101010500=怀柔 101010600=通州 101010700=昌平 101010800=延庆 101010900=丰台 101011000=石景山 101011100=大兴 101011200=房山 101011300=密云 101011400=...
- Tue Apr 28, 2015 1:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I use API in livecode?
- Replies: 1
- Views: 2458
How can I use API in livecode?
I am trying to make a weather app, which it will use a weather API that will provide information in json format. But how can I realize it? For example, the api will provide a link: http://m.weather.com.cn/data/101110101.html (101110101 is the city code, it can be replaced by different code to gather...
- Fri Apr 24, 2015 3:41 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Why can't I test my program with iOS simulator?
- Replies: 14
- Views: 13110
Re: Why can't I test my program with iOS simulator?
Thank you, but I still couldn't test it with Xcode 6.2 using Livecode 7.0.4. Even when I am trying to save it as standalone app livecode answered"could not find a valid identity to use for the selected profile". What can I do to fix this? Hi zhangyouwen, LiveCode is not yet compatible with Xcode 6.3...
- Tue Apr 21, 2015 2:04 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Why can't I test my program with iOS simulator?
- Replies: 14
- Views: 13110
Why can't I test my program with iOS simulator?
I am tying to test my app with iOS simulator but the test buttons are all grey. I have the latest xCode 6.3 and put it into livecode's preference. Also I checked build for iOS at standalone setting. However the test buttons are still grey and I could not even save my program as standalone applicatio...
- Wed Apr 08, 2015 7:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sheep Hander problem
- Replies: 7
- Views: 5499
Re: Sheep Hander problem
It worked thank you so much!!sefrojones wrote:In your script, you are checking the cIsSheep, but in your template sheep button the custom property is misnamed as cLsSheep. (I capitalized the L here, but in your template button it is lower case)
Hope that helps!
--Sefro



- Tue Apr 07, 2015 2:15 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sheep Hander problem
- Replies: 7
- Views: 5499
Re: Sheep Hander problem
It looks like your attachment didn't actually get attached, as I believe you will need to have a certain amount of posts before you can attach a file. You can always post a link to your stack hosted on dropbox/google drive/mega/wherever until you are allowed to post attachments. --Sefro Hey, I just...
- Wed Apr 01, 2015 7:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sheep Hander problem
- Replies: 7
- Views: 5499
Re: Sheep Hander problem
Are you sure you included all the handlers? I don't see anything that determines whether the object is a sheep or not. There may be a mouseDown missing, or something else that puts true into sImASheep. Can you please help me? I have no idea on how to fix it, perhaps please look at the app that I up...
- Tue Mar 31, 2015 2:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Sheep Hander problem
- Replies: 7
- Views: 5499
Sheep Hander problem
Hi, I am currently following Sheep Herder Lesson in Livecode Academy. I had a problem that when move the sheep on top the pen the pen only change color once and the sheep will not be deleted. Also when move the sheep away from the pen, the color of the pen will stay with blue instead of change back ...