1、複製default.xml並粘貼到C:\Documents and Settings\[UserID]\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Publish Profiles 目錄下flash8.xml的檔案裡。
2、用文字編輯器開啟flash8.xml
3、改變<flash_profile>標籤裡name值為flash8(在第二行)(如圖)
4、尋找<version>標籤,並將其值從7改變為8(應該在64行)(如圖)
5、儲存當前檔案
6、重新啟動Flash
7、建立一個新的flash檔案並將下面的代碼放到第一幀
// create textfield
this.createTextField("txtField",
this.getNextHighestDepth(), 10, 10, 300, 100);
txtField.html = true;
txtField.htmlText = "<font size=’60’>Hello World!
</font>";
txtField.textColor = 0x0055CC;
// set new antialias mode
txtField.antiAliasType =
flash.text.TextRenderer.AntiAliasType.ADVANCED;
// create shadow filter
var dropShadow = new flash.filters.DropShadowFilter();
dropShadow.blurX = 5;
dropShadow.blurY = 5;
dropShadow.distance = 3;
dropShadow.angle = 35;
dropShadow.quality = 2;
dropShadow.alpha = 0.5;
// apply shadow filter
txtField.filters = [dropShadow];
8、使用快速鍵CTRL+SHIFT+F12發布視窗
9、匯入剛才建立的flash8.xml檔案,並儲存。
10、匯出或者發布你的檔案,即可在已安裝的Flash 8播放器播放測試。
測試結果: