(ActionScript3.0 Note) The first program HelloWorld!

2010-06-07  来源:本站原创  分类:Flash  人气:169 

(ActionScript3.0 Note) The first program HelloWorld!

Creating my first ActionScript3.0 program - HelloWord!

First download ActionScript3.0 integrated development environment, FLASH CS4 Professional. From http://www.adobe.com/downloads/ download FLASH CS4 Professional software installation package program, download the installation is completed.

After installing Adobe FLASH CS4 Professional Double-click the desktop icon, open the FLASH CS4, screen Welcome screen appears as follows:

(ActionScript3.0 Note) The first program HelloWorld!

Click the map in the "Flash file (ActionScript3.0)", then work into Flash CS4's interface, as shown below:

(ActionScript3.0 Note) The first program HelloWorld!

Figure in the powder box and basket work marked out the main functions of the interface area, use of these functional areas to FLASH can be produced, but to be ActionScript3.0 encoding does not work, press F9, open the Actions panel, the following screen out :

(ActionScript3.0 Note) The first program HelloWorld!

The original stage work area into a movement area, the blue box circle is the coding region area, area code, enter the following code to write:

trace("HelloWord!");

Press Ctrl + Enter key test video, then the following screen appears:

(ActionScript3.0 Note) The first program HelloWorld!

In the "code debug output window" to see the output of HelloWorld, the first ActionScript3.0 program success!

Figure in the "debug compiled into the SWF file in the preview window" is mainly produced FLASH drawing display area, so for ActionScript3.0 programming, the main use map in the "area code" and "code debugging output window. "

相关文章
  • (ActionScript3.0 Note) The first program HelloWorld! 2010-06-07

    (ActionScript3.0 Note) The first program HelloWorld! Creating my first ActionScript3.0 program - HelloWord! First download ActionScript3.0 integrated development environment, FLASH CS4 Professional. From http://www.adobe.com/downloads/ download FLASH

  • (ActionScript3.0 notes) ActionScript3.0 variable 2010-06-08

    (ActionScript3.0 notes) ActionScript3.0 variable On a: (ActionScript3.0 Note) The first program HelloWorld! Understanding of variables In programming languages, the variable is a very important concept. Variables and values are always in pairs. To fa

  • ActionScript3.0 Socket Programming [Reserved] 2010-07-01

    We carried out using ActionScript3.0 Socket programming problem when the need to focus on the following, we will study one by one in the future on the following issues are discussed, and possible improvements in our program gradually. 1. And Socket s

  • Flex ActionScript3.0 Socket Programming 2010-09-09

    ActionScript3.0 Socket Programming (0) We carried out using ActionScript3.0 Socket programming problem when the need to focus on the following, we will study one by one in the future on the following issues are discussed, and possible improvements in

  • ActionScript3.0 is no Alert, and learn new bar ActionScript3.0 2010-02-24

    Find many want to use Alert.show() In the prompt box, asked a group of people , Say it with Alert . But the premise is that you are using version ActionScript2.0 if 3.0 Certainly there is no . I found the Flex with AsWing Yes, just more package . And

  • ActionScript3.0 basics (1) 2010-05-05

    ActionScript3.0 is very simple to learn, because I have learned java, and am familiar with object-oriented programming, so I will learn ActionScript side and the Java side comparison. ① variables: ActionScript3.0 variables and Java variables are simi

  • (ActionScript3.0 notes) ActionScript3.0 What is this? 2010-06-05

    (ActionScript3.0 notes) ActionScript3.0 What is this? ActionScript3.0 is a dynamic scripting language, with ActionScript3.0 after, FLASH will become more powerful. ActionScript3.0 is a language, it has the programming language in common: there are da

  • (ActionScript3.0 notes) ActionScript3.0 variable type - string 2010-06-09

    (ActionScript3.0 notes) ActionScript3.0 variable type - string On a: (ActionScript3.0 Notes) ActionScript3.0 variable ActionScript3.0 the variable types are divided into two categories: one is scalar data types, one type is a complex data type. Scala

  • ActionScript3.0 Chinese version download 2010-10-08

    Csdn just above the Chinese version of the results found ActionScript3.0 download nothing. I also deducted 10 points, was found. Angry, under, and he is available for download above Javaeye!

  • Learning ActionScript3.0 2010-11-19

    Today new to ActionScript3.0, feeling very strict syntax, but very powerful IDE adobe produced. So read carefully picked up the official documentation. Write this on the roughly what have learned today to look back when. Be New restudying it. 1 ... (

  • ActionScript3.0 fully self-study manual electronic teaching 2010-12-09

    ActionScript3.0 completely self-manual electronic lesson plans, helpful to everyone.

  • Under the first graphics linux (QT) program HelloWorld (zz) 2011-01-05

    Used under the windows GUI based application development, and suddenly think about how linux development under a graphics application? Check the search data and found that QT is a good thing, so can not wait to the next in ubuntu8.04 tried. First of

  • The first flex program HelloWorld 2010-04-21

    Quite a few detours through the Internet to find writing your first helloworld program 1. Create a new web project, then right click on the WebContent or WebRoot, -> import -> file syste choose the path of uncompressed blazeds, write the first Hello

  • JBoss6.0+EJB3中Message-DrivenBean的"HelloWorld"实现 2012-10-30

    JBoss6.0 + EJB3 中Message-Driven Bean 的"HelloWorld" 实现. 目的:了解 EJB3 中Message-Driven Bean的开发过程及其工作原理. 开发步骤: 1)开发服务端.编写Message-Driven Bean类. 2)配置并发布Message-Driven Bean到JBoss服务器. 3)开发消息客户端. 项目结构预览: 1)服务端项目结构: 2)客户端项目结构: 开发过程及详细代码: 1)DMBQueueBean pack

  • actionScript3.0 gifplayer 2010-06-22

    The GIFPlayer The GIFPlayer class is used to play the gif animation. It can load gif file from an URLRequest object or a ByteArray object. gifplayer used to play gif image, it is through urlrequest object, or binary object image loading gif. package

  • Note the small program dealing with 2010-06-26

    SQL> CREATE OR REPLACE FUNCTION F_COMMENTS (P_STR IN VARCHAR2, P_FLAG IN NUMBER) RETURN VARCHAR2 AS 2 V_POSITION1 NUMBER; 3 V_POSITION2 NUMBER; 4 BEGIN 5 IF P_FLAG = 0 THEN 6 V_POSITION1: = INSTR (P_STR,'/*'); 7 V_POSITION2: = INSTR (P_STR,'--'); 8 I

  • discuz! x1.0 second development recognition program to teach you a list of directories and files 2010-06-28

    As a community-based professional Jianzhan platform, Discuz! X1 community platform for the Forum (BBS), social networking (SNS), portal (Portal), Group (Group), open platform (Open Platform) fully integrated in one, one-stop services to help websites

  • Java5.0 compared with ActionScript3.0 grammar 2010-12-15

    Language structure / syntax Java 5.0 ActionScript 3.0 Class package . Jar . Swc Inheritance class Employee extends Person {...} class Employee extends Person {...} Variable declaration and initialization String firstName = "John"; Date shipDate

  • ActionScript3.0读取网页FlashVars中的参数 2012-03-09

    最近在做一个从网页读取参数的swf,以前用AS2.0可以直接读取FlashVars中的变量,但是AS3.0却无法取到. 像: <param name="FlashVars" value="myname=vince6799" /> 在AS2.0中可以直接引用: myname.text = "我的名字是:"+myname; 在AS3.0中需要这样: myname.text = "我的名字是:"+root.loaderI

  • 基于flash cs3 actionscript3.0的mp3网络播放器 2013-08-19

    目标:建立一个音乐播放器,从别的网站下载音乐来播! 解决方案: 第一步: 舞台上拖放一个progress,一个按钮,一个inputbox,做相关设置如下: 图一 图二 图三 图四 第二步: 把下面的代码添加到第一帧中: import fl.controls.Button; import fl.controls.ProgressBar; import fl.controls.ProgressBarMode; import flash.net.URLRequest; import flash.eve