Cascading Style Sheets Tutorial

Flash text with the mouse produced mobile animation effects

  Today, we look at a small example.    [Go with the mouse is used on the website more than a animation, it is how to make the following are the production of specific steps. 

quality=high

pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'

type='application/x-shockwave-flash' width=400

height=300>   Http://www.webjx.com/upfiles/20050630/20050630083605_1.swf 

  Click here to download the source files 

  Steps are as follows: 

  1, click Properties in size, in the open "document properties" in the settings dialog scenes size of 400 × 300, the blue background.    As shown in Figure 1. 


  Figure 1 

  2, Ankuaichajian "Ctrl F8" new one called "action" and "video clips" symbol.    As shown in Figure 2. 


  Figure 2 

  3, click a layer of one, open action by pressing F9 panel, add the following sentence: 

  / / Set text position i = "10"; 
  While (Number (i)> = 1) ( 
  Set ( "/ t" add i add ": xx" eval ( "/ t" add (i-1) add ": xx") 15); 
  Set ( "/ t" add i add ": yy," eval ( "/ t" add (i-1) add ": yy")); 
  I = i-1; / / function Eval (Variable): Access to the value of a variable) 

  / / Re-initial position / t1: xx = Number (getProperty ( "/ tracker," _x)) 15; 
  / T1: yy = getProperty ( "/ tracker," _y); 

  / / Write the coordinates [i = "8"; 
  While (Number (i)> = 1) ( 
  SetProperty ( "/ t" add i, _x, eval ( "/ t" add i add ": xx")); 
  SetProperty ( "/ t" add i, _y, eval ( "/ t" add i add ": yy")); 
  I = i-1; 
  ) 

  4, No. 2 click on Insert F6 key frame, right-click the second frame, in the pop-up menu, choose moves, pop-up Actions tab, and add the following statement in Figure 4: 

  GotoAndPlay (1); 

  5, according to the "Ctrl F8."    Create a "Huan" and "video clips" symbol, select the text tool, font election as "Chinese Xingkai" series of 20 color red in the scene in the importation of a "Huan", according to "Ctrl K" bomb the "alignment" dialog box, click the respective "vertical center" and the "middle level" so that [the center.    As shown in figure 3: 

  Figure 3 

  6, and with the same methods were inserted entitled "Towards", "light", "A" and "net", "page", "and the" study "of" video clips "symbols, the corresponding scene in the corresponding input text. 

  7, according to the "Ctrl F8" new one called "tracker" "video clip." 

  8, and return to Scene 1, according to the Ctrl L open, "tracker" Shadow folder drag scene in the upper left, "an example of" the type "tracker", click the first frame, open the action by pressing F9 panel , add the importation of the following statement: 

  StartDrag ( "/ tracker", true); 
  / / Drag target tracker 

  9, click a layer of the third frame, according to the "F6" Insert key frame, the "action" scenes drag "tracker" right, "an example of" the type "action", click open the movements of F9 plate, add the following sentence: 

  Stop (); 

  10, respectively, "Huan," "Ying", "light", "A" and "net", "page", "religion" and "learning" from the library drag scene, shown in Figure 4, and in "an example of" the type t1, t2, t3…… t8. 


  Figure 4 

  11, according to the "Ctrl Enter" key combination test cinematic effects, and save the results. 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • DZone

Tags: css mouse style, div effects, Text Alignment, Text Decoration, Text Indentation, Text Transformation

Releated Posts

  • Several basic CSS text filter effects
  • Spring Festival Party to achieve phone numbers were randomly selected text effects
  • Flash animation effects create text beating
  • Making light of the text effects
  • We solve for dynamic text effects and documents show that the contradiction between the size

This entry was posted on Wednesday, September 26th, 2007 at 12:00 am and is filed under Css+Div Web Design. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« FLASH WEB production examples on the (frame label use)
FLASH practical skills of manufacturing solar system »

Leave a Reply

  • Categories

    • CSS Properties (491)
    • CSS Tutorial (1154)
    • CSS Tutorial By Examples (1201)
    • Css+Div Web Design (3274)
    • Xhtml and Web Design (1797)
  • Archives

    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
  • Pages

    • About us

Cascading Style Sheets Tutorial