Cascading Style Sheets Tutorial

Flash8 bitmap rotation after eliminate jagged approach

  Flash8 bitmap in the rotation if so, will be jagged, if the picture has been in the Treasury, the solution is to double-click in the picture to enter the property panel, check the box "Allow smooth."    If it is import external picture can be used to solve the following: 

  _global.smoothImageLoad = Function (imgURL, targetMovie) ( 
  Var i = 0 
  I do () while (eval ( "_root.smoothImageLoadTemp" i)! = Undefined) 
  Tmc = _root.createEmptyMovieClip ( "smoothImageLoadTemp" i, _root.getNextHighestDepth ()) 
  Tmc.createEmptyMovieClip ( "ti", tmc.getNextHighestDepth ()) 
  Tmc.tm = targetMovie 
  With (tmc) ( 
  Tmcl = new MovieClipLoader () 
  Tmcl.onLoadComplete = function () ( 
  Ti.onEnterFrame = function () ( 
  PixelData = new flash.display.BitmapData (ti._width, ti._height); 
  PixelData.draw (ti); 
  Tm.attachBitmap (pixelData, 1, true, true); 
  Tm.smoothImageLoadComplete () 
  RemoveMovieClip (ti._parent) 
  ) 
  ) 
  Tmcl.loadClip (imgURL, tmc.ti) 
  ) 
  ) 
  SmoothImageLoad ( "xxx.jpg" mymc); 

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

Popular Articles

  • Css Guide: CSS List (ul, ol, li) attributes Application
  • FLASH dynamic fuzzy results
  • Javascript code through the use of the mouse button
  • Transitional-div xhtml + + + js common css two pages linked to the drop-down menu
  • CSS and C # in div automatically completed another Flooding

This entry was posted on Wednesday, October 3rd, 2007 at 12:00 am and is filed under CSS Tutorial By Examples. 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 animation examples: clever mouse results
Flash 3d effect wonderful examples - 3-D sensor mouse »

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