adobe AIR 3 use JSON library error

2012年10月3日 星期三 by Hu, Ching-Hsiang

1- removed all the import com.adobe.serialization.json.JSON
2- changed each JSON.decode to JSON.parse
3- changed each JSON.encode to JSON.stringify
4- changed JSONParserror to Error

Filed under having 0 意見  

facebook desktop for adobe air can't logout

by Hu, Ching-Hsiang

FacebookDesktop.as 'params.next = "http://static.ak.fbcdn.net/connect/xd_proxy.php#origin="+(appOrigin?appOrigin:"")' 

and change it to

 'params.next = "http://www.facebook.com/"'

This solved my problem.

Filed under having 0 意見  

refresh facebook page catch

2012年8月7日 星期二 by Hu, Ching-Hsiang

https://developers.facebook.com/tools/debug

Filed under having 0 意見  

Flash CS use Flex component

2012年5月7日 星期一 by Hu, Ching-Hsiang

Go

Filed under having 0 意見  

ADOBE AIR FILESYSTEM API ON IOS

2012年5月4日 星期五 by Hu, Ching-Hsiang

ADOBE AIR FILESYSTEM API ON IOS

Filed under having 0 意見  

as3 use js call parent focus

2012年3月26日 星期一 by Hu, Ching-Hsiang

xxx.com
Loading
var js:URLRequest=new URLRequest(); //js.url="javascript:window.opener.focus()"; js.url="javascript:if(window.opener){window.opener.focus();}else{window.open('http://yoururl.com','name');newWindow.focus(); void(0);}"; navigateToURL(js,'_self');

Filed under having 0 意見  

as3 ContextMenu

2012年3月22日 星期四 by Hu, Ching-Hsiang

.
var my_menu:ContextMenu = new ContextMenu(); my_menu.hideBuiltInItems(); var my_notice = new ContextMenuItem("xxx"); var my_email = new ContextMenuItem("xx@yoururl.com"); var my_copyright = new ContextMenuItem("Copyright"); my_menu.customItems.push(my_notice, my_email, my_copyright); contextMenu = my_menu;

Filed under having 0 意見