http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/properties/ru_RU.properties ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/properties/ru_RU.properties b/flex-installer/installer/src/properties/ru_RU.properties new file mode 100644 index 0000000..d9ef50b --- /dev/null +++ b/flex-installer/installer/src/properties/ru_RU.properties @@ -0,0 +1,140 @@ +################################################################################ +## +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +################################################################################ +ASK_BLAZEDS=Apache Flex по Ð¶ÐµÐ»Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑегÑиÑован Ñ Ñакими ÑеÑвеÑами как BlazeDS, GraniteDS, WebORB, Red5, AMFPHP, RubyAMF, PyAMF и дÑÑгими. ÐÐ»Ñ ÑÑого Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ ÑÑÑановиÑÑ flex-messaging-common.jar из Adobe Flex SDK. ÐÑа библиоÑека ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Adobe SDK Ð´Ð»Ñ Adobe Flex 4.6. ÐÑа лиÑÐµÐ½Ð·Ð¸Ñ Ð½Ðµ ÑовмеÑÑима Ñ Ð»Ð¸Ñензией Apache V2. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ ÑÑÑ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÑ Ð¸Ð· Adobe Flex SDK? +ASK_FONTSWF=Apache Flex по Ð¶ÐµÐ»Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑегÑиÑован Ñ Ð²ÑÑÑоеннÑми ÑÑиÑÑами Ð¾Ñ Adobe. ÐÐ»Ñ ÑÑого нÑÐ¶Ð½Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñеки Ñ Ð½Ð¾Ð²Ñми ÑÑиÑÑами из Adobe Flex SDK. ÐÑи библиоÑеки ÑаÑпÑоÑÑÑанÑÑÑÑÑ Ð¿Ð¾Ð´ лиÑензией Adobe SDK Ð´Ð»Ñ Adobe Flex 4.6. ÐÑа лиÑÐµÐ½Ð·Ð¸Ñ Ð½Ðµ ÑовмеÑÑима Ñ Ð»Ð¸Ñензией Apache V2. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ ÑÑи библиоÑеки из Adobe Flex SDK? +ASK_OSMF=Open Source Media Framework (OSMF) иÑполÑзÑеÑÑÑ Ð²Ð¸Ð´ÐµÐ¾ компоненÑами и ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Mozilla Public веÑÑии 1.1. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Open Source Media Framework (OSMF)? +ASK_TLF=Adobe Text Layout Framework (TLF) иÑполÑзÑеÑÑÑ ÑекÑÑовÑми компоненÑами Spark и ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Mozilla Public веÑÑии 1.1. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Adobe Text Layout Framework (TLF)? +ASK_APACHE_FLEX=Apache Flex SDK ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Apache V2. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Apache Flex SDK? +ASK_ADOBE_AIR_SDK=Adobe AIR SDK ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Adobe SDK. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Adobe AIR SDK? +ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC=Adobe Flash Player playerglobal.swc ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией Adobe SDK. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Adobe Flash Player playerglobal.swc? +ASK_SWFOBJECT=ÐÑогÑамма SWFObject ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð¿Ð¾Ð´ лиÑензией MIT. ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ SWFObject? +ASK_OFL_FONTS=The FlatSpark theme uses fonts licensed under the Open Font License. Do you want to install the Font Awesome and Lato Fonts? +BTN_LABEL_ADOBE_LICENSE=ÐÐÐÐÐÐТЬ ÐÐЦÐÐÐÐЮ ADOBE +BTN_LABEL_BROWSE=ÐÐ ÐСÐÐТР+BTN_LABEL_CLOSE=ÐÐÐРЫТЬ +BTN_LABEL_COPY_LOG=СÐÐÐÐÐ ÐÐÐТЬ ÐУРÐÐÐ +BTN_LABEL_INSTALL=УСТÐÐÐÐÐТЬ +BTN_LABEL_INSTALL_LOG=ÐУРÐÐРУСТÐÐÐÐÐÐ +BTN_LABEL_MPL_LICENSE=ÐÐÐÐÐÐТЬ ÐÐЦÐÐÐÐЮ MPL +BTN_LABEL_NEXT=ÐÐÐÐÐ +BTN_LABEL_BACK=ÐÐÐÐÐ +BTN_DISCLAIMER=ÐÑедÑпÑеждение +BTN_LABEL_OPEN_APACHE_FLEX_FOLDER=ÐТÐРЫТЬ ÐÐÐÐУ APACHE FLEX +ERROR_CONFIG_XML_LOAD=ÐÑибка во вÑÐµÐ¼Ñ Ð·Ð°Ð³ÑÑзки конÑигÑÑаÑионного XML Ñайла: +ERROR_DIR_NOT_EMPTY=ÐÑбÑÐ°Ð½Ð½Ð°Ñ Ð¿Ð°Ð¿ÐºÐ° не пÑÑÑа +ERROR_DIR_REQUIRE_ADMIN_RIGHTS=ТÑебÑÑÑÑÑ Ð¿Ñава ÐдминиÑÑÑаÑоÑа ÑÑÐ¾Ð±Ñ Ð·Ð°Ð¿Ð¸ÑÑваÑÑ ÑÐ°Ð¹Ð»Ñ Ð² вÑбÑаннÑÑ Ð¿Ð°Ð¿ÐºÑ +ERROR_INVALID_AIR_SDK_URL_MAC=ÐдÑÐµÑ Adobe AIR SDK Ð´Ð»Ñ Mac Ñказан невеÑно в конÑигÑÑаÑионном Ñайле +ERROR_INVALID_AIR_SDK_URL_WINDOWS=ÐдÑÐµÑ Adobe AIR SDK Ð´Ð»Ñ Windows Ñказан невеÑно в конÑигÑÑаÑионном Ñайле +ERROR_INVALID_FLASH_PLAYER_SWC_URL=ÐдÑÐµÑ Flash Player swc Ñказан невеÑно в конÑигÑÑаÑионном Ñайле +ERROR_INVALID_FLEX_SDK_DIRECTORY=Ðапка Ð´Ð»Ñ Flex SDK вÑбÑана невеÑно +ERROR_INVALID_SDK_URL=ÐдÑÐµÑ Apache Flex SDK Ñказан невеÑно в конÑигÑÑаÑионном Ñайле +ERROR_MIRROR_FETCH=ÐÑибка пÑи вÑбоÑе зеÑкала Ð´Ð»Ñ ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ Ð°ÑÑ Ð¸Ð²Ð° Ñ Apache Flex SDK: +ERROR_NATIVE_PROCESS_ERROR=ÐÑибка аÑÑ Ð¸Ð²Ð°ÑоÑа: невозможно ÑаÑпаковаÑÑ Adobe AIR SDK +ERROR_NATIVE_PROCESS_NOT_SUPPORTED=ÐÑÑ Ð¸Ð²Ð°ÑÐ¾Ñ Ð½Ðµ поддеÑживаеÑÑÑ. Ðевозможно ÑаÑпаковаÑÑ Adobe AIR SDK +ERROR_UNABLE_TO_COPY_FILE=Ðевозможно ÑкоÑиÑоваÑÑ Ñайл +ERROR_UNABLE_TO_CREATE_TEMP_DIRECTORY=Ðевозможно ÑоздаÑÑ Ð²ÑеменнÑÑ Ð¿Ð°Ð¿ÐºÑ +ERROR_UNABLE_TO_DELETE_TEMP_DIRECTORY=Ðевозможно оÑиÑÑиÑÑ Ð²ÑеменнÑе папки +ERROR_UNABLE_TO_DOWNLOAD_AIR_SDK=Ðевозможно ÑкаÑаÑÑ Adobe AIR Runtime Kit +ERROR_UNABLE_TO_DOWNLOAD_FILE=Ðевозможно ÑкаÑаÑÑ {0} +ERROR_UNABLE_TO_DOWNLOAD_FLASH_PLAYER_SWC=Ðевозможно ÑкаÑаÑÑ Flash Player swc +ERROR_UNABLE_TO_DOWNLOAD_FLEX_SDK=Ðевозможно ÑкаÑаÑÑ Apache Flex SDK +ERROR_UNABLE_TO_INSTALL_CONFIG_FILES=Ðевозможно ÑÑÑановиÑÑ ÐºÐ¾Ð½ÑигÑÑаÑионнÑе ÑÐ°Ð¹Ð»Ñ +ERROR_UNABLE_TO_UNZIP=Ðевозможно ÑаÑпаковаÑÑ Ñайл: +ERROR_UNABLE_TO_DOWNLOAD_SWF_OBJECT=Ðевозможно ÑкаÑаÑÑ SWFObject +ERROR_UNSUPPORTED_OPERATING_SYSTEM=ÐеподдеÑÐ¶Ð¸Ð²Ð°ÐµÐ¼Ð°Ñ Ð¾Ð¿ÐµÑаÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑиÑÑема +ERROR_VERIFY_FLEX_SDK=ЦиÑÑÐ¾Ð²Ð°Ñ MD5 подпиÑÑ ÑкаÑанного Apache Flex SDK не ÑÐ¾Ð²Ð¿Ð°Ð´Ð°ÐµÑ Ñ Ð¾Ñигиналом. Файл повÑеждÑн, ÑÑÑановка пÑеÑвана. +FETCH_GEO_IP=ÐапÑаÑиваем ÑÑÑÐ°Ð½Ñ Ð¿Ð¾Ð»ÑзоваÑÐµÐ»Ñ Ñ ÑлÑÐ¶Ð±Ñ GeoIP... +FETCH_GEO_IP_DONE=СÑÑана полÑзоваÑÐµÐ»Ñ Ð¿Ð¾Ð»ÑÑена Ñ ÑлÑÐ¶Ð±Ñ GeoIP. +FETCH_GEO_IP_ERROR=Ðо вÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑоÑа ÑÑÑÐ°Ð½Ñ Ð¿Ð¾Ð»ÑзоваÑÐµÐ»Ñ Ñ ÑлÑÐ¶Ð±Ñ GeoIP пÑоизоÑла оÑибка. +FETCH_MIRROR_CGI=ÐапÑаÑиваем адÑÐµÑ Ð·ÐµÑкала ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ SDK Ñ ÑлÑÐ¶Ð±Ñ CGI... +FETCH_MIRROR_CGI_DONE=ÐдÑÐµÑ Ð·ÐµÑкала ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ SDK Ñ ÑлÑÐ¶Ð±Ñ CGI полÑÑен. +FETCH_MIRROR_CGI_ERROR=Ðевозможно полÑÑиÑÑ Ð°Ð´ÑÐµÑ Ð·ÐµÑкала ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ SDK Ñ ÑлÑÐ¶Ð±Ñ CGI. ÐопÑобÑем ÑеÑез ÑлÑÐ¶Ð±Ñ GeoIP. +FETCH_MIRROR_LIST=ÐапÑаÑиваем ÑпиÑок зеÑкал Ñ Apache.org... +FETCH_MIRROR_LIST_DONE=СпиÑок зеÑкал полÑÑен Ñ Apache.org. +FETCH_MIRROR_LIST_PARSED=СпиÑок зеÑкал полÑÑен и на оÑновании кода ÑÑÑÐ°Ð½Ñ Ð¿Ð¾Ð»ÑÑен ÑÑÐ¾Ñ Ð°Ð´ÑеÑ: +INFO_ABORT_INSTALLATION=УÑÑановка пÑеÑвана +INFO_USER_ABORT_INSTALLATION=ÐолÑзоваÑÐµÐ»Ñ Ð·Ð°ÐºÑÑл инÑÑаллÑÑÐ¾Ñ Ð½Ðµ дождавÑиÑÑ Ð·Ð°Ð²ÐµÑÑениÑ. ТекÑÑий Ñаг: +INFO_APP_INVOKED=ÐапÑÑен в Ñежиме коммандной ÑÑÑоки Ñо ÑледÑÑÑими аÑгÑменÑами: +INFO_CREATING_FLEX_HOME=СоздаÑм домаÑнÑÑ Ð¿Ð°Ð¿ÐºÑ Ð´Ð»Ñ Apache Flex +INFO_CREATING_TEMP_DIR=СоздаÑм вÑеменнÑÑ Ð¿Ð°Ð¿ÐºÑ +INFO_CURRENT_LANGUAGE=ÐÑбеÑиÑе ÑзÑк +INFO_DOWNLOADING_ADOBE_FLEX_SDK=СкаÑиваем Adobe Flex SDK из: +INFO_DOWNLOADING_AIR_RUNTIME_KIT_MAC=СкаÑиваем Adobe AIR Runtime Kit Ð´Ð»Ñ Mac из: +INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=СкаÑиваем Adobe AIR Runtime Kit Ð´Ð»Ñ Windows из: +INFO_DOWNLOADING_FILE_FROM=СкаÑиваем {0} из: {1} +INFO_DOWNLOADING_FLEX_SDK=СкаÑиваем Apache Flex SDK из: +INFO_DOWNLOADED=СкаÑивание завеÑÑено +INFO_ENTER_VALID_FLEX_SDK_PATH=ÐожалÑйÑÑа введиÑе пÑавилÑнÑй пÑÑÑ Ð´Ð¾ папки Ð´Ð»Ñ Flex SDK +INFO_FINISHED_UNTARING=ÐаконÑили ÑаÑпаковÑваÑÑ: +INFO_FINISHED_UNZIPPING=ÐаконÑили ÑаÑпаковÑваÑÑ: +INFO_INSTALLATION_COMPLETE=УÑÑановка завеÑÑена +INFO_INSTALLING=УÑÑанавливаем... +INFO_INSTALLING_CONFIG_FILES=УÑÑанавливаем конÑигÑÑаÑионнÑе ÑÐ°Ð¹Ð»Ñ Ð´Ð»Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ñ IDE +INFO_INSTALLING_PLAYERGLOBAL_SWC=УÑÑанавливаем Flash Player playerglobal.swc из: +INFO_INVOKED_GUI_MODE=запÑÑен в визÑалÑном Ñежиме +INFO_LICENSE_AGREEMENTS=ÐиÑензионное ÑоглаÑение +INFO_NEED_TO_READ_AND_AGREE_TO_LICENSE=ÐÑÐ¾Ñ ÑÑÑановÑик ÑкаÑÐ°ÐµÑ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½ÑÑ Ñ ÑазнÑÑ ÑайÑов под ÑазнÑми лиÑензиÑми. ÐожалÑйÑÑа вÑбеÑиÑе каждÑй ÑÐ»ÐµÐ¼ÐµÐ½Ñ Ñлева, пÑоÑиÑайÑе лиÑÐµÐ½Ð·Ð¸Ñ Ð¸ подÑвеÑдиÑе ÑÑо Ð²Ñ ÑоглаÑÐ½Ñ Ñ ÐµÑ ÑÑловиÑми by checking the checkbox next to it. +INFO_SELECT_AIR_FLASH_PLAYER=ÐÑбеÑиÑе веÑÑии AIR и Flash Player'а. +INFO_SELECT_AIR=ÐÑбеÑиÑе веÑÑÐ¸Ñ AIR +INFO_SELECT_DIRECTORY=ÐÑбеÑиÑе Ð¿Ð°Ð¿ÐºÑ Ð² коÑоÑÑÑ ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Flex SDK +INFO_SELECT_DIRECTORY_INSTALL=ÐÑбеÑиÑе Ð¿Ð°Ð¿ÐºÑ Ð´Ð»Ñ ÑÑÑановки +INFO_SELECT_FLASH=ÐÑбеÑиÑе веÑÑÐ¸Ñ Flash Player'а +INFO_SELECT_FLEX=ÐÑбеÑиÑе веÑÑÐ¸Ñ Flex +INFO_UNZIPPING=РаÑпаковÑваем: +INFO_VERIFY_FLEX_SDK_DONE=ЦиÑÑÐ¾Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ MD5 Apache Flex SDK ÑкаÑаннÑÑ Ñайлов ÑÐ¾Ð²Ð¿Ð°Ð´Ð°ÐµÑ Ñ Ð¾Ñигиналом. Файл не повÑеждÑн. +INFO_WINDOW_TITLE=УÑÑановиÑÑ Apache Flex SDK {0} Ð´Ð»Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ñ IDE +INSTALL_AGREE=Я ÑоглаÑен(а), УÑÑановиÑÑ +INSTALL_AGREE_ALL=Я ÑоглаÑен(а) по вÑем пÑнкÑам и Ñо вÑеми лиÑензиÑми, УÑÑановиÑÑ +INSTALL_DISAGREE=Я не ÑоглаÑен(а), Ðе ÑÑÑанавливаÑÑ +SELECT_PATH_PROMPT=ÐÑда ÐÑ Ñ Ð¾ÑиÑе ÑÑÑановиÑÑ Apache Flex SDK? +STEP_SELECT_AIR_AND_FLASH_VERSION=ÐÑбеÑиÑе веÑÑии AIR и Flash Player. +STEP_CREATE_DIRECTORIES=Создание папок +STEP_REQUIRED_INSTALL_APACHE_FLEX_SDK=Apache Flex SDK (ÐбÑзаÑелÑно) +STEP_REQUIRED_INSTALL_ADOBE_AIR_SDK=Adobe AIR SDK (ÐбÑзаÑелÑно) +STEP_REQUIRED_INSTALL_FLASH_PLAYER_GLOBAL_SWC=Adobe Flash Player playerglobal.swc (ÐбÑзаÑелÑно) +STEP_REQUIRED_INSTALL_SWFOBJECT=SWFObject (ÐбÑзаÑелÑно) +STEP_INSTALL_CONFIG_FILES=УÑÑанавливаем конÑигÑÑаÑионнÑе ÑÐ°Ð¹Ð»Ñ +STEP_REQUIRED_INSTALL_OSMF=OSMF (ÐбÑзаÑелÑно) +STEP_REQUIRED_INSTALL_TLF=Adobe Text Layout Framework (ÐбÑзаÑелÑно) +STEP_REQUIRED_INSTALL_OFL_FONTS=Font Awesome and Lato Fonts (ÐбÑзаÑелÑно) +STEP_OPTIONAL_INSTALL_BLAZEDS=ÐоддеÑжка ÑеÑвеÑов (Ðе обÑзаÑелÑно) +STEP_OPTIONAL_INSTALL_FONTSWF=ÐÑÑÑоеннÑе библиоÑеки ÑÑиÑÑов Adobe и ÑÑилиÑÑ (Ðе обÑзаÑелÑно) +STEP_REQUIRED_UNZIP_AIR_RUNTIME_KIT=РаÑпаковÑваем Adobe AIR Runtime Kit +STEP_UNZIP_AIR_RUNTIME_KIT=РаÑпаковÑваем Adobe AIR Runtime Kit +STEP_UNZIP_FLEX_SDK=РаÑпаковÑваем Apache Flex SDK +STEP_VERIFY_FLEX_SDK=ÐÑовеÑÑм MD5 ÑиÑÑовÑÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ Apache Flex +LICENSE_APACHE_V2=ÐиÑÐµÐ½Ð·Ð¸Ñ Apache V2 +LICENSE_URL_APACHE_V2=http://www.apache.org/licenses/LICENSE-2.0.html +LICENSE_ADOBE_SDK=ÐиÑÐµÐ½Ð·Ð¸Ñ Adobe Flex SDK +LICENSE_URL_ADOBE_SDK=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_ADOBE_AIR_SDK=ÐиÑÐµÐ½Ð·Ð¸Ñ Adobe AIR SDK +LICENSE_URL_ADOBE_AIR_SDK=http://www.adobe.com/products/air/sdk-eula.html +LICENSE_SWFOBJECT=ÐиÑÐµÐ½Ð·Ð¸Ñ MIT +LICENSE_URL_SWFOBJECT=http://opensource.org/licenses/mit-license.php +LICENSE_OSMF=ÐиÑÐµÐ½Ð·Ð¸Ñ Mozilla Public веÑÑии 1.1 +LICENSE_URL_OSMF=http://www.mozilla.org/MPL/ +LICENSE_TLF=ÐиÑÐµÐ½Ð·Ð¸Ñ Mozilla Public веÑÑии 1.1 +LICENSE_URL_TLF=http://www.mozilla.org/MPL/ +LICENSE_FONTSWF=ÐиÑÐµÐ½Ð·Ð¸Ñ Adobe Flex SDK +LICENSE_URL_FONTSWF=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_BLAZEDS=ÐиÑÐµÐ½Ð·Ð¸Ñ Adobe Flex SDK +LICENSE_URL_BLAZEDS=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +INFO_TRACKING=ÐбезлиÑÐµÐ½Ð½Ð°Ñ ÑÑаÑиÑÑиÑÑика иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð±ÑÐ´ÐµÑ ÑобÑанна \n в ÑооÑвеÑÑÑвии Ñ Ð½Ð°Ñими полиÑиками конÑиденÑиалÑноÑÑи +INFO_VERSION=веÑÑÐ¸Ñ +INFO_USING_CACHED_FILE=ÐÑполÑзÑем Ñайл из кÑÑа:
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/properties/zh_CN.properties ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/properties/zh_CN.properties b/flex-installer/installer/src/properties/zh_CN.properties new file mode 100755 index 0000000..f542c05 --- /dev/null +++ b/flex-installer/installer/src/properties/zh_CN.properties @@ -0,0 +1,138 @@ +################################################################################ +## +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +################################################################################ +# note that the translation of "Using cache from ..." is missing +ASK_BLAZEDS=Apache Flex å¯ä»¥éæ©æ§å°ä¸ BlazeDS, GraniteDS, WebORB, Red5, AMFPHP, RubyAMF, PyAMF åå ¶å®ä¸äºè¿ç¨æå¡æä¾è è¿è¡æ´å. æ¤åè½é¡»è¦ Adobe Flex SDK éç flex-messaging-common.jar æä»¶, Adobe Flex 4.6 ç Adobe SDK 许å¯åè®®éç¨äºè¿ä¸ª jar æä»¶, æ¤è®¸å¯ä¸ Apache V2 许å¯å¹¶ä¸å ¼å®¹. æ¨æ³è¦å®è£ æ¥èª Adobe Flex SDK éçè¿ä¸ª jar æä»¶å? +ASK_FONTSWF=Apache Flex å¯ä»¥éæ©æ§å°ä¸ Adobe é¶å ¥å使¯æ è¿è¡æ´å. æ¤åè½é¡»è¦ Adobe Flex SDK éçä¸äºä¸åä½ç¸å ³ç jar æä»¶, Adobe Flex 4.6 ç Adobe SDK 许å¯åè®®éç¨äºè¿äº jar æä»¶, æ¤è®¸å¯ä¸ Apache V2 许å¯å¹¶ä¸å ¼å®¹. æ¨æ³è¦å®è£ æ¥èª Adobe Flex SDK éçè¿äº jar æä»¶å? +ASK_OSMF=Flex çä¸äºè§é¢ç»ä»¶éè¦ç¨å°å¼æºåªä½æ¡æ¶ Open Source Media Framework (OSMF), OSMF ç± Mozilla å ¬å ±è®¸å¯åè®® 1.1 çæä¾ææ. æ¨æ³è¦ä¸è½½å¹¶å®è£ OSMF å? +ASK_TLF=Flex çä¸äº Spark ææ¬ç»ä»¶éè¦ç¨å° Adobe ææ¬å¸å±æ¡æ¶ Text Layout Framework (TLF), TLF ç± Mozilla å ¬å ±è®¸å¯åè®® 1.1 çæä¾ææ. æ¨æ³è¦ä¸è½½å¹¶å®è£ TLF å? +ASK_APACHE_FLEX=Apache V2 许å¯åè®®éç¨äº Apache Flex SDK. æ¨æ³è¦å®è£ Apache Flex SDK å? +ASK_ADOBE_AIR_SDK=Adobe SDK 许å¯åè®®éç¨äº Adobe AIR SDK. æ¨æ³è¦å®è£ Adobe AIR SDK å? +ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC=Adobe SDK 许å¯åè®®éç¨äº Adobe Flash Player ç playerglobal.swc æä»¶. æ¨æ³è¦å®è£ Adobe Flash Player ç playerglobal.swc æä»¶å? +ASK_SWFOBJECT=MIT 许å¯åè®®éç¨äº SWFObject å®ç¨ç¨åº. æ¨æ³è¦å®è£ SWFObject å®ç¨ç¨åºå? +ASK_OFL_FONTS=The FlatSpark theme uses fonts licensed under the Open Font License. Do you want to install the Font Awesome and Lato Fonts? +BTN_LABEL_ADOBE_LICENSE=æ¾ç¤º Adobe 许å¯åè®® +BTN_LABEL_BROWSE=æµè§ +BTN_LABEL_CLOSE=éåº +BTN_LABEL_COPY_LOG=æ·è´æ¥å¿ +BTN_LABEL_INSTALL=å®è£ +BTN_LABEL_INSTALL_LOG=å®è£ æ¥å¿ +BTN_LABEL_MPL_LICENSE=æ¾ç¤º MPL 许å¯åè®® +BTN_LABEL_NEXT=ä¸ä¸æ¥ +BTN_LABEL_BACK=åé +BTN_DISCLAIMER=å 责声æ +BTN_LABEL_OPEN_APACHE_FLEX_FOLDER=æå¼ Apache Flex ç®å½ +ERROR_CONFIG_XML_LOAD=å°è¯å è½½ XML é ç½®æä»¶æ¶éå°é误: +ERROR_DIR_NOT_EMPTY=æéç并䏿¯ä¸ä¸ªç©ºç®å½ +ERROR_INVALID_AIR_SDK_URL_MAC=å¨é ç½®æä»¶ä¸ Mac ç Adobe AIR SDK ç URL å°åæ æ +ERROR_INVALID_AIR_SDK_URL_WINDOWS=å¨é ç½®æä»¶ä¸ Windows ç Adobe AIR SDK ç URL å°åæ æ +ERROR_INVALID_FLASH_PLAYER_SWC_URL=å¨é ç½®æä»¶ä¸ playerglobal.swc æä»¶ç URL å°åæ æ +ERROR_INVALID_FLEX_SDK_DIRECTORY=æéç Flex SDK ç®å½æ æ +ERROR_INVALID_SDK_URL=å¨é ç½®æä»¶ä¸ Apache Flex SDK ç URL å°åæ æ +ERROR_MIRROR_FETCH=å°è¯è·åå·²ç¼è¯ç Apache Flex SDK çéåä¸è½½æ¶éå°é误: +ERROR_NATIVE_PROCESS_ERROR=æ¬å°è¿ç¨è°ç¨åçé误, æ æ³è§£å Adobe AIR SDK +ERROR_NATIVE_PROCESS_NOT_SUPPORTED=䏿¯ææ¬å°è¿ç¨è°ç¨, æ æ³è§£å Adobe AIR SDK +ERROR_UNABLE_TO_COPY_FILE=æ æ³æ·è´æä»¶ +ERROR_UNABLE_TO_CREATE_TEMP_DIRECTORY=æ æ³å建临æ¶ç®å½ +ERROR_UNABLE_TO_DELETE_TEMP_DIRECTORY=æ æ³æ¸ çææä¸´æ¶å®è£ ç®å½ +ERROR_UNABLE_TO_DOWNLOAD_AIR_SDK=æ æ³ä¸è½½ Adobe AIR è¿è¡æ¶å·¥å ·å +ERROR_UNABLE_TO_DOWNLOAD_FILE=æ æ³ä¸è½½ {0} +ERROR_UNABLE_TO_DOWNLOAD_FLASH_PLAYER_SWC=æ æ³ä¸è½½ playerglobal.swc æä»¶ +ERROR_UNABLE_TO_DOWNLOAD_FLEX_SDK=æ æ³ä¸è½½ Apache Flex SDK +ERROR_UNABLE_TO_INSTALL_CONFIG_FILES=æ æ³å®è£ æäºé ç½®æä»¶ +ERROR_UNABLE_TO_UNZIP=æ æ³è§£åæä»¶: +ERROR_UNABLE_TO_DOWNLOAD_SWF_OBJECT=æ æ³ä¸è½½ SWFObject +ERROR_UNSUPPORTED_OPERATING_SYSTEM=䏿¯æå½åæä½ç³»ç» +ERROR_VERIFY_FLEX_SDK=æä¸è½½æä»¶ç MD5 ç¾åå Apache Flex SDK ç宿¹ç¾åä¸ä¸è´, æ¤æä»¶æ æ, å®è£ 䏿¢. +FETCH_GEO_IP=æ£å¨å°è¯ä» GeoIP æå¡è·åå½åç¨æ·çå½å®¶ä»£ç ... +FETCH_GEO_IP_DONE=å·²ä» GeoIP æå¡åå¾å½åç¨æ·çå½å®¶ä»£ç . +FETCH_GEO_IP_ERROR=å°è¯ä» GeoIP æå¡è·åå½åç¨æ·çå½å®¶ä»£ç æ¶åçäºä¸ä¸ªé误. +FETCH_MIRROR_CGI=æ£å¨å°è¯ä» CGI è·å SDK çéåä¸è½½ URL å°å... +FETCH_MIRROR_CGI_DONE=å·²ä» CGI åå¾ SDK çéåä¸è½½ URL å°å. +FETCH_MIRROR_CGI_ERROR=æ æ³ä» CGI è·å SDK çéåä¸è½½ URL å°å, åå¤å°è¯ GeoIP è·¯ç±. +FETCH_MIRROR_LIST=æ£å¨å°è¯ä» Apache.org è·åéåå表... +FETCH_MIRROR_LIST_DONE=å·²ä» Apache.org åå¾éåå表. +FETCH_MIRROR_LIST_PARSED=å·²æ ¹æ®å½å®¶ä»£ç æåè§£æéåå表并å¾å°è¿ä¸ªå: +INFO_ABORT_INSTALLATION=å®è£ 䏿¢ +INFO_APP_INVOKED=å¨è°ç¨å½ä»¤è¡æ¨¡å¼ä¸ä½¿ç¨ä»¥ä¸åæ°: +INFO_CREATING_FLEX_HOME=æ£å¨å建 Apache Flex 主ç®å½ +INFO_CREATING_TEMP_DIR=æ£å¨å建临æ¶ç®å½ +INFO_CURRENT_LANGUAGE=éæ©è¯è¨ +INFO_DOWNLOADING_ADOBE_FLEX_SDK=æ£å¨ä¸è½½ Adobe Flex SDK: +INFO_DOWNLOADING_AIR_RUNTIME_KIT_MAC=æ£å¨ä¸è½½ Mac ç Adobe AIR è¿è¡æ¶å·¥å ·å : +INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=æ£å¨ä¸è½½ Windows ç Adobe AIR è¿è¡æ¶å·¥å ·å : +INFO_DOWNLOADING_FILE_FROM=æ£å¨ä¸è½½ {0} ä»è¿ä¸ªå°å: {1} +INFO_DOWNLOADING_FLEX_SDK=æ£å¨ä¸è½½ Apache Flex SDK: +INFO_DOWNLOADED=ä¸è½½å®æ +INFO_ENTER_VALID_FLEX_SDK_PATH=请为 Flex SDK è¾å ¥ææçç®å½è·¯å¾ +INFO_FINISHED_UNTARING=æ£å¨å®æ tar æä»¶çè§£å: +INFO_FINISHED_UNZIPPING=æ£å¨å®æè§£å: +INFO_INSTALLATION_COMPLETE=å®è£ 宿 +INFO_INSTALLING=æ£å¨å®è£ ... +INFO_INSTALLING_CONFIG_FILES=æ£å¨å®è£ æ¡æ¶é ç½®æä»¶, 以便为æä¸ª IDE æä½¿ç¨ +INFO_INSTALLING_PLAYERGLOBAL_SWC=æ£å¨å®è£ Adobe Flash Player ç playerglobal.swc æä»¶: +INFO_INVOKED_GUI_MODE=å·²è°ç¨ GUI æ¨¡å¼ +INFO_LICENSE_AGREEMENTS=许å¯åè®® +INFO_NEED_TO_READ_AND_AGREE_TO_LICENSE=æ¤å®è£ å¨ä¼ä»å¸¦æå¤ç§è®¸å¯åè®®çå¤ä¸ªç«ç¹ä¸è½½è½¯ä»¶. 请å¨å·¦ä¾§ç¹å»å个è¦å®è£ ç项ç®, é 读许å¯, å¹¶å¾éæè¾¹çå¤éæ¡ä»¥ç¡®è®¤æ¨åææ¥åå许å¯åè®®çæ¡æ¬¾. +INFO_SELECT_AIR_FLASH_PLAYER=éæ© AIR å Flash Player ççæ¬. +INFO_SELECT_AIR=éæ© AIR çæ¬ +INFO_SELECT_DIRECTORY=éæ©æ¨æ³è¦å®è£ Flex SDK çç®å½ +INFO_SELECT_DIRECTORY_INSTALL=éæ©å®è£ ç®å½ +INFO_SELECT_FLASH=éæ© Flash Player çæ¬ +INFO_SELECT_FLEX=éæ© Flex çæ¬ +INFO_UNZIPPING=æ£å¨è§£å: +INFO_VERIFY_FLEX_SDK_DONE=æä¸è½½æä»¶ç MD5 ç¾åå Apache Flex SDK ç宿¹ç¾åä¸è´, æ¤æä»¶ææ. +INFO_WINDOW_TITLE=为æ¨ç IDE å®è£ Apache Flex SDK {0} +INSTALL_AGREE=æåæ, å®è£ +INSTALL_AGREE_ALL=æåæææé项å许å¯, å®è£ +INSTALL_DISAGREE=æä¸åæ, ä¸è¦å®è£ +SELECT_PATH_PROMPT=æ¨æ³è¦å¨åªéå®è£ Apache Flex SDK? +STEP_SELECT_AIR_AND_FLASH_VERSION=éæ© AIR å Flash Player ççæ¬. +STEP_CREATE_DIRECTORIES=æ¹éå建ç®å½ +STEP_REQUIRED_INSTALL_APACHE_FLEX_SDK=Apache Flex SDK (å¿ é¡»ç) +STEP_REQUIRED_INSTALL_ADOBE_AIR_SDK=Adobe AIR SDK (å¿ é¡»ç) +STEP_REQUIRED_INSTALL_FLASH_PLAYER_GLOBAL_SWC=Adobe Flash Player playerglobal.swc (å¿ é¡»ç) +STEP_REQUIRED_INSTALL_SWFOBJECT=SWFObject (å¿ é¡»ç) +STEP_INSTALL_CONFIG_FILES=å®è£ æ¡æ¶é ç½®æä»¶ +STEP_REQUIRED_INSTALL_OSMF=OSMF (å¿ é¡»ç) +STEP_REQUIRED_INSTALL_TLF=Adobe Text Layout Framework (å¿ é¡»ç) +STEP_REQUIRED_INSTALL_OFL_FONTS=Font Awesome and Lato Fonts (å¿ é¡»ç) +STEP_OPTIONAL_INSTALL_BLAZEDS=è¿ç¨æ¯æ (å¯éç) +STEP_OPTIONAL_INSTALL_FONTSWF=Adobe é¶å ¥åä½åºåå®ç¨ç¨åº (å¯éç) +STEP_REQUIRED_UNZIP_AIR_RUNTIME_KIT=è§£å Adobe AIR è¿è¡æ¶å·¥å ·å +STEP_UNZIP_AIR_RUNTIME_KIT=è§£å Adobe AIR è¿è¡æ¶å·¥å ·å +STEP_UNZIP_FLEX_SDK=è§£å Apache Flex SDK +STEP_VERIFY_FLEX_SDK=æ£å¨éªè¯ Apache Flex SDK ç MD5 ç¾å +LICENSE_APACHE_V2=Apache V2 许å¯åè®® +LICENSE_URL_APACHE_V2=http://www.apache.org/licenses/LICENSE-2.0.html +LICENSE_ADOBE_SDK=Adobe Flex SDK 许å¯åè®® +LICENSE_URL_ADOBE_SDK=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_ADOBE_AIR_SDK=Adobe AIR SDK 许å¯åè®® +LICENSE_URL_ADOBE_AIR_SDK=http://www.adobe.com/products/air/sdk-eula.html +LICENSE_SWFOBJECT=MIT 许å¯åè®® +LICENSE_URL_SWFOBJECT=http://opensource.org/licenses/mit-license.php +LICENSE_OSMF=Mozilla å ¬å ±è®¸å¯åè®® 1.1 ç +LICENSE_URL_OSMF=http://www.mozilla.org/MPL/ +LICENSE_TLF=Mozilla å ¬å ±è®¸å¯åè®® 1.1 ç +LICENSE_URL_TLF=http://www.mozilla.org/MPL/ +LICENSE_FONTSWF=Adobe Flex SDK 许å¯åè®® +LICENSE_URL_FONTSWF=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_BLAZEDS=Adobe Flex SDK 许å¯åè®® +LICENSE_URL_BLAZEDS=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +INFO_TRACKING=å¿å使ç¨ç»è®¡ä¿¡æ¯å°æç §æä»¬çéç§æ¿çè¿è¡æ¶é. +INFO_VERSION=çæ¬ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/properties/zh_TW.properties ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/properties/zh_TW.properties b/flex-installer/installer/src/properties/zh_TW.properties new file mode 100755 index 0000000..9edda90 --- /dev/null +++ b/flex-installer/installer/src/properties/zh_TW.properties @@ -0,0 +1,138 @@ +################################################################################ +## +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +################################################################################ +# note that the translation of "Using cache from ..." is missing +ASK_BLAZEDS=Apache Flex å¯ä»¥é¸ææ§å°è BlazeDS, GraniteDS, WebORB, Red5, AMFPHP, RubyAMF, PyAMF åå ¶å®ä¸äºé 端æåæä¾è é²è¡æ´å. æ¤åè½é è¦ Adobe Flex SDK 裡ç flex-messaging-common.jar æªæ¡, Adobe Flex 4.6 ç Adobe SDK ææ¬åç´é©ç¨æ¼éå jar æªæ¡, æ¤è¨±å¯è Apache V2 許å¯ä¸¦ä¸ç¸å®¹. æ¨æ³è¦å®è£ä¾èª Adobe Flex SDK 裡çéå jar æªæ¡å? +ASK_FONTSWF=Apache Flex å¯ä»¥é¸ææ§å°è Adobe é²å ¥å髿¯æ´ é²è¡æ´å. æ¤åè½é è¦ Adobe Flex SDK 裡çä¸äºèåé«ç¸éç jar æªæ¡, Adobe Flex 4.6 ç Adobe SDK ææ¬åç´é©ç¨æ¼éäº jar æªæ¡, æ¤è¨±å¯è Apache V2 許å¯ä¸¦ä¸ç¸å®¹. æ¨æ³è¦å®è£ä¾èª Adobe Flex SDK 裡çéäº jar æªæ¡å? +ASK_OSMF=Flex çä¸äºè¦é »å ä»¶éè¦ç¨å°éæºåªé«æ¡æ¶ Open Source Media Framework (OSMF), OSMF ç± Mozilla å ¬å ±ææ¬åç´ 1.1 çæä¾ææ¬. æ¨æ³è¦ä¸è¼ä¸¦å®è£ OSMF å? +ASK_TLF=Flex çä¸äº Spark ææ¬å ä»¶éè¦ç¨å° Adobe ææ¬ä½å±æ¡æ¶ Text Layout Framework (TLF), TLF ç± Mozilla å ¬å ±ææ¬åç´ 1.1 çæä¾ææ¬. æ¨æ³è¦ä¸è¼ä¸¦å®è£ TLF å? +ASK_APACHE_FLEX=Apache V2 ææ¬åç´é©ç¨æ¼ Apache Flex SDK. æ¨æ³è¦å®è£ Apache Flex SDK å? +ASK_ADOBE_AIR_SDK=Adobe SDK ææ¬åç´é©ç¨æ¼ Adobe AIR SDK. æ¨æ³è¦å®è£ Adobe AIR SDK å? +ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC=Adobe SDK ææ¬åç´é©ç¨æ¼ Adobe Flash Player ç playerglobal.swc æªæ¡. æ¨æ³è¦å®è£ Adobe Flash Player ç playerglobal.swc æªæ¡å? +ASK_SWFOBJECT=MIT ææ¬åç´é©ç¨æ¼ SWFObject 實ç¨ç¨å¼. æ¨æ³è¦å®è£ SWFObject 實ç¨ç¨å¼å? +ASK_OFL_FONTS=The FlatSpark theme uses fonts licensed under the Open Font License. Do you want to install the Font Awesome and Lato Fonts? +BTN_LABEL_ADOBE_LICENSE=顯示 Adobe ææ¬åç´ +BTN_LABEL_BROWSE=æµè¦½ +BTN_LABEL_CLOSE=éåº +BTN_LABEL_COPY_LOG=æ·è²æ¥èª +BTN_LABEL_INSTALL=å®è£ +BTN_LABEL_INSTALL_LOG=å®è£æ¥èª +BTN_LABEL_MPL_LICENSE=顯示 MPL ææ¬åç´ +BTN_LABEL_NEXT=ä¸ä¸æ¥ +BTN_LABEL_BACK=å¾é +BTN_DISCLAIMER=å è²¬è²æ +BTN_LABEL_OPEN_APACHE_FLEX_FOLDER=æé Apache Flex ç®é +ERROR_CONFIG_XML_LOAD=å試è¼å ¥ XML è¨å®æªæ¡æéå°é¯èª¤: +ERROR_DIR_NOT_EMPTY=æé¸ç䏦䏿¯ä¸å空ç®é +ERROR_INVALID_AIR_SDK_URL_MAC=å¨è¨å®æªæ¡ä¸ Mac ç Adobe AIR SDK ç URL ä½åç¡æ +ERROR_INVALID_AIR_SDK_URL_WINDOWS=å¨è¨å®æªæ¡ä¸ Windows ç Adobe AIR SDK ç URL ä½åç¡æ +ERROR_INVALID_FLASH_PLAYER_SWC_URL=å¨è¨å®æªæ¡ä¸ playerglobal.swc æªæ¡ç URL ä½åç¡æ +ERROR_INVALID_FLEX_SDK_DIRECTORY=æé¸ç Flex SDK ç®éç¡æ +ERROR_INVALID_SDK_URL=å¨è¨å®æªæ¡ä¸ Apache Flex SDK ç URL ä½åç¡æ +ERROR_MIRROR_FETCH=å試ç²å已編è¯ç Apache Flex SDK çé¡åä¸è¼æéå°é¯èª¤: +ERROR_NATIVE_PROCESS_ERROR=æ¬å°é²ç¨èª¿ç¨ç¼çé¯èª¤, ç¡æ³è§£å£ Adobe AIR SDK +ERROR_NATIVE_PROCESS_NOT_SUPPORTED=䏿¯æ´æ¬å°é²ç¨èª¿ç¨, ç¡æ³è§£å£ Adobe AIR SDK +ERROR_UNABLE_TO_COPY_FILE=ç¡æ³æ·è²æªæ¡ +ERROR_UNABLE_TO_CREATE_TEMP_DIRECTORY=ç¡æ³åµå»ºè¨æç®é +ERROR_UNABLE_TO_DELETE_TEMP_DIRECTORY=ç¡æ³æ¸ çææè¨æå®è£ç®é +ERROR_UNABLE_TO_DOWNLOAD_AIR_SDK=ç¡æ³ä¸è¼ Adobe AIR éè¡æå·¥å ·å +ERROR_UNABLE_TO_DOWNLOAD_FILE=ç¡æ³ä¸è¼ {0} +ERROR_UNABLE_TO_DOWNLOAD_FLASH_PLAYER_SWC=ç¡æ³ä¸è¼ playerglobal.swc æªæ¡ +ERROR_UNABLE_TO_DOWNLOAD_FLEX_SDK=ç¡æ³ä¸è¼ Apache Flex SDK +ERROR_UNABLE_TO_INSTALL_CONFIG_FILES=ç¡æ³å®è£æäºè¨å®æªæ¡ +ERROR_UNABLE_TO_UNZIP=ç¡æ³è§£å£æªæ¡: +ERROR_UNABLE_TO_DOWNLOAD_SWF_OBJECT=ç¡æ³ä¸è¼ SWFObject +ERROR_UNSUPPORTED_OPERATING_SYSTEM=䏿¯æ´ç¶å使¥ç³»çµ± +ERROR_VERIFY_FLEX_SDK=æä¸è¼æªæ¡ç MD5 ç°½åå Apache Flex SDK ç宿¹ç°½åä¸ä¸è´, æ¤æªæ¡ç¡æ, å®è£ä¸æ¢. +FETCH_GEO_IP=æ£å¨åè©¦å¾ GeoIP æåç²åç¶å使ç¨è çå家代碼... +FETCH_GEO_IP_DONE=å·²å¾ GeoIP æååå¾ç¶å使ç¨è çå家代碼. +FETCH_GEO_IP_ERROR=åè©¦å¾ GeoIP æåç²åç¶å使ç¨è çå家代碼æç¼çäºä¸åé¯èª¤. +FETCH_MIRROR_CGI=æ£å¨åè©¦å¾ CGI ç²å SDK çé¡åä¸è¼ URL ä½å... +FETCH_MIRROR_CGI_DONE=å·²å¾ CGI åå¾ SDK çé¡åä¸è¼ URL ä½å. +FETCH_MIRROR_CGI_ERROR=ç¡æ³å¾ CGI ç²å SDK çé¡åä¸è¼ URL ä½å, æºåå試 GeoIP è·¯ç±. +FETCH_MIRROR_LIST=æ£å¨åè©¦å¾ Apache.org ç²åé¡åå表... +FETCH_MIRROR_LIST_DONE=å·²å¾ Apache.org åå¾é¡åå表. +FETCH_MIRROR_LIST_PARSED=å·²æ ¹æå家代碼æåè§£æé¡åå表並å¾å°éåå: +INFO_ABORT_INSTALLATION=å®è£ä¸æ¢ +INFO_APP_INVOKED=å¨èª¿ç¨å½ä»¤å模å¼ä¸ä½¿ç¨ä»¥ä¸åæ¸: +INFO_CREATING_FLEX_HOME=æ£å¨åµå»º Apache Flex 主ç®é +INFO_CREATING_TEMP_DIR=æ£å¨åµå»ºè¨æç®é +INFO_CURRENT_LANGUAGE=鏿èªè¨ +INFO_DOWNLOADING_ADOBE_FLEX_SDK=æ£å¨ä¸è¼ Adobe Flex SDK: +INFO_DOWNLOADING_AIR_RUNTIME_KIT_MAC=æ£å¨ä¸è¼ Mac ç Adobe AIR éè¡æå·¥å ·å : +INFO_DOWNLOADING_AIR_RUNTIME_KIT_WINDOWS=æ£å¨ä¸è¼ Windows ç Adobe AIR éè¡æå·¥å ·å : +INFO_DOWNLOADING_FILE_FROM=æ£å¨ä¸è¼ {0} å¾éåä½å: {1} +INFO_DOWNLOADING_FLEX_SDK=æ£å¨ä¸è¼ Apache Flex SDK: +INFO_DOWNLOADED=ä¸è¼å®æ +INFO_ENTER_VALID_FLEX_SDK_PATH=è«çº Flex SDK è¼¸å ¥ææçç®éè·¯å¾ +INFO_FINISHED_UNTARING=æ£å¨å®æ tar æªæ¡çè§£å£: +INFO_FINISHED_UNZIPPING=æ£å¨å®æè§£å£: +INFO_INSTALLATION_COMPLETE=å®è£å®æ +INFO_INSTALLING=æ£å¨å®è£... +INFO_INSTALLING_CONFIG_FILES=æ£å¨å®è£æ¡æ¶è¨å®æªæ¡, ä»¥ä¾¿çºæå IDE æä½¿ç¨ +INFO_INSTALLING_PLAYERGLOBAL_SWC=æ£å¨å®è£ Adobe Flash Player ç playerglobal.swc æªæ¡: +INFO_INVOKED_GUI_MODE=å·²èª¿ç¨ GUI æ¨¡å¼ +INFO_LICENSE_AGREEMENTS=ææ¬åç´ +INFO_NEED_TO_READ_AND_AGREE_TO_LICENSE=æ¤å®è£å¨æå¾å¸¶æå¤ç¨®ææ¬åç´çå¤åç¶²ç«ä¸è¼è»é«. è«å¨å·¦å´é»æååè¦å®è£çé ç®, é±è®è¨±å¯, 並å¾é¸æéçæ ¸åæ¹å¡ä»¥ç¢ºèªæ¨åææ¥ååææ¬åç´çæ¢æ¬¾. +INFO_SELECT_AIR_FLASH_PLAYER=鏿 AIR å Flash Player ççæ¬. +INFO_SELECT_AIR=鏿 AIR çæ¬ +INFO_SELECT_DIRECTORY=é¸ææ¨æ³è¦å®è£ Flex SDK çç®é +INFO_SELECT_DIRECTORY_INSTALL=鏿å®è£ç®é +INFO_SELECT_FLASH=鏿 Flash Player çæ¬ +INFO_SELECT_FLEX=鏿 Flex çæ¬ +INFO_UNZIPPING=æ£å¨è§£å£: +INFO_VERIFY_FLEX_SDK_DONE=æä¸è¼æªæ¡ç MD5 ç°½åå Apache Flex SDK ç宿¹ç°½åä¸è´, æ¤æªæ¡ææ. +INFO_WINDOW_TITLE=çºæ¨ç IDE å®è£ Apache Flex SDK {0} +INSTALL_AGREE=æåæ, å®è£ +INSTALL_AGREE_ALL=æåæææé¸é å許å¯, å®è£ +INSTALL_DISAGREE=æä¸åæ, ä¸è¦å®è£ +SELECT_PATH_PROMPT=æ¨æ³è¦å¨åªè£¡å®è£ Apache Flex SDK? +STEP_SELECT_AIR_AND_FLASH_VERSION=鏿 AIR å Flash Player ççæ¬. +STEP_CREATE_DIRECTORIES=æ¹éåµå»ºç®é +STEP_REQUIRED_INSTALL_APACHE_FLEX_SDK=Apache Flex SDK (å¿ é ç) +STEP_REQUIRED_INSTALL_ADOBE_AIR_SDK=Adobe AIR SDK (å¿ é ç) +STEP_REQUIRED_INSTALL_FLASH_PLAYER_GLOBAL_SWC=Adobe Flash Player playerglobal.swc (å¿ é ç) +STEP_REQUIRED_INSTALL_SWFOBJECT=SWFObject (å¿ é ç) +STEP_INSTALL_CONFIG_FILES=å®è£æ¡æ¶è¨å®æªæ¡ +STEP_REQUIRED_INSTALL_OSMF=OSMF (å¿ é ç) +STEP_REQUIRED_INSTALL_TLF=Adobe Text Layout Framework (å¿ é ç) +STEP_REQUIRED_INSTALL_OFL_FONTS=Font Awesome and Lato Fonts (å¿ é ç) +STEP_OPTIONAL_INSTALL_BLAZEDS=é ç«¯æ¯æ´ (å¯é¸ç) +STEP_OPTIONAL_INSTALL_FONTSWF=Adobe é²å ¥åé«åº«å實ç¨ç¨å¼ (å¯é¸ç) +STEP_REQUIRED_UNZIP_AIR_RUNTIME_KIT=è§£å£ Adobe AIR éè¡æå·¥å ·å +STEP_UNZIP_AIR_RUNTIME_KIT=è§£å£ Adobe AIR éè¡æå·¥å ·å +STEP_UNZIP_FLEX_SDK=è§£å£ Apache Flex SDK +STEP_VERIFY_FLEX_SDK=æ£å¨é©è Apache Flex SDK ç MD5 ç°½å +LICENSE_APACHE_V2=Apache V2 ææ¬åç´ +LICENSE_URL_APACHE_V2=http://www.apache.org/licenses/LICENSE-2.0.html +LICENSE_ADOBE_SDK=Adobe Flex SDK ææ¬åç´ +LICENSE_URL_ADOBE_SDK=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_ADOBE_AIR_SDK=Adobe AIR SDK ææ¬åç´ +LICENSE_URL_ADOBE_AIR_SDK=http://www.adobe.com/products/air/sdk-eula.html +LICENSE_SWFOBJECT=MIT ææ¬åç´ +LICENSE_URL_SWFOBJECT=http://opensource.org/licenses/mit-license.php +LICENSE_OSMF=Mozilla å ¬å ±ææ¬åç´ 1.1 ç +LICENSE_URL_OSMF=http://www.mozilla.org/MPL/ +LICENSE_TLF=Mozilla å ¬å ±ææ¬åç´ 1.1 ç +LICENSE_URL_TLF=http://www.mozilla.org/MPL/ +LICENSE_FONTSWF=Adobe Flex SDK ææ¬åç´ +LICENSE_URL_FONTSWF=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +LICENSE_BLAZEDS=Adobe Flex SDK ææ¬åç´ +LICENSE_URL_BLAZEDS=http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf +INFO_TRACKING=å¿å使ç¨çµ±è¨è³è¨å°æç §æåçé±ç§æ¿çé²è¡æ¶é. +INFO_VERSION=çæ¬ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/sdk-installer-config-2.0.xml ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/sdk-installer-config-2.0.xml b/flex-installer/installer/src/sdk-installer-config-2.0.xml new file mode 100644 index 0000000..b57d452 --- /dev/null +++ b/flex-installer/installer/src/sdk-installer-config-2.0.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +--> + +<config> + <version> + <latest>2.5.4</latest> + </version> + <files> + + <!-- SDK Installer App binary distribution + Notes: + - use full URL when binaries are NOT released yet, else use + path relative to mirror + - if path is relative, don't use starting slash --> + <file name="SDKInstallerApp" path="https://dist.apache.org/repos/dist/dev/flex/installer/2.0/rc1/binaries/" file="apache-flex-sdk-installer-2.0.3-bin" /> + + <!-- Mirror URL CGI --> + <file name="MirrorURLCGI" path="" file="single-mirror-url.cgi"/> + + <!-- Apache Flex binary distribution + Notes: + - path is relative to mirror URL + - don't use starting slash + - for the second and later releases, remove the extension from the file name --> + <file name="ApacheFlexSDK" path="flex/4.9.1/binaries/" file="apache-flex-sdk-4.9.1-bin"/> + + <!-- Adobe AIR SDK --> + <file name="AdobeAIRSDKWin" path="http://airdownload.adobe.com/air/win/download/3.4/" file="AdobeAIRSDK.zip"/> + <file name="AdobeAIRSDKMac" path="http://airdownload.adobe.com/air/mac/download/3.4/" file="AdobeAIRSDK.tbz2"/> + + <!-- Adobe Flash Player player global swc --> + <file name="FlashPlayer" path="http://fpdownload.macromedia.com/get/flashplayer/updaters/11/" file="playerglobal11_1.swc" version="11.1"/> + + <!-- SWFObject.js --> + <file name="swfobject" path="http://swfobject.googlecode.com/files/" file="swfobject_2_2.zip"/> + + <!-- BlazeDS --> + <file name="BlazeDS" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-messaging-common.jar"/> + + <!-- FontSWF --> + <file name="afe" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="afe.jar"/> + <file name="aglj40" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="aglj40.jar"/> + <file name="flex-fontkit" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-fontkit.jar"/> + <file name="rideau" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="rideau.jar"/> + + <!-- OSMF --> + <file name="OSMF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/" file="osmf.swc"/> + + </files> +</config> http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/sdk-installer-config.xml ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/sdk-installer-config.xml b/flex-installer/installer/src/sdk-installer-config.xml new file mode 100644 index 0000000..c4f0ef1 --- /dev/null +++ b/flex-installer/installer/src/sdk-installer-config.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +--> + +<config> + <version> + <latest>1.0.9</latest> + </version> + <files> + + <!-- SDK Installer App binary distribution + Notes: + - use full URL when binaries are NOT released yet, else use + path relative to mirror + - if path is relative, don't use starting slash --> + <file name="SDKInstallerApp" path="incubator/flex/installer/1.0/binaries/" file="apache-flex-sdk-installer-1.0.9-incubating-bin" /> + + <!-- Mirror URL CGI --> + <file name="MirrorURLCGI" path="" file="single-mirror-url.cgi" /> + + <!-- Apache Flex binary distribution + Notes: + - path is relative to mirror URL + - don't use starting slash + - for the second and later releases, remove the extension from the file name --> + <file name="ApacheFlexSDK" path="incubator/flex/4.8.0-incubating/binaries/" file="apache-flex-sdk-4.8.0-incubating-bin.zip" /> + + <!-- Adobe AIR SDK --> + <file name="AdobeAIRSDKWin" path="http://airdownload.adobe.com/air/win/download/3.1/" file="AdobeAIRSDK.zip" /> + <file name="AdobeAIRSDKMac" path="http://airdownload.adobe.com/air/mac/download/3.1/" file="AdobeAIRSDK.tbz2" /> + + <!-- Adobe Flash Player player global swc --> + <file name="FlashPlayer" path="http://fpdownload.macromedia.com/get/flashplayer/updaters/11/" file="playerglobal11_1.swc" /> + + <!-- SWFObject.js --> + <file name="swfobject" path="http://swfobject.googlecode.com/files/" file="swfobject_2_2.zip" /> + + <!-- BlazeDS --> + <file name="BlazeDS" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-messaging-common.jar" /> + + <!-- FontSWF --> + <file name="afe" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="afe.jar" /> + <file name="aglj40" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="aglj40.jar" /> + <file name="flex-fontkit" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="flex-fontkit.jar" /> + <file name="rideau" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/lib/" file="rideau.jar" /> + + <!-- OSMF --> + <file name="OSMF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/" file="osmf.swc" /> + + <!-- TLF --> + <file name="TLF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/" file="textLayout.swc" /> + + </files> +</config> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/ActivityIndicator.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/ActivityIndicator.as b/flex-installer/installer/src/ws/tink/spark/controls/ActivityIndicator.as new file mode 100644 index 0000000..0829916 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/ActivityIndicator.as @@ -0,0 +1,283 @@ +/* + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import mx.events.FlexEvent; + import mx.managers.IToolTipManagerClient; + + import spark.components.Label; + import spark.components.supportClasses.SkinnableComponent; + + import ws.tink.spark.controls.Rotator; + + /** + * An indicator showing the indeterminate progress of a task. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public class ActivityIndicator extends SkinnableComponent + { + + + + //-------------------------------------------------------------------------- + // + // Constructor + // + //-------------------------------------------------------------------------- + + /** + * Constructor + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function ActivityIndicator() + { + addEventListener(FlexEvent.SHOW, showHandler, false, 0, true); + addEventListener(FlexEvent.HIDE, hideHandler, false, 0, true); + } + + + + //-------------------------------------------------------------------------- + // + // SkinParts + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // indicator + //---------------------------------- + + [SkinPart(required='true')] + /** + * The rotator used to show an indicator + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public var indicator:IAnimator; + + //---------------------------------- + // label + //---------------------------------- + + [SkinPart] + /** + * The labelDisplay to show the activity status + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public var labelDisplay:Label; + + + //-------------------------------------------------------------------------- + // + // Properties + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // label + //---------------------------------- + + /** + * @private + * Storage property for label. + */ + private var _label:String = ''; + + /** + * Text representing the status of the activity in progress. + * This will be shown to the user, depending on the skin. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get label():String + { + if(_label == '') + return null; + return _label; + } + /** + * @private + */ + public function set label(value:String):void + { + if( _label == value ) return; + + _label = value; + + if (indicator && indicator is IToolTipManagerClient) + IToolTipManagerClient( indicator ).toolTip = label; + + if (labelDisplay) + labelDisplay.text = _label; + } + + + //---------------------------------- + // autoAnimate + //---------------------------------- + + /** + * @private + * Storage property for autoAnimate. + */ + private var _autoAnimate:Boolean = true; + + [Inspectable(type="Boolean",defaultValue="true")] + /** + * Indicates that the <code>ActivityIndicator</code> should animate by default. + * + * This includes starting and stopping the animation when the component is shown and hidden. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get autoAnimate():Boolean + { + return _autoAnimate; + } + /** + * @private + */ + public function set autoAnimate(value:Boolean):void + { + _autoAnimate = value; + if (value && visible) + play(); + else + stop(); + } + + //-------------------------------------------------------------------------- + // + // Methods + // + //-------------------------------------------------------------------------- + + /** + * Start the activity animation. + * This can be managed automatically when show/hidden using autoAnimate. + * + * @see autoAnimate + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function play():void + { + if (indicator) + indicator.play(); + } + + /** + * Stop the activity animation. + * This can be managed automatically when show/hidden using autoAnimate. + * + * @see autoAnimate + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function stop():void + { + if (indicator) + indicator.stop(); + } + + + + //-------------------------------------------------------------------------- + // + // Overridden Methods + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + protected override function partAdded(partName:String, instance:Object):void + { + super.partAdded(partName, instance); + + switch( instance ) + { + case indicator : + { + if( label && indicator is IToolTipManagerClient ) + IToolTipManagerClient( indicator ).toolTip = label; + if( autoAnimate ) play(); + break; + } + case labelDisplay : + { + labelDisplay.text = label; + break; + } + } + } + + + + //-------------------------------------------------------------------------- + // + // Event Handlers + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + private function hideHandler(event:FlexEvent):void + { + if( autoAnimate ) stop(); + } + + /** + * @private + */ + private function showHandler(event:FlexEvent):void + { + if (autoAnimate) + play(); + } + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/IAnimator.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/IAnimator.as b/flex-installer/installer/src/ws/tink/spark/controls/IAnimator.as new file mode 100644 index 0000000..4047cf6 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/IAnimator.as @@ -0,0 +1,53 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + + /** + * The IAnimator interface defines the methods + * for controls that are able to animate. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4.5 + */ + public interface IAnimator + { + /** + * Plays the animation. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + function play():void + + /** + * Stops the animation. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + function stop():void + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/PercentLayout.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/PercentLayout.as b/flex-installer/installer/src/ws/tink/spark/controls/PercentLayout.as new file mode 100644 index 0000000..7e6c40f --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/PercentLayout.as @@ -0,0 +1,125 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import mx.core.IVisualElement; + + import spark.layouts.BasicLayout; + + public class PercentLayout extends BasicLayout + { + public function PercentLayout() + { + super(); + } + + //---------------------------------- + // resizeItems + //---------------------------------- + + /** + * @private + * Storage property for resizeItems. + */ + private var _resizeItems:Array; + + /** + * resizeItems + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get resizeItems():Array + { + return _resizeItems; + } + /** + * @private + */ + public function set resizeItems(value:Array):void + { + if( _resizeItems == value ) return; + + _resizeItems = value; + } + + //---------------------------------- + // percent + //---------------------------------- + + /** + * @private + * Storage property for percent. + */ + private var _percent:Number = 0; + + /** + * percent + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get percent():Number + { + return _percent; + } + /** + * @private + */ + public function set percent(value:Number):void + { + if( _percent == value ) return; + + _percent = value; + target.invalidateDisplayList(); + } + + + override public function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void + { + super.updateDisplayList( unscaledWidth, unscaledHeight ); + + if( resizeItems && resizeItems.length ) + { + var element:IVisualElement; + var originalSize:Number; + var minSize:Number; + var availableChange:Number; + + for each (var item:Object in resizeItems) + { + if( item is IVisualElement ) + { + element = IVisualElement( item ); + originalSize = element.getLayoutBoundsWidth(); + minSize = element.getMinBoundsWidth(); + availableChange = originalSize - minSize; + element.setLayoutBoundsSize( minSize + ( availableChange * ( percent / 100 ) ), element.getLayoutBoundsHeight() ); + } + } + } + + + } + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/ProgressBar.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/ProgressBar.as b/flex-installer/installer/src/ws/tink/spark/controls/ProgressBar.as new file mode 100644 index 0000000..162c940 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/ProgressBar.as @@ -0,0 +1,131 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import mx.core.IVisualElement; + import mx.rpc.events.HeaderEvent; + + import spark.components.supportClasses.SkinnableComponent; + + public class ProgressBar extends SkinnableComponent + { + + + //-------------------------------------------------------------------------- + // + // Constructor + // + //-------------------------------------------------------------------------- + + /** + * Constructor. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function ProgressBar() + { + super(); + } + + + //-------------------------------------------------------------------------- + // + // Skin Parts + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // bar + //---------------------------------- + + [SkinPart(required="true")] + + /** + * bar. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public var percentLayout:PercentLayout; + + + + //-------------------------------------------------------------------------- + // + // Properties + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // percent + //---------------------------------- + + /** + * @private + * Storage property for percent. + */ + private var _percent:Number = 0; + + /** + * percent + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get percent():Number + { + return _percent; + } + /** + * @private + */ + public function set percent(value:Number):void + { +// if( _percent == value ) return; + + _percent = value; + if( percentLayout ) percentLayout.percent = percent; + } + + + + //-------------------------------------------------------------------------- + // + // Overridden Methods + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + override protected function partAdded(partName:String, instance:Object):void + { + super.partAdded( partName, instance ); + + if( instance == percentLayout ) percentLayout.percent = percent; + } + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/Rotator.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/Rotator.as b/flex-installer/installer/src/ws/tink/spark/controls/Rotator.as new file mode 100644 index 0000000..d9eb8ee --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/Rotator.as @@ -0,0 +1,206 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import flash.events.Event; + import flash.events.TimerEvent; + import flash.geom.Vector3D; + import flash.utils.Timer; + + import mx.core.ILayoutElement; + import mx.core.IVisualElement; + import mx.core.UIComponent; + import mx.core.mx_internal; + import mx.events.PropertyChangeEvent; + + import spark.components.supportClasses.SkinnableComponent; + import spark.layouts.supportClasses.LayoutElementHelper; + import spark.primitives.supportClasses.GraphicElement; + + + /** + * The Rotator control is a simple skinnable component that rotates it's skin when playing. + * + * <p>You can set the amount of rotation on each frame by changing the <code>delta</code> property.</p> + * + * <p>The List control has the following default characteristics:</p> + * <table class="innertable"> + * <tr><th>Characteristic</th><th>Description</th></tr> + * <tr><td>Default skin class</td><td>ws.tink.spark.skins.controls.RotatorSkin</td></tr> + * </table> + * + * @mxml <p>The <code><st:Rotator></code> tag inherits all of the tag + * attributes of its superclass and adds the following tag attributes:</p> + * + * <pre> + * <st:Rotator + * <strong>Properties</strong> + * delta="10" + * /> + * </pre> + * + * @see ws.tink.spark.skins.controls.RotatorSkin + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public class Rotator extends SkinnableComponent implements IAnimator + { + + + + //-------------------------------------------------------------------------- + // + // Constructor + // + //-------------------------------------------------------------------------- + + /** + * Constructor + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function Rotator() + { + super(); + } + + + + //-------------------------------------------------------------------------- + // + // Variables + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + private var _playing:Boolean; + + /** + * @private + */ + private var _rotation:Number = 0; + + + + //-------------------------------------------------------------------------- + // + // Properties + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // delta + //---------------------------------- + + /** + * @private + * Storage property for delta. + */ + private var _delta:Number = 10; + + [Inspectable(type="Boolean", defaultValue="10")] + /** + * The amount to rotate in degrees each frame. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get delta():Number + { + return _delta; + } + /** + * @private + */ + public function set delta(value:Number):void + { + if (_delta == value) return; + + _delta = value; + } + + + + //-------------------------------------------------------------------------- + // + // Methods + // + //-------------------------------------------------------------------------- + + /** + * @inheritDoc + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function play():void + { + _playing = true; + addEventListener( Event.ENTER_FRAME, enterFrameHandler, false, 0, true ); + } + + /** + * @inheritDoc + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function stop():void + { + _playing = false; + removeEventListener( Event.ENTER_FRAME, enterFrameHandler, false ); + } + + + + //-------------------------------------------------------------------------- + // + // Event Handlers + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + private function enterFrameHandler( event:Event ):void + { + if( skin ) + { + _rotation += ( 360 / 10 ); + skin.transformAround( new Vector3D( unscaledWidth / 2, unscaledHeight / 2, 0 ), + new Vector3D( 1, 1, 1 ), + new Vector3D( 0, 0, _rotation ) ); + } + } + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/StepItem.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/StepItem.as b/flex-installer/installer/src/ws/tink/spark/controls/StepItem.as new file mode 100644 index 0000000..d644848 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/StepItem.as @@ -0,0 +1,59 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import flash.events.EventDispatcher; + + [Bindable] + public class StepItem extends EventDispatcher + { + + public static const NORMAL:String = "normal"; + public static const ACTIVE:String = "active"; + public static const COMPLETE:String = "complete"; + public static const ERROR:String = "error"; + + public function StepItem(l:String) + { + label = l; + } + + private var _label:String = ""; + public function get label():String { return _label; } + + public function set label(value:String):void + { + if (_label == value) + return; + _label = value; + } + + private var _status:String = NORMAL; + public function get status():String { return _status; } + + public function set status(value:String):void + { + if (_status == value) + return; + _status = value; + } + + + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/StepRenderer.mxml ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/StepRenderer.mxml b/flex-installer/installer/src/ws/tink/spark/controls/StepRenderer.mxml new file mode 100644 index 0000000..9dbc181 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/StepRenderer.mxml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +--> +<st:StepRendererBase xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark" + xmlns:mx="library://ns.adobe.com/flex/mx" + xmlns:st="ws.tink.spark.controls.*" + width="22" height="22" > + <fx:Declarations> + <!-- Place non-visual elements (e.g., services, value objects) here --> + </fx:Declarations> + + <st:states> + <s:State name="normal"/> + <s:State name="active"/> + <s:State name="complete"/> + <s:State name="error"/> + </st:states> + + <!-- layer 1: border --> + <!--- @private --> + <s:Rect width="100%" height="100%" + radiusX="2" radiusY="2"> + <s:fill> + <s:SolidColor color="{getStyle('borderColor')}"/> + </s:fill> + </s:Rect> + + <!-- layer 2: border gradient --> + <!--- @private --> + <s:Rect width="100%" height="100%" + radiusX="2" radiusY="2"> + <s:fill> + <s:LinearGradient rotation="90"> + <s:GradientEntry color="0xffffff" alpha="0"/> + <s:GradientEntry color="0xffffff" alpha="1"/> + </s:LinearGradient> + </s:fill> + </s:Rect> + + <!-- layer 3: fill --> + <!--- @private --> + <s:Rect left="1" right="1" top="1" bottom="1" + radiusX="1" radiusY="1"> + <s:fill> + <s:SolidColor color="{stateColor}"/> + </s:fill> + </s:Rect> + + <!-- layer 3: fill gradient --> + <!--- @private --> + <s:Rect left="1" right="1" top="1" bottom="1" + radiusX="1" radiusY="1"> + <s:fill> + <s:LinearGradient rotation="90"> + <s:GradientEntry color="0xffffff" alpha="0.4" ratio="0.2"/> + <s:GradientEntry color="0xffffff" alpha="0"/> + </s:LinearGradient> + </s:fill> + </s:Rect> + + <st:ActivityIndicator width="12" height="12" horizontalCenter="0" verticalCenter="0" + autoAnimate="true" includeIn="active"/> + +</st:StepRendererBase> http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/controls/StepRendererBase.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/controls/StepRendererBase.as b/flex-installer/installer/src/ws/tink/spark/controls/StepRendererBase.as new file mode 100644 index 0000000..e13e445 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/controls/StepRendererBase.as @@ -0,0 +1,120 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.controls +{ + import flash.events.Event; + + import mx.events.PropertyChangeEvent; + + import spark.components.DataRenderer; + import spark.components.IItemRenderer; + + public class StepRendererBase extends DataRenderer implements IItemRenderer + { + public function StepRendererBase() + { + super(); + } + + private var _itemIndex:int; + [Bindable("itemIndexChanged")] + public function get itemIndex():int + { + return _itemIndex; + } + + public function set itemIndex(value:int):void + { + if( _itemIndex == value ) return; + _itemIndex = value; + dispatchEvent(new Event("itemIndexChanged")); + } + + private var _stateColor:Number; + [Bindable(type="currentStateChange")] + public function get stateColor():Number { return _stateColor; } + + + + override public function set data(value:Object):void + { + super.data = value; + + invalidateProperties(); + } + + override public function setCurrentState(stateName:String, playTransition:Boolean=true):void + { + _stateColor = stateName == "normal" ? getStyle( "color" ) : getStyle( stateName + "Color" ); + super.setCurrentState(stateName, playTransition); + } + + override protected function commitProperties():void + { + if (data && data is StepItem && hasState( StepItem( data ).status )) + { + setCurrentState( StepItem( data ).status ); + } + else + { + setCurrentState( "normal" ); + } + + toolTip = (data && data is StepItem )? StepItem( data ).label : ""; + + super.commitProperties(); + } + + public function get label():String + { + return ""; + } + + public function set label(value:String):void + { + } + public function get selected():Boolean + { + return false; + } + + public function set selected(value:Boolean):void + { + } + + public function get showsCaret():Boolean + { + return false; + } + + public function set showsCaret(value:Boolean):void + { + } + + public function get dragging():Boolean + { + return false; + } + + public function set dragging(value:Boolean):void + { + } + + } +} http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/layouts/EllipseLayout.as ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/layouts/EllipseLayout.as b/flex-installer/installer/src/ws/tink/spark/layouts/EllipseLayout.as new file mode 100644 index 0000000..03919d6 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/layouts/EllipseLayout.as @@ -0,0 +1,275 @@ +/* + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ +package ws.tink.spark.layouts +{ + import flash.geom.Matrix; + import flash.geom.Point; + import flash.geom.Vector3D; + + import mx.core.ILayoutElement; + + import spark.layouts.supportClasses.LayoutBase; + + public class EllipseLayout extends LayoutBase + { + + + + //-------------------------------------------------------------------------- + // + // Constructor + // + //-------------------------------------------------------------------------- + + /** + * Constructor. + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function EllipseLayout() + { + super(); + } + + + + //-------------------------------------------------------------------------- + // + // Properties + // + //-------------------------------------------------------------------------- + + //---------------------------------- + // startAngle + //---------------------------------- + + /** + * @private + * Storage property for startAngle. + */ + private var _startAngle:Number = 0; + + [Inspectable(category="General")] + /** + * startAngle + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get startAngle():Number + { + return _startAngle; + } + /** + * @private + */ + public function set startAngle( value:Number ):void + { + if( _startAngle == value ) return; + + _startAngle = value; + invalidateDisplayList(); + } + + + //---------------------------------- + // endAngle + //---------------------------------- + + /** + * @private + * Storage property for endAngle. + */ + private var _endAngle:Number = 0; + + [Inspectable(category="General")] + /** + * endAngle + * + * @langversion 3.0 + * @playerversion Flash 10 + * @playerversion AIR 1.5 + * @productversion Flex 4 + */ + public function get endAngle():Number + { + return _endAngle; + } + /** + * @private + */ + public function set endAngle( value:Number ):void + { + if( _endAngle == value ) return; + + _endAngle = value; + invalidateDisplayList(); + } + + + //---------------------------------- + // position + //---------------------------------- + + /** + * @private + * Storage property for position. + */ + private var _position:String = "inset"; + + [Inspectable(category="General")] + /** + * @private + * Storage property for position. + */ + public function get position():String + { + return _position; + } + /** + * @private + */ + public function set position( value:String ):void + { + if( _position == value ) return; + + _position = value; + invalidateDisplayList(); + } + + public var rotate:Boolean = false; + + + + //-------------------------------------------------------------------------- + // + // Methods + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + private function updateDisplayListVirtual( width:Number, height:Number ):void + { + + + + + } + + /** + * @private + */ + private function distance( x1:Number, y1:Number, x2:Number, y2:Number ):Number + { + const dx:Number = x2 - x1; + const dy:Number = y2 - y1; + return Math.sqrt( dx * dx + dy * dy ); + } + + /** + * @private + */ + private function invalidateDisplayList():void + { + if( !target ) return; + + target.invalidateDisplayList(); + } + + //-------------------------------------------------------------------------- + // + // Overridden Methods + // + //-------------------------------------------------------------------------- + + /** + * @private + */ + override public function updateDisplayList(width:Number, height:Number):void + { + super.updateDisplayList(width,height); + + if( !target ) return; + + var element:ILayoutElement; + const numElements:int = target.numElements; + const angle:Number = 360 / numElements; + const radiusX:Number = width / 2; + const radiusY:Number = height / 2; + var a:Number = startAngle; + for (var i:int = 0; i < numElements; i++) + { + a = startAngle + ( angle * i ); + element = target.getElementAt( i ); + element.setLayoutBoundsSize( element.getPreferredBoundsWidth(), element.getPreferredBoundsHeight() ); + if( rotate ) + { + element.transformAround( new Vector3D( element.getPreferredBoundsWidth() / 2, radiusY, 0 ), + null, + new Vector3D( 0, 0, a ), + new Vector3D( radiusX, radiusY, 0 ) ); + } + else + { + element.setLayoutBoundsPosition( radiusX + ( radiusX * Math.cos(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsWidth() / 2 ), + radiusY + ( radiusY * Math.sin(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsHeight() / 2 ) ); + } + // switch( position ) + // { + // case "inset" : + // { + // + // break; + // } + // default : + // { + // + // + // } + // } + + // var m:Matrix = new Matrix(); + // m.tx = radiusX + ( radiusX * Math.cos(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsWidth() / 2 ); + // m.ty = radiusY + ( radiusY * Math.sin(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsHeight() / 2 ); + // m.rotate( a * ( Math.PI / 180 ) ); + // m.tx = m.ty = 200; + // m.tx = radiusX + ( radiusX * Math.cos(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsWidth() / 2 ); + // m.ty = radiusY + ( radiusY * Math.sin(a * ( Math.PI / 180 ) ) ) - ( element.getPreferredBoundsHeight() / 2 ); + // element.setLayoutMatrix( m, false ); + + // var x:Number = radiusX + ( radiusX * Math.cos(a * ( Math.PI / 180 ) ) ); + // var y:Number = radiusY + ( radiusY * Math.cos(a * ( Math.PI / 180 ) ) ); + // + // + // trace( i, distance( radiusX, radiusY, x, y ), x, y, radiusX, radiusY ); + + + } + } + + + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/cda78507/flex-installer/installer/src/ws/tink/spark/skins/controls/ActivityIndicatorSkin.mxml ---------------------------------------------------------------------- diff --git a/flex-installer/installer/src/ws/tink/spark/skins/controls/ActivityIndicatorSkin.mxml b/flex-installer/installer/src/ws/tink/spark/skins/controls/ActivityIndicatorSkin.mxml new file mode 100644 index 0000000..deea171 --- /dev/null +++ b/flex-installer/installer/src/ws/tink/spark/skins/controls/ActivityIndicatorSkin.mxml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +--> +<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:s="library://ns.adobe.com/flex/spark" + xmlns:mx="library://ns.adobe.com/flex/mx" + xmlns:st="library://ns.tink.ws/flex/spark"> + + <!-- host component --> + <fx:Metadata> + <![CDATA[ + /** + * @copy spark.skins.spark.ApplicationSkin#hostComponent + */ + [HostComponent("ws.tink.spark.controls.ActivityIndicator")] + ]]> + </fx:Metadata> + + <!--- @copy ws.tink.spark.controls.ActivityIndicator#indicator --> + <st:Rotator id="indicator" height="100" width="100"/> + +</s:Skin>
