关闭

关闭

关闭

封号提示

内容

首页 ActionScript 3.0 Cookbook.pdf

ActionScript 3.0 Cookbook.pdf

ActionScript 3.0 Cookbook.pdf

上传者: 小倬 2012-07-19 评分 0 0 0 0 0 0 暂无简介 简介 举报

简介:本文档为《ActionScript 3.0 Cookbookpdf》,可适用于人文社科领域,主题内容包含ActionScriptCookbookByJoeyLott,DarronSchall,KeithPetersPublisher:O'ReillyP符等。

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)

0/200

精彩专题

上传我的资料

每篇奖励 +2积分

资料评价:

/49
仅支持在线阅读

意见
反馈

立即扫码关注

爱问共享资料微信公众号

返回
顶部