下载
加入VIP
  • 专属下载券
  • 上传内容扩展
  • 资料优先审核
  • 免费资料无限下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 ActionScript 3.0 Cookbook

ActionScript 3.0 Cookbook.pdf

ActionScript 3.0 Cookbook

小倬
2012-07-19 0人阅读 举报 0 0 0 暂无简介

简介:本文档为《ActionScript 3.0 Cookbookpdf》,可适用于人文社科领域

ActionScriptCookbookByJoeyLott,DarronSchall,KeithPetersPublisher:O'ReillyPubDate:October,ISBN:Pages:TableofContents|IndexWellbeforeAjaxandMicrosoft'sWindowsPresentationFoundationhitthescene,MacromediaofferedthefirstmethodforbuildingwebpageswiththeresponsivenessandfunctionalityofdesktopprogramswithitsFlashbased"RichInternetApplications"Now,newownerAdobeistakingFlashanditspowerfulcapabilitiesbeyondtheWebandmakingitafullfledgeddevelopmentenvironmentRatherthanfocusontheory,theActionScriptCookbookconcentratesonthepracticalapplicationofActionScript,withmorethansolutionsyoucanusetosolveawiderangeofcommoncodingdilemmasYou'llfindrecipesthatshowyouhowto:Detecttheuser'sFlashPlayerversionortheiroperatingsystemBuildcustomclassesFormatdatesandcurrencytypesWorkwithstringsBuilduserinterfacecomponentsWorkwithaudioandvideoMakeremoteprocedurecallsusingFlashRemotingandwebservicesLoad,send,andsearchXMLdataAndmuch,muchmoreEachcoderecipepresentstheProblem,Solution,andDiscussionofhowyoucanuseitinotherwaysorpersonalizeitforyourownneeds,andwhyitworksYoucanquicklylocatetherecipethatmostcloselymatchesyoursituationandgetthesolutionwithoutreadingthewholebooktounderstandtheunderlyingcodeSolutionsprogressfromshortrecipesforsmallproblemstomorecomplexscriptsforthornierriddles,andthediscussionsofferadeeperanalysisforresolvingsimilarissuesinthefuture,alongwithpossibledesignchoicesandramificationsYou'llevenlearnhowtolinkmodularActionScriptpiecestogethertocreaterocksolidsolutionsforFlexandFlashapplicationsActionScriptCookbookByJoeyLott,DarronSchall,KeithPetersPublisher:O'ReillyPubDate:October,ISBN:Pages:TableofContents|IndexWellbeforeAjaxandMicrosoft'sWindowsPresentationFoundationhitthescene,MacromediaofferedthefirstmethodforbuildingwebpageswiththeresponsivenessandfunctionalityofdesktopprogramswithitsFlashbased"RichInternetApplications"Now,newownerAdobeistakingFlashanditspowerfulcapabilitiesbeyondtheWebandmakingitafullfledgeddevelopmentenvironmentRatherthanfocusontheory,theActionScriptCookbookconcentratesonthepracticalapplicationofActionScript,withmorethansolutionsyoucanusetosolveawiderangeofcommoncodingdilemmasYou'llfindrecipesthatshowyouhowto:Detecttheuser'sFlashPlayerversionortheiroperatingsystemBuildcustomclassesFormatdatesandcurrencytypesWorkwithstringsBuilduserinterfacecomponentsWorkwithaudioandvideoMakeremoteprocedurecallsusingFlashRemotingandwebservicesLoad,send,andsearchXMLdataAndmuch,muchmoreEachcoderecipepresentstheProblem,Solution,andDiscussionofhowyoucanuseitinotherwaysorpersonalizeitforyourownneeds,andwhyitworksYoucanquicklylocatetherecipethatmostcloselymatchesyoursituationandgetthesolutionwithoutreadingthewholebooktounderstandtheunderlyingcodeSolutionsprogressfromshortrecipesforsmallproblemstomorecomplexscriptsforthornierriddles,andthediscussionsofferadeeperanalysisforresolvingsimilarissuesinthefuture,alongwithpossibledesignchoicesandramificationsYou'llevenlearnhowtolinkmodularActionScriptpiecestogethertocreaterocksolidsolutionsforFlexandFlashapplicationsWhenyou'renotsurehowActionScriptworksorhowtoapproachaspecificprogrammingdilemma,youcansimplypickupthebook,fliptotherelevantrecipe(s),andquicklyfindthesolutionyou'relookingforActionScriptCookbookByJoeyLott,DarronSchall,KeithPetersPublisher:O'ReillyPubDate:October,ISBN:Pages:TableofContents|IndexPrefaceChapterActionScriptBasicsSectionIntroductionRecipeCreatinganActionScriptProjectRecipeCustomizingthePropertiesofanApplicationRecipeWheretoPlaceActionScriptCodeRecipeHowtoTraceaMessageRecipeHandlingEventsRecipeRespondingtoMouseandKeyEventsRecipeUsingMathematicalOperatorsRecipeCheckingEqualityorComparingValuesRecipePerformingActionsConditionallyRecipePerformingComplexConditionalTestingRecipeRepeatinganOperationManyTimesRecipeRepeatingaTaskoverTimeRecipeCreatingReusableCodeRecipeGeneralizingaMethodtoEnhanceReusabilityRecipeExitingaMethodRecipeObtainingtheResultofaMethodRecipeHandlingErrorsChapterCustomClassesSectionIntroductionRecipeCreatingaCustomClassRecipeDeterminingWheretoSaveaClassRecipeCreatingPropertiesThatBehaveAsMethodsRecipeCreatingStaticMethodsandPropertiesRecipeCreatingSubclassesRecipeImplementingSubclassVersionsofSuperclassMethodsRecipeCreatingConstantsRecipeDispatchingEventsChapterRuntimeEnvironmentSectionIntroductionRecipeDetectingthePlayerVersionRecipeDetectingtheOperatingSystemRecipeCheckingthePlayerTypeRecipeCheckingtheSystemLanguageRecipeDetectingDisplaySettingsRecipeScalingtheMovieRecipeChangingtheAlignmentRecipeHidingtheFlashPlayer'sMenuItemsRecipeDetectingtheDevice'sAudioCapabilitiesRecipeDetectingtheDevice'sVideoCapabilitiesRecipePromptingtheUsertoChangePlayerSettingsRecipeDealingwithSystemSecurityChapterNumbersandMathSectionIntroductionRecipeRepresentingNumbersinDifferentBasesRecipeConvertingBetweenDifferentNumberSystemsRecipeRoundingNumbersRecipeInsertingLeadingorTrailingZerosorSpacesRecipeFormattingNumbersforDisplayWithoutaMaskRecipeFormattingCurrencyAmountsRecipeGeneratingaRandomNumberRecipeSimulatingaCoinTossRecipeSimulatingDiceRecipeSimulatingPlayingCardsRecipeGeneratingaUniqueNumberRecipeConvertingAngleMeasurementsRecipeCalculatingtheDistanceBetweenTwoPointsRecipeDeterminingPointsAlongaCircleRecipeConvertingBetweenUnitsofMeasurementChapterArraysSectionIntroductionRecipeAddingElementstotheStartorEndofanArrayRecipeLoopingThroughanArrayRecipeSearchingforMatchingElementsinanArrayRecipeRemovingElementsRecipeInsertingElementsintheMiddleofanArrayRecipeConvertingaStringtoanArrayRecipeConvertinganArraytoaStringRecipeCreatingaSeparateCopyofanArrayRecipeStoringComplexorMultidimensionalDataRecipeSortingorReversinganArrayRecipeImplementingaCustomSortRecipeRandomizingtheElementsofanArrayRecipeGettingtheMinimumorMaximumElementRecipeComparingArraysRecipeCreatinganAssociativeArrayRecipeReadingElementsofanAssociativeArrayChapterDisplayListSectionIntroductionRecipeAddinganItemtotheDisplayListRecipeRemovinganItemfromtheDisplayListRecipeMovingObjectsForwardandBackwardRecipeCreatingCustomVisualClassesRecipeCreatingSimpleButtonsRecipeLoadingExternalImagesatRuntimeRecipeLoadingandInteractingwithExternalMoviesRecipeCreatingMouseInteractionsRecipeDraggingandDroppingObjectswiththeMouseChapterDrawingandMaskingSectionIntroductionRecipeSettingaLineStyleRecipeSettingGradientLineStylesRecipeDrawingaLineRecipeDrawingaCurveRecipeDrawinganArcRecipeDrawingaRectangleRecipeDrawingaCircleRecipeDrawinganEllipseRecipeDrawingaTriangleRecipeDrawingRegularPolygonsRecipeDrawingaStarRecipeFillingaShapewithaSolidorTranslucentColorRecipeFillingaShapewithaGradientRecipeFillingaShapewithaBitmapRecipeScriptingMasksChapterBitmapsSectionIntroductionRecipeCreatingaBitmapDataObjectRecipeAddingaBitmaptotheDisplayListRecipeDrawingaDisplayObjecttoaBitmapRecipeLoadinganExternalImageintoaBitmapRecipeManipulatingPixelsRecipeCreatingRectangularFillsRecipeCreatingaFloodFillRecipeCopyingPixelsRecipeCopyingChannelsRecipeCreatingNoiseRecipeCreatingPerlinNoiseRecipeUsingThresholdRecipeApplyingaFiltertoaBitmapRecipeDissolvingBetweenTwoBitmapsRecipeScrollingaBitmapChapterTextSectionIntroductionRecipeCreatinganOutlineAroundaTextFieldRecipeCreatingaBackgroundforaTextFieldRecipeMakingaUserInputFieldRecipeMakingaPasswordInputFieldRecipeFilteringTextInputRecipeSettingaField'sMaximumLengthRecipeDisplayingTextRecipeDisplayingHTMLFormattedTextRecipeCondensingWhitespaceRecipeSizingTextFieldstoFitContentsRecipeScrollingTextProgrammaticallyRecipeRespondingtoScrollEventsRecipeFormattingTextRecipeFormattingUserInputTextRecipeFormattingaPortionofExistingTextRecipeSettingaTextField'sFontRecipeEmbeddingFontsRecipeCreatingTextthatCanBeRotatedRecipeDisplayingUnicodeTextRecipeAssigningFocustoaTextFieldRecipeSelectingTextwithActionScriptRecipeSettingtheInsertionPointinaTextFieldRecipeRespondingWhenTextIsSelectedorDeselectedRecipeRespondingtoUserTextEntryRecipeAddingaHyperlinktoTextRecipeCallingActionScriptfromHyperlinksRecipeWorkingwithAdvancedTextLayoutRecipeApplyingAdvancedAntiAliasingRecipeReplacingTextRecipeRetrievingaListofSystemFontsChapterFiltersandTransformsSectionIntroductionRecipeApplyingColorChangesRecipeApplyingColorTintsRecipeResettingColorRecipeShearingRecipeApplyingBasicFiltersRecipeApplyingAdvancedFilterEffects(Emboss,etc)RecipeEmbossingRecipeDetectingEdgesRecipeSharpeningRecipeMakingaDigitalNegativeRecipeApplyingGrayscaleRecipeChangingSaturationRecipeChangingBrightnessRecipeChangingContrastChapterProgrammaticAnimationSectionIntroductionRecipeMovinganObjectRecipeMovinganObjectinaSpecificDirectionRecipeEasingRecipeAccelerationRecipeSpringsRecipeUsingTrigonometryRecipeApplyingAnimationTechniquestoOtherPropertiesChapterStringsSectionIntroductionRecipeJoiningStringsRecipeUsingQuotesandApostrophesinStringsRecipeInsertingSpecialWhitespaceCharactersRecipeSearchingforaSubstringRecipeExtractingaSubstringRecipeParsingaStringintoWordsRecipeRemovingandReplacingCharactersandWordsRecipeRetrievingOneCharacterataTimeRecipeConvertingCaseRecipeTrimmingWhitespaceRecipeReversingaStringbyWordorbyCharacterRecipeConvertingBetweenStringsandUnicodeorASCIIChapterRegularExpressionsSectionIntroductionRecipeUnderstandingRegularExpressionPatternsRecipeTestingRegularExpressionsRecipeLookingforPatternMatchesRecipeRemovingandReplacingCharactersandWordsUsingPatternsRecipeCreatingaNongreedyPatternRecipeValidatingUserInputwithCommonPatternsChapterDatesandTimesSectionIntroductionRecipeFindingtheCurrentDateandTimeRecipeRetrievingtheDateValuesRecipeRetrievingtheDayorMonthNameRecipeFormattingtheDateandTimeRecipeFormattingSecondsorMillisecondsasMinutesandSecondsRecipeConvertingBetweenDMYHMSMandEpochMillisecondsRecipeUsingTimersRecipeCalculatingElapsedTimeorIntervalsBetweenDatesRecipeParsingaDatefromaStringChapterProgrammingSoundSectionIntroductionRecipeCreatingaSoundObjectandLoadingaSoundRecipeStartingandStoppingaSoundRecipeSettingtheBufferforaSoundRecipeOffsettingtheStartofaSoundRecipePlayingaSoundMultipleTimes(Looping)RecipeGettingtheSizeofaSoundFileRecipeReadingtheIDTagofaSoundFileRecipeFindOutWhenaSoundFinishesPlayingRecipeTrackingtheProgressofaPlayingSoundRecipePausingandRestartingaSoundRecipeReadingtheLevelofaSoundRecipeStoppingAllSoundsRecipeReadingtheSoundSpectrumRecipeChangingtheVolumeorPanofaSoundRecipeCreatingaSoundApplicationChapterVideoSectionIntroductionRecipeLoadingandPlayingBackVideoRecipeControllingVideoSoundRecipeReadingPlaybackTimeRecipeReadingVideoDurationRecipeControllingPlaybackTimeRecipeScalingVideoRecipeManagingandMonitoringBufferingandLoadingRecipeListeningforCuePointsRecipeApplyingFilterstoVideoRecipePausingandResumingVideoRecipeStoppingVideoRecipeScrubbingVideoRecipeClearingtheVideoDisplayRecipeDeterminingUserBandwidthChapterStoringPersistentDataSectionIntroductionRecipeCreatingandOpeningaLocalSharedObjectRecipeWritingDatatoaSharedObjectRecipeSavingaLocalSharedObjectRecipeReadingDatafromaSharedObjectRecipeRemovingDatafromaSharedObjectRecipeSerializingCustomClassesRecipeSharingDataBetweenFlashApplicationsRecipeControllingtheSizeofLocalSharedObjectsChapterCommunicatingwithOtherMoviesSectionIntroductionRecipeCreatingLocalConnectionsRecipeSendingDataRecipeValidatingReceiptofCommunicationoverLocalConnectionsRecipeAcceptingLocalCommunicationsfromOtherDomainsChapterSendingandLoadingDataSectionIntroductionRecipeLoadingVariablesfromaTextFileRecipeLoadingVariablesfromaServerSideScriptRecipeLoadingaBlockofText(IncludingHTMLandXML)RecipeCheckingLoadProgressRecipeAccessingDataBeingDownloadedRecipeSendingDatatoaServerSideScriptRecipeSendingVariablesandHandlingaReturnedResultChapterXMLSectionIntroductionRecipeUnderstandingXMLStructure(ReadingandWritingXML)RecipeCreatinganXMLObjectRecipeAddingElementstoanXMLObjectRecipeAddingTextNodestoanXMLObjectRecipeAddingAttributestoanXMLElementRecipeReadingElementsinanXMLTreeRecipeFindingElementsbyNameRecipeReadingTextNodesandTheirValuesRecipeReadinganElement'sAttributesRecipeRemovingElements,TextNodes,andAttributesRecipeLoadingXMLRecipeLoadingXMLfromDifferentDomainsRecipeSendingXMLRecipeSearchingXMLRecipeUsingHTMLandSpecialCharactersinXMLChapterWebServicesandFlashRemotingSectionIntroductionRecipeCallingWebServicesMethodsRecipeHandlingWebServicesResponsesRecipeHandlingWebServicesErrorsRecipeCallingFlashRemotingMethodsRecipeHandlingFlashRemotingResponsesChapterBuildingIntegratedApplicationsSectionIntroductionRecipeCallingJavaScriptFunctionsRecipeCallingActionScriptFunctionsRecipePassingParametersfromHTMLChapterFileManagementSectionIntroductionRecipeDownloadingFilesRecipeDetectingWhenaUserSelectsaFiletoUploadRecipeMonitoringDownloadProgressRecipeBrowsingforFilesRecipeFilteringFilesThatDisplayintheBrowserWindowRecipeDetectingWhentheUserHasSelectedaFiletoUploadRecipeUploadingFilesRecipeMonitoringFileUploadProgressChapterSocketProgrammingSectionIntroductionRecipeConnectingtoaSocketServerRecipeSendingDataRecipeReceivingDataRecipeHandshakingwithaSocketServerRecipeDisconnectingfromaSocketServerRecipeHandlingSocketErrorsAppendixAUnicodeEscapeSequencesforLatinCharactersIndexPrefaceTheActionScriptCookbookiswrittenwithalllevelsofActionScriptdevelopersinmindpeoplelikeyouwhowantpracticalsolutionstocommonproblemsKeepthisbooknexttoyourcomputertotackleprogrammingchallengesItisfilledwithexcitingyetaccessibleandpracticalexamples,solutions,andinsightsintothesituationsthatFlashandActionScriptdevelopersaresuretoencounterThebookisinthestyleoftheclassicO'ReillyCookbookseriesformat,inwhicheachrecipepresentstheproblem,thesolution,andadiscussionofthesolutionYoucanquicklylocatetherecipethatmostcloselymatchesyoursituationandgetthesolutionwithouthavingtoreadthewholebooktounderstandtheunderlyingcodeTheDiscussionsectionsofeachrecipeofferadeeperanalysisofhowthesolutionworksandp

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

评分:

/49

VIP

意见
反馈

免费
邮箱