這個畫面同時含有安全性與非安全性的項目。要顯示非安全性項目?

日文是:『このページにはセキュリティで保護されている項目と保護されていない項目が含まれています。保護されていない項目を表示しますか?』

有時瀏覽ssl網頁時會出現這個提示
我們或許會想明明網址就是『https://』開頭了
這是啥意思!?

原來是在現在瀏覽的這一個畫面中
其中有連結不是用『https://』開頭來顯示
就會讓ie跳出這個視窗來
(firefox也會在又下的鎖頭上出現紅色驚嘆號)
這時如果我們是身為網站的管理者
就必須檢查當下網頁的所有連結把開頭換成『https://』
包括在css中設定的圖片連結,所有稀奇古怪統計用的標籤都要!
但如果又不想在不是需要ssl保護的網頁也用ssl來加密這些圖片的話
可以這樣寫:

<img src="//l.xxx.com/pic.gif />

這樣他就會一目前的url來決定用不用ssl
當然…在l.xxx.com這台主機得有ssl可以用才行(同一台就不用擔心拉!)
閱讀全文

[flash]拉覇效果的banner partII

第一版會當掉的問題應該是flash的tween的問題了
今天google了一下換tweener來試了一下
目前是沒有發生同樣的情形
不愧是高手高高手開發的東西阿

tweener還提供許多動態路線可以使用(這邊也有)
能做的當然也不只位移
模糊 大小 比例 透明 顏色….都可以
不過有的要先初始化才能控制到
像是要控制BLUR的話要先FilterShortcuts.init()
要控制COLOR的話要先ColorShortcuts.init()
不過每初始化一樣都會增加SWF的大小
可以參考節自官網的下表

Class path and name Description Approximate addition to SWF size
caurina.transitions.properties.ColorShortcuts Includes properties for manipulating the color of display objects, such as individual channel multiplier and offsets, and special coloring such as hue, saturation, brightness and contrast. 2.2 kb
caurina.transitions.properties.CurveModifiers Modifiers that provide some kind of change for normal tweenings; right now, the bezier curve only. 0.4 kb
caurina.transitions.properties.DisplayShortcuts Special properties for display objects such as Sprites, MovieClips, and TextField instances, include modifiers for visibility, frame position, and scrollRect size. 0.8 kb
caurina.transitions.properties.FilterShortcuts A list of special properties that simplify the tweening of the built-in bitmap filters such as Blur, Glow, and many others. 3.5 kb
caurina.transitions.properties.SoundShortcuts Special properties used when controlling sound. 0.2 kb
caurina.transitions.properties.TextShortcuts Additional special properties used to change some specific TextField properties, such as TextFormat properties, and the text content itself. 0.9 kb

還有一個很方便的是它連EventListener也內建了
很容易就可以呼叫下一個動作並帶入參數
加上延遲的時間
很直覺性的可以做出希望完成的動作~
閱讀全文