部落格文章訂閱


貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。


自訂搜尋

找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護~若有任何建議事項, 歡迎透過留言板留言給我喔!!


  • 你不能決定生命的長度,但可以控制它的寬度;
  • 你不能左右天氣,但可以改變心情;
  • 你不能改變容顏,但可以展現笑容;
  • 你不能控制他人,但可以掌握自己;
  • 你不能預知明天,但可以利用今天;
  • 你不能樣樣勝利,但可以事事盡力。

free counters

目前分類:Flex程式設計 (5)

瀏覽方式: 標題列表 簡短摘要

Action SCRIPT 2.0 之  MouseEvent 參考

stop();

stage.addEventListener(MouseEvent.MOUSE_MOVE,stageEvent);
stage.addEventListener(Event.MOUSE_LEAVE,stageLeave);

Frank 發表在 痞客邦 留言(0) 人氣()

When you use ClickOnce to deploy your application with Visual Studio, a .pfx file is automatically generated by default.

當你透過 ADT 建立 Windows 或 MAC 的原生安裝檔案時, 你會需要 憑證檔案 ,此時, 這篇文章很重要, 請參考以下內容:

Reminder:
When you want to use Authenticode signing, you need:

Frank 發表在 痞客邦 留言(0) 人氣()

當使用 Flash builder 3 建立 AIR 桌面應用程式後 ,將會產生 .airi 的安裝檔案 ,此檔案若要在 Windows 平台 或 MAC 平台上面進行執行並且安裝, 則必須透過 Adobe AIR 原生的 ADT 指令, 將 .airi 或 .air 檔案輸出成 Windows or MAC 平台原生的安裝檔案.

你可以使用以下的指令:

  • 下列範例會根據 AIR 檔案建立 DMG 檔 (Mac OS 適用的原生安裝程式檔案):
    • adt -package -target native myApp.dmg myApp.air
  • 下列範例會根據 AIR 檔案建立 EXE 檔 (Windows 適用的原生安裝程式檔案):
    • adt -package -target native myApp.exe myApp.air
  • 下列範例會建立 EXE 檔 (根據 AIR 檔案) 並予以簽署:
    • adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air
  • 下列範例會根據 AIRI 檔案建立 DMG 檔 (Mac OS 適用的原生安裝程式檔案):
    • adt -storetype pkcs12 -keystore myCert.pfx -packag e-target native myApp.dmg myApp.airi
  • 下列範例會根據 AIRI 檔案建立 EXE 檔 (Windows 適用的原生安裝程式檔案):
    • adt -storetype pkcs12 -keystore myCert.pfx -package -target native myApp.exe myApp.airi
  • 下列範例會建立 EXE 檔 (根據 AIRI 檔案) 並予以簽署:
    • adt -package -storetype pkcs12 -keystore myCert.pfx -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.airi

PS. 執行 ADT 指令前, 需要先安裝 Flash Builder 3 (這裡以 Flash Builder 3.0 + SDK 3.2.0為範例 )

      安裝完成後 ,請從開始功能表選單 Adobe -> Adobe Flex 3 SDK Command Prompt 開啟 CMD 視窗, 即可使用 ADT 指令

Frank 發表在 痞客邦 留言(0) 人氣()

Now a days most of the desktop applications are coming on Adobe AIR platform which is really cool. For example, TweetDeck, Twhirl, Reader etc. are already there using different APIs to get the data and let you manage that properly thru Desktop. To use these application, you will have to install Adobe AIR on your computer. Whether you are using Windows (Windows XP, Vista, Windows 7), Mac OS or Linux (Ubuntu or any other), Here is the step by step guide to install Adobe AIR on them.

adobe-air-installation

Adobe AIR on Windows

1. Download the AIR Installer EXE file. (~ 15 MB)

2. Run this executable file on your system

Frank 發表在 痞客邦 留言(0) 人氣()

PEAR is a framework and distribution system for reusable PHP components. The code in PEAR is partitioned in “packages”. Each package is a separate project with its own development team, version number, release cycle, documentation and a defined relation to other packages (including dependencies). Packages are distributed as gzipped tar files with a description file inside, and installed on your local system using the PEAR installer.PEAR contains PHP classes that are perfect for serializing data to be passed to a Flex application. Unfortunately, there is currently no package that would allow automatic installation for a Flex/PHP developer that wants to use the PEAR XML Serializer functionality.

In this article, I am going to describe how to do a local tweak and installation of the PEAR XML classes on a server that does not have PEAR pre-installed. Even if your server has PEAR installed, this approach will work.

Getting the Necessary PEAR Files

The PEAR files you will need for Flex are:

  • PEAR.php
  • XML_Serializer.php & XML_Unserializer.php
  • XML_Util.php

You can obtain these from the PEAR Package listings, but I have attached the modified files for you here.

Frank 發表在 痞客邦 留言(0) 人氣()