add the startup flag after the exe path:
chrome.exe -allow-file-access-from-files -kiosk
parameters:
-allow-file-access-from-files => let local html to access local jsons
-kiosk -> full screen for kiosk mode
2012/05/21
2010/09/01
恆春的海鮮美味!!
回憶起海角七號影片中的場景, 墾丁的微風, 充滿人情味的小鎮風光,真是讓人懷念,也讓我想起當地的好味道!!
想到恆春就想到美味的海鮮料理, 各式各樣的海鮮料理以及道地的南國風光風景, 在好吃的海鮮魚貨,尤其是在恆春鵝鑾里坑內路13號的『龍磐餐飲』。
龍磐餐飲他們家的魚鮮真的很美味好吃,鬼頭刀魚炒飯 ,炒的火候夠,飯粒飽滿夠味,是填飽肚子的最佳選擇‧另外他們家的海鮮魚湯也是一絶,海鮮魚湯是用深海魚熬煮,湯頭屬於比較清甜的口味,但吃的出魚的鮮甜口感,個人強力推薦!!
吃完餐點後,還可到附近的龍磐公園逛逛,欣賞當地的好山好水,再配上餐飲旁飲料店中奇特的飲品『地瓜葉營養果汁』, 消暑又解渴, 也是一種不錯的選擇
地址:恆春鎮鵝鑾里坑內路13號
Tel: 08-8851511
Open time: 11:00~20:30
2009/04/20
Javascript library & relative soruce
I introduce some javascript libraries on the internet.
The Yahoo! User Interface Library (YUI)
http://developer.yahoo.com/yui/
http://developer.yahoo.com/yui/
Dojo
JSLint :
Packer / Javascript compressor :
Jsmin / Javascript compressor :
Tags:AS3
CSS,
javascript,
skin
2009/03/29
2009/02/26
private VS. private static in Class
Main Class:(document )
package{
import flash.display.Sprite;
import flash.events.MouseEvent;
import fl.controls.Button;
public class Main extends Sprite{
public var obj1:Obj;
public var obj2:Obj;
public function Main(){
obj1=new Obj();
obj2=new Obj();
var button:Button=new Button();
button.label='click';
addChild(button);
button.addEventListener(MouseEvent.CLICK,onButtonClick);
}
private function onButtonClick(evt:MouseEvent):void{
obj1.name='obj_1';
trace(obj1.name);
obj2.name='obj_2';
trace(obj2.name);
trace(obj1.name);
}
}
}
Obj Class:
package {
public class Obj {
private var nameObj:String;
public function Obj() {
}
public function set name(nameObj:String):void{
this.nameObj=nameObj;
}
public function get name():String{
return nameObj;
}
}
}
//export the flash then click the button will result=======================//
obj_1
obj_2
obj_1
//==============================================================//
if Obj class modifies as follows and others are the same:
Obj Class:
package {
public class Obj {
private static var nameObj:String;
public function Obj() {
}
public function set name(nameOb:String):void{
nameObj=nameOb;
}
public function get name():String{
return nameObj;
}
}
}
//export the flash then click the button will result=======================//
obj_1
obj_2
obj_2
//==============================================================//
Summary:
I ever cofused the access control attribute when add private static differentiate only private in class. private variable in class alreay can't use except inside the class and why add static to use( to access by using class property)??
you see elarly codes show add static with private:
1. private static variable will be one variable in class when using multi-objects
2. attention when use the this keyword & arguement name confict when add static status.
Tags:AS3
AS3,
AS3 concept
2009/02/22
Flex CSS Source
Test & Get CSS Codes:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
Get Component Skins:
http://www.scalenine.com/
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
Get Component Skins:
http://www.scalenine.com/
Tags:AS3
CSS,
Flex concept,
skin
2008/10/27
how to pass variables from loading swf to loaded swf?
parent/loading swf:
package{
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLRequest;
public class LoadingSWF extends Sprite{
private var loader:Loader = new Loader();
public function LoadingSWF (){
loader.contentLoaderInfo.addEventListener( Event.INIT, onLoaderInit );
loader.load( new URLRequest( "ExampleB.swf" ) );
}
private function onLoaderInit( event:Event ):void
{
Object( loader.content ).init( "passing" );
}
}
}
/*=======================================*/
child/loaded swf:
package{
import flash.display.Sprite;
public class LoadedSWF extends Sprite{
public function LoadedSWF (){
}
public function init( value:String):void{
trace(value);
}
}
}
訂閱:
文章 (Atom)