I have a friend looking for a GWT developer in Singapore. If you know of anyone, or think you are skilled in this area. Please post a comment below and I will get back to you.
Archive for the 'Uncategorized' Category
Got this quick snippet of code from http://www.davidmorison.com/node/23 on how to find the current php script executing user. Useful to determine if suexec is running properly.
passthru("whoami");
?>
Pictionary Singapore is having a charity sale for the Children’s Cancer Foundation.
If you would like to own numbered sets of the limited Singaporean edition and do your part for charity, follow these links to eBay to bid for the uniquely Singaporean sets:
0001
0002
0003
0004
0005
0006
1788
* Those are the serial number of the sets
If you refer to facebook’s documentation at http://developers.facebook.com/docs/?u=facebook.jslib.FB.ApiClient.notifications_send, you will notice that there are no parameters to specify an app_to_user notification type. To achieve this, you have to use the callMethod from the apiClient.
Here is a code snippet on how this can be achieved in a Facebook Connect site.
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> <script type="text/javascript"> FB_RequireFeatures(["XFBML"], function(){ FB.Facebook.init("API KEY", "relative_path_to/xd_receiver.htm"); FB.Facebook.apiClient.callMethod("notifications_send",{to_ids:[000000000],notification:"hello",type:"app_to_user"},function(){alert("notification sent");}); }); </script>
This code sends a notification from the app to the specified user ids. When the notification is done, a javascript alert box tells us the task is completed.
The Actionscript Conference has finally come to an end. It was a great conference and I got to meet a lot of people that I haven’t seen in some time and got to know even more cool people this time round.
I will be posting the slides for my multi touch session at TAC09 on this blog very soon.
Edit: The slides have been uploaded here
The Actionscript Conference – Multi-Touch in Flash
Cheers and keep a lookout for Flex Usergroup (http://fug.sg) meetups very soon
The Actionscript Conference tickets are going at $1 on Ebay. Only 15 tickets to go. Go grab yours today
http://cgi.ebay.com.sg/ws/eBayISAPI.dll?ViewItem&item=290347825657#ht_500wt_1182
If you are having problems trying to get Facebook to set cookies properly in IE7 and below when the site is sitting in an iframe and have a different domain with its parent container, check out this article to create a privacy policy for IE7.
http://www.softwareprojects.com/resources/programming/t-how-to-get-internet-explorer-to-use-cookies-inside-1612.html
and this fb forum thread:
http://forum.developers.facebook.com/viewtopic.php?id=452
Just tried it and FB Connect now works with 3rd party iFrame containers
The Actionscript Conference is just 2 weeks away, and I’m getting more and more excited! Do check out the TAC website at http://www.tac.sg to find out more information about the conference. There are some pretty good discounts for students and NSFs so if you belong to these group of people, consider checking out the conference!
I’ll be doing a quick 30 minutes run down on Multi-touch in Flash this year, so if you are interested in these technologies, drop by and say Hi!
Was facing this age old problem and googling around when I came across an excellent article at http://www.julienlecomte.net/blog/2007/11/31/ using the Yahoo cross-frame javascript library. For detailed description of how the cross-frame js works, head over to the excellent blog and read the article.
Did up a quick demo at http://www.alvinzhang.com/page.html. Simply view source, its very simple and straightforward, using a proxy as the communicator to bypass the cross-domain restrictions. Send the updated height across and set the iframe height to the new height.
Proxy and cross-frame.js can be downloaded here.
The article was written back in 2007 but still works perfectly now with the modern browsers in 2009. I would actually prefer something more familiar with flash developers like a crossdomain.xml which would be great.
Update 21 July: I just found out that HTML5 has support for cross-document messaging which makes it possible to do dynamic iframe resizing in a more elegant manner (less hack-ish).
Incidentally, I came across this article while I was researching on the issue where Safari (is the only browser which) doesn’t allow an iframe containing content from an external domain to set cookies.
Post any questions in comments and I’d be glad to help out.
I just dropped by the blog for the above banner which is attempting to raise funds for a little girl Charmaine who is down with neuroblastoma and found out that they have managed to raised the target amount of funds which means that Charmaine will be able to fly to New York for her treatment. Cheers for that! And continue to pray for this little girl for a successful treatment.






Recent Comments