文件名称:ActionScript编程实例
-
所属分类:
- 标签属性:
- 上传时间:2009-02-25
-
文件大小:448.04kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Chapter 2: Getting Started Hello World
Hello World Enhanced A simple "Hello World" application that shows the basics of how to use an Actionscr ipt 3.0 class in an application. The Enhanced version adds a name-checking feature. These examples are meant to be built from scratch, tutorial-style. The example files are provided so you can see how they should look when completed.
Chapter 4: Object-Oriented Programming Geometric Shapes Uses the object-oriented concepts of class inheritance and the implementation of interfaces to provide an application that calculates values for simple geometric shapes.
Chapter 5: Display Programming Sprite Arranger Adds graphical Sprite objects to a drawing area and let you manipulate their placement in the display list. Builds upon the classes from the geometric Shapes example.
Chapter 6: Working with Dates and Times Simple Clock Displays a simple analog clock face using methods of the Date and flash.util.Timer classes.
Chapter 7: Working with Strings ASCII Art Loads bitmap images and coverts them into ASCII character equivalents, using a number of the methods in the String class.
Chapter 8: Working with Arrays Play List Demonstrates a number of methods of the Array class while building and presenting a play list of music files.
Chapter 9: Handling Errors Custom Errors Presents a simple framework containing a set of custom ApplicationError classes and shows how to throw, catch, and handle such errors.
Chapter 10: Using Regular Expressions Wiki Editor Uses regular expressions to convert text containing wiki-style codes into formatted HTML text. Also shows how to use regular expressions for other conversions, such as numeric calculations.
Chapter 11: Working With XML RSS Viewer Reads an RSS feed and formats the entries as HTML, including hyperlinks to the stories being referenced. This example shows the powerful new E4X statements and operators in action.
Chapter 13: Event Handling Alarm Clock Demonstrates how to define, dispatch, and handle custom event classes. Extends the Simple Clock application to create an Alarm Clock with specialized AlarmEvents.
Chapter 14: Networking and Communications File I/O Shows how to use the FileReference class to upload files from your local disk to a remote server, and how to download files from a remote server to your local disk.
Note: To run this example you will need to set the UPLOAD_URL and DOWNLOAD_URL variables in the code to the address of a web server that will accept uploads and allow downloads.
Telnet Socket Connects to a Telnet server and shows how to send and read bytes from the socket connection.
Note: To run this example you will need to have access to a running Telnet server.
Chapter 15: Working with Geometry Display Object Transformer Uses methods of the flash.geom.Matrix class to apply multiple geometric transformations to a DisplayObject.
Chapter 16: Client System Environment Capabilities Info Lists the capabilities of your current browser and operating system, by using the SystemCapabilities class and an ExternalInterface call that uses Javascr ipt to retrieve browser properties.
Chapter 19: Using the External API IntrovertIM_CSharp
IntrovertIM_HTML A tiny instant messenger application the uses the flash.external.ExternalInterface class to send messages between a Flex/Actionscr ipt application and an external application. Two versions are provided. One uses HTML and Javascr ipt for the external application, and the other uses C#.
Hello World Enhanced A simple "Hello World" application that shows the basics of how to use an Actionscr ipt 3.0 class in an application. The Enhanced version adds a name-checking feature. These examples are meant to be built from scratch, tutorial-style. The example files are provided so you can see how they should look when completed.
Chapter 4: Object-Oriented Programming Geometric Shapes Uses the object-oriented concepts of class inheritance and the implementation of interfaces to provide an application that calculates values for simple geometric shapes.
Chapter 5: Display Programming Sprite Arranger Adds graphical Sprite objects to a drawing area and let you manipulate their placement in the display list. Builds upon the classes from the geometric Shapes example.
Chapter 6: Working with Dates and Times Simple Clock Displays a simple analog clock face using methods of the Date and flash.util.Timer classes.
Chapter 7: Working with Strings ASCII Art Loads bitmap images and coverts them into ASCII character equivalents, using a number of the methods in the String class.
Chapter 8: Working with Arrays Play List Demonstrates a number of methods of the Array class while building and presenting a play list of music files.
Chapter 9: Handling Errors Custom Errors Presents a simple framework containing a set of custom ApplicationError classes and shows how to throw, catch, and handle such errors.
Chapter 10: Using Regular Expressions Wiki Editor Uses regular expressions to convert text containing wiki-style codes into formatted HTML text. Also shows how to use regular expressions for other conversions, such as numeric calculations.
Chapter 11: Working With XML RSS Viewer Reads an RSS feed and formats the entries as HTML, including hyperlinks to the stories being referenced. This example shows the powerful new E4X statements and operators in action.
Chapter 13: Event Handling Alarm Clock Demonstrates how to define, dispatch, and handle custom event classes. Extends the Simple Clock application to create an Alarm Clock with specialized AlarmEvents.
Chapter 14: Networking and Communications File I/O Shows how to use the FileReference class to upload files from your local disk to a remote server, and how to download files from a remote server to your local disk.
Note: To run this example you will need to set the UPLOAD_URL and DOWNLOAD_URL variables in the code to the address of a web server that will accept uploads and allow downloads.
Telnet Socket Connects to a Telnet server and shows how to send and read bytes from the socket connection.
Note: To run this example you will need to have access to a running Telnet server.
Chapter 15: Working with Geometry Display Object Transformer Uses methods of the flash.geom.Matrix class to apply multiple geometric transformations to a DisplayObject.
Chapter 16: Client System Environment Capabilities Info Lists the capabilities of your current browser and operating system, by using the SystemCapabilities class and an ExternalInterface call that uses Javascr ipt to retrieve browser properties.
Chapter 19: Using the External API IntrovertIM_CSharp
IntrovertIM_HTML A tiny instant messenger application the uses the flash.external.ExternalInterface class to send messages between a Flex/Actionscr ipt application and an external application. Two versions are provided. One uses HTML and Javascr ipt for the external application, and the other uses C#.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : ProgrammingAS3_Examples.rar 列表 ProgrammingAS3_Examples\AlarmClock\AlarmClockApp.mxml ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3\clock\AlarmClock.as ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3\clock\AlarmEvent.as ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3\clock\AnalogClockFace.as ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3\clock\SimpleClock.as ProgrammingAS3_Examples\ASCIIArt\AsciiArtApp.mxml ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\AsciiArtBuilder.as ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\BitmapToAsciiConverter.as ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\Image.as ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\ImageInfo.as ProgrammingAS3_Examples\ASCIIArt\img\Apple.jpg ProgrammingAS3_Examples\ASCIIArt\img\Banana.jpg ProgrammingAS3_Examples\ASCIIArt\img\FruitBasket.jpg ProgrammingAS3_Examples\ASCIIArt\img\Orange.jpg ProgrammingAS3_Examples\ASCIIArt\img\Pear.jpg ProgrammingAS3_Examples\ASCIIArt\txt\ImageData.txt ProgrammingAS3_Examples\CapabilitiesExplorer\capabilities.html ProgrammingAS3_Examples\CapabilitiesExplorer\CapabilitiesExplorer.mxml ProgrammingAS3_Examples\CapabilitiesExplorer\com\example\programmingas3\capabilities\CapabilitiesGrabber.as ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3\errors\ApplicationError.as ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3\errors\FatalError.as ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3\errors\Validator.as ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3\errors\WarningError.as ProgrammingAS3_Examples\CustomErrors\CustomErrors.mxml ProgrammingAS3_Examples\DisplayObjectTransformer\com\example\programmingas3\geometry\MatrixTransformer.as ProgrammingAS3_Examples\DisplayObjectTransformer\DisplayObjectTransformer.mxml ProgrammingAS3_Examples\DisplayObjectTransformer\img\Banana.jpg ProgrammingAS3_Examples\ExamplesReadMe.htm ProgrammingAS3_Examples\FileIO\com\example\programmingas3\fileio\FileDownload.as ProgrammingAS3_Examples\FileIO\com\example\programmingas3\fileio\FileUpload.as ProgrammingAS3_Examples\FileIO\FileIO.mxml ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\Circle.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\EquilateralTriangle.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\GeometricShapeFactory.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\IGeometricShape.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\IPolygon.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\RegularPolygon.as ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes\Square.as ProgrammingAS3_Examples\GeometricShapes\GeometricShapes.mxml ProgrammingAS3_Examples\HelloWorld\Greeter.as ProgrammingAS3_Examples\HelloWorld\HelloWorld.mxml ProgrammingAS3_Examples\HelloWorldEnhanced\Greeter.as ProgrammingAS3_Examples\HelloWorldEnhanced\HelloWorld.mxml ProgrammingAS3_Examples\IntrovertIM_CSharp\App.ico ProgrammingAS3_Examples\IntrovertIM_CSharp\AppForm.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\AppForm.resx ProgrammingAS3_Examples\IntrovertIM_CSharp\AssemblyInfo.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug\AxInterop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug\ExternalInterfaceProxy.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug\Interop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug\IntrovertIMApp.swf ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug\IntrovertIM_CSharp.exe ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\AssemblyInfo.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\bin\Debug\AxInterop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\bin\Debug\ExternalInterfaceProxy.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\bin\Debug\Interop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\ExternalInterfaceCall.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\ExternalInterfaceCallEventArgs.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\ExternalInterfaceProxy.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\ExternalInterfaceProxy.csproj ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\ExternalInterfaceSerializer.cs ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj\AxInterop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj\Debug\ExternalInterfaceProxy.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj\Debug\ExternalInterfaceProxy.projdata ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj\Interop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\IntrovertIM_CSharp.csproj ProgrammingAS3_Examples\IntrovertIM_CSharp\IntrovertIM_CSharp.sln ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\AxInterop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\Debug\IntrovertIM_CSharp.AppForm.resources ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\Debug\IntrovertIM_CSharp.exe ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\Debug\IntrovertIM_CSharp.projdata ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\Interop.ShockwaveFlashObjects.dll ProgrammingAS3_Examples\IntrovertIM_HTML\com\example\programmingas3\introvertIM\IMManager.as ProgrammingAS3_Examples\IntrovertIM_HTML\com\example\programmingas3\introvertIM\IMMessageEvent.as ProgrammingAS3_Examples\IntrovertIM_HTML\com\example\programmingas3\introvertIM\IMStatus.as ProgrammingAS3_Examples\IntrovertIM_HTML\html-template-copy\AC_OETags.js ProgrammingAS3_Examples\IntrovertIM_HTML\html-template-copy\index.template.html ProgrammingAS3_Examples\IntrovertIM_HTML\IntrovertIMApp.mxml ProgrammingAS3_Examples\IntrovertIM_HTML\ReadMe.txt ProgrammingAS3_Examples\PlayList\com\example\programmingas3\playlist\PlayList.as ProgrammingAS3_Examples\PlayList\com\example\programmingas3\playlist\Song.as ProgrammingAS3_Examples\PlayList\com\example\programmingas3\playlist\SortProperty.as ProgrammingAS3_Examples\PlayList\PlayListApp.mxml ProgrammingAS3_Examples\RSSViewer\com\example\programmingas3\rssViewer\RSSParser.as ProgrammingAS3_Examples\RSSViewer\RSSData\ak.rss ProgrammingAS3_Examples\RSSViewer\RSSViewer.mxml ProgrammingAS3_Examples\SimpleClock\com\example\programmingas3\clock\AnalogClockFace.as ProgrammingAS3_Examples\SimpleClock\com\example\programmingas3\clock\SimpleClock.as ProgrammingAS3_Examples\SimpleClock\SimpleClockApp.mxml ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\Circle.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\EquilateralTriangle.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\GeometricShapeFactory.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\IGeometricShape.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\IPolygon.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\RegularPolygon.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes\Square.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger\CircleSprite.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger\DrawingCanvas.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger\GeometricSprite.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger\SquareSprite.as ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger\TriangleSprite.as ProgrammingAS3_Examples\SpriteArranger\SpriteArranger.mxml ProgrammingAS3_Examples\TelnetSocket\com\example\programmingas3\socket\Telnet.as ProgrammingAS3_Examples\TelnetSocket\TelnetSocket.mxml ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3\wikiEditor\CurrencyConverter.as ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3\wikiEditor\URLParser.as ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3\wikiEditor\WikiParser.as ProgrammingAS3_Examples\WikiEditor\WikiEditor.mxml ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\content ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt\data ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3\clock ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3\asciiArt ProgrammingAS3_Examples\CapabilitiesExplorer\com\example\programmingas3\capabilities ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3\errors ProgrammingAS3_Examples\DisplayObjectTransformer\com\example\programmingas3\geometry ProgrammingAS3_Examples\DisplayObjectTransformer\com\example\programmingas3\geometryExample ProgrammingAS3_Examples\FileIO\com\example\programmingas3\fileio ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3\geometricshapes ProgrammingAS3_Examples\IntrovertIM_HTML\com\example\programmingas3\introvertIM ProgrammingAS3_Examples\PlayList\com\example\programmingas3\playlist ProgrammingAS3_Examples\RSSViewer\com\example\programmingas3\rssViewer ProgrammingAS3_Examples\SimpleClock\com\example\programmingas3\clock ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\geometricshapes ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3\spritearranger ProgrammingAS3_Examples\TelnetSocket\com\example\programmingas3\socket ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3\regExpExamples ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3\wikiEditor ProgrammingAS3_Examples\AlarmClock\com\example\programmingas3 ProgrammingAS3_Examples\ASCIIArt\com\example\programmingas3 ProgrammingAS3_Examples\CapabilitiesExplorer\com\example\programmingas3 ProgrammingAS3_Examples\CustomErrors\com\example\programmingas3 ProgrammingAS3_Examples\DisplayObjectTransformer\com\example\programmingas3 ProgrammingAS3_Examples\FileIO\com\example\programmingas3 ProgrammingAS3_Examples\GeometricShapes\com\example\programmingas3 ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\bin\Debug ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj\Debug ProgrammingAS3_Examples\IntrovertIM_HTML\com\example\programmingas3 ProgrammingAS3_Examples\PlayList\com\example\programmingas3 ProgrammingAS3_Examples\RSSViewer\com\example\programmingas3 ProgrammingAS3_Examples\SimpleClock\com\example\programmingas3 ProgrammingAS3_Examples\SpriteArranger\com\example\programmingas3 ProgrammingAS3_Examples\TelnetSocket\com\example\programmingas3 ProgrammingAS3_Examples\WikiEditor\com\example\programmingas3 ProgrammingAS3_Examples\AlarmClock\com\example ProgrammingAS3_Examples\ASCIIArt\com\example ProgrammingAS3_Examples\CapabilitiesExplorer\com\example ProgrammingAS3_Examples\CustomErrors\com\example ProgrammingAS3_Examples\DisplayObjectTransformer\com\example ProgrammingAS3_Examples\FileIO\com\example ProgrammingAS3_Examples\GeometricShapes\com\example ProgrammingAS3_Examples\IntrovertIM_CSharp\bin\Debug ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\bin ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy\obj ProgrammingAS3_Examples\IntrovertIM_CSharp\obj\Debug ProgrammingAS3_Examples\IntrovertIM_HTML\com\example ProgrammingAS3_Examples\PlayList\com\example ProgrammingAS3_Examples\RSSViewer\com\example ProgrammingAS3_Examples\SimpleClock\com\example ProgrammingAS3_Examples\SpriteArranger\com\example ProgrammingAS3_Examples\TelnetSocket\com\example ProgrammingAS3_Examples\WikiEditor\com\example ProgrammingAS3_Examples\AlarmClock\com ProgrammingAS3_Examples\ASCIIArt\com ProgrammingAS3_Examples\ASCIIArt\img ProgrammingAS3_Examples\ASCIIArt\txt ProgrammingAS3_Examples\CapabilitiesExplorer\com ProgrammingAS3_Examples\CustomErrors\com ProgrammingAS3_Examples\DisplayObjectTransformer\com ProgrammingAS3_Examples\DisplayObjectTransformer\img ProgrammingAS3_Examples\FileIO\com ProgrammingAS3_Examples\GeometricShapes\com ProgrammingAS3_Examples\IntrovertIM_CSharp\bin ProgrammingAS3_Examples\IntrovertIM_CSharp\ExternalInterfaceProxy ProgrammingAS3_Examples\IntrovertIM_CSharp\obj ProgrammingAS3_Examples\IntrovertIM_HTML\com ProgrammingAS3_Examples\IntrovertIM_HTML\html-template-copy ProgrammingAS3_Examples\PlayList\com ProgrammingAS3_Examples\RSSViewer\com ProgrammingAS3_Examples\RSSViewer\RSSData ProgrammingAS3_Examples\SimpleClock\com ProgrammingAS3_Examples\SpriteArranger\com ProgrammingAS3_Examples\TelnetSocket\com ProgrammingAS3_Examples\WikiEditor\com ProgrammingAS3_Examples\AlarmClock ProgrammingAS3_Examples\ASCIIArt ProgrammingAS3_Examples\CapabilitiesExplorer ProgrammingAS3_Examples\CustomErrors ProgrammingAS3_Examples\DisplayObjectTransformer ProgrammingAS3_Examples\FileIO ProgrammingAS3_Examples\GeometricShapes ProgrammingAS3_Examples\HelloWorld ProgrammingAS3_Examples\HelloWorldEnhanced ProgrammingAS3_Examples\IntrovertIM_CSharp ProgrammingAS3_Examples\IntrovertIM_HTML ProgrammingAS3_Examples\PlayList ProgrammingAS3_Examples\RSSViewer ProgrammingAS3_Examples\SimpleClock ProgrammingAS3_Examples\SpriteArranger ProgrammingAS3_Examples\TelnetSocket ProgrammingAS3_Examples\WikiEditor ProgrammingAS3_Examples
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.