Cascading Style Sheets Tutorial

Flash senior learning skills: picturescroll picture scroll mouse

  Mobile sensors use a mouse moving pictures, so the site can be used perhaps a friend on.    N previously done more than perhaps do some simple. 

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

type=’application/x-shockwave-flash’ width=400 height=300>

  Source File Download 

  In the first frame by adding the following code.    Picture for picture editing, dragControl for an empty film clips reference. 

  / * 
  Copyright by webstudio.com.cn.author by egoldy.2005-10-30 
  * / 
  Stop (); 
  / / Video wide high 
  Var widthx = 400; 
  Var heighx = 300; 
  / / Cycle 
  OnEnterFrame = function () ( 
  / / Drag mobile reference, as long as it is to use the coordinates 
  OnMouseMove = function () ( 
  StartDrag ( "dragControl", true); 
  ) 
  Trace (_root.dragControl._x); 
  / / Mobile picture 
  _root.picture._x = (DragControl._x * (-1)-picture._x) * 0.2; 
  / / End location conditions 
  If (dragControl._x> = widthx) ( 
  _root.picture._x =- Picture._width; 

  ) 
  / / Start conditions position 
  If (dragControl._x <=- 1) ( 
  _root.picture._x =- 1; 
  ) 
  ) 

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 learning, css mouse style, div skills

Releated Posts

  • Flash Learning: tricks skills MultiManager
  • Flash learning skills: easy to forget the pre -
  • Innovative learning: Flash Video Guide combat skills
  • Flash in the mouse painting skills
  • Web learning skills: precise form validation code

This entry was posted on Wednesday, October 10th, 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 ActionScript learning: Let animation stop
Flash 8 soften function »

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