iPhone Forum

General Discussion - 5 Killer Flash Tips For Beginners

kasselbiddy - Tue Sep 11, 2012 5:36 pm
Post subject: 5 Killer Flash Tips For Beginners
This article will come in handy for those of you who are interested in Flash, or perhaps have a basic idea and would like to learn more about Adobe Flash. convert swf to mov mac.

1. How to use a Timer class in Flash (swf to imovie)
- Create a new timer variable timer_01 as in this example.
- Add an event listener function play_timer.
- Copy box movieclip from the FLA file of TIP number 3 into the library.
- Add play_timer function.

2. Understanding Object Names
Usually some Flash beginners think that object names in the library are same as instance names. In fact, they ARE NOT. Please make sure that you do not get confused with instance names, class names, and object names in the library. They have totally different meanings in Flash. Below example shows that gray_box_01 is the instance name, graybox is the class name without spacing (which is used to create instances by ActionScripts), gray box is the movieclip (or object) name with spacing in the library.

3. How to duplicate MovieClips in ActionScript 3.0
- Create a movieclip "box" in the library.
- Right-click on it and click on Linkage…
- Set the class as box as show in below screenshot.
- var b:MovieClip = new box(); duplicates a movieclip.
- Line no. 4 and 5 set the X and Y positions of a dupliated movieclip.
- addChild() function adds that dupliated movieclip onto stage.

4. How to add Right-Click menu in Flash ActionScript 3.0
- Create custom menu items.
- Add Event Listeners to those items.
- Hide built-in items.
- Apply the custom menu items.

5. Using Tweener class or tween engine for motion tweening
There are a number of open source tween engines on the web. Tweener is one of the most popular tween engines for motion tweening.
- Download Tweener Class (AS3).
- Import Tweener class by unzipping it and put caurina folder into the folder that your flash file exists.
- Create a movieclip "gray box" in the library.
- Drag it 2 times and give them instance names gray_box_01 and gray_box_02.
- Apply Tweener to them.
- Download Tweener Documentations to understand and apply it better.
ivy00135 - Wed Nov 07, 2012 6:37 am
Post subject:
暑期打工
星座運勢
暑假打工
酒店
高雄酒店
台湾高雄夜总会
酒店
台南酒店
台南酒店
高雄酒店經紀
台南酒店經紀
台湾夜总会
便服酒店
酒店
酒店經紀
暑期打工
業績幹部
酒店
訪檯幹部
酒店上班
酒店經紀
金典酒店
高雄便服酒店
高雄義大世界
高雄酒店
高雄酒店經紀
高雄金典
酒店文化知識
便服酒店
酒店手腕
高雄酒店應徵
高雄傳播小姐
酒店上班招財法
高雄酒店工作
高雄酒店經紀人
高雄酒店兼差
酒店
酒拳
業績幹部
高雄酒店少爺
酒店管理
高雄新富爺101酒店
便服酒店
酒店經紀
All times are GMT - 8 Hours
Powered by phpBB2 Plus and Kostenloses Forum based on phpBB