• User Attivo

    Smoothing Image.. su un immagine importata dinamicamente.

    spesso e volentieri mi sono chiesto come applicare lo smoothing su un immagine esterna importata dinamicamente. Questa proprietà importante per applicare le proprietà sull'immagine caricata, senza che essa riproduca il cassico effetto sgranato.. se si ingrandisce o si ruota. Se fosse possibile via actionscript vi prego gentilmente di indicarmi la soluzione

    .:ciauz:


  • Super User

    draw (BitmapData.draw method)

    public draw(source:[URL="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV2/00002035.html#421878"]Object, [matrix:[URL="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV2/00001843.html#329906"]Matrix], ColorTransform], [blendMode:[URL="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV2/00002035.html#421878"]Object], [clipRect:[URL="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV2/00002075.html#437900"]Rectangle], [smooth:[URL="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV2/00001432.html#166497"]Boolean]) : Void

    Draws a source image or movie clip onto a destination image, using the Flash Player vector renderer. You can specify a transformation matrix, a ColorTransform object, a blend mode setting, and a destination Rectangle object to control how the rendering performs. Optionally, you can specify whether the bitmap should be smoothed when scaled. This works only if the source object is a BitmapData object.


  • User Attivo

    grazie flep.. approfondiro''.. valido naturaalmente anche per as2 classe bitmap data?


  • Super User

    Si quello è preso dalla guida as 2.0 😉


  • User Attivo

    @Flep said:

    Si quello è preso dalla guida as 2.0 😉

    grazie sono + tranquillo ora.