Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 11
  1. #1

    Una maschera così bella!!!

    Ciao raga, ho visto un effetto di mascheratura che vorrei poter adottare...guardate quà..e fatemi sapere!
    Com'è fatto..in AS o in motion? :metallica
    http://www.philbrown.bc.ca/

  2. #2

  3. #3
    mmm..sapevo che si poteva fare anche delle mascherature in AS!
    ..ma vengono bene? mi potete postare qualche esempio?

  4. #4
    Si possono fare anche in AS sì le mascherature, ma una mascheratura di quel tipo conviene farla tramite motion

  5. #5
    ...sai dirmi perchè?

  6. #6
    Perchè per fare in Actionscript una forma che si disegni e deformi al quel modo devi perderci 20 volte più tempo rispetto che a disegnartela

  7. #7
    hai ragione!
    ..ma qualche sempio in As ce l'hai?

  8. #8
    Ad esempio quete due prototype

    //********MovieClip.prototype.VReveal **************
    //
    // Author : Broly
    // Mail : davb86@supereva.it
    // Version: FlashMX and MX2004 (player 6 or above)
    //
    // This prototype set a mask over a movieclip
    // and show it using vertical bands.
    // The bands are dinamically drawed,
    // you can set width and the increment of height
    //
    // SYNTAX
    // mcName.VReveal([w,h])
    //
    // PARAMETERS
    // w - width of the band (if not set, assumed 10)
    // l - increment of height for any pass (if not set, assumed 10)
    //
    // ***************** by Broly *********************


    MovieClip.prototype.VReveal = function(w,h){
    target = this._name
    h_band = h ? h : 10
    square_dim = w ? w : 10
    a = 0
    limit = mc._width / k
    limitW = this._height
    this.createEmptyMovieClip('mask',-1)
    this.setMask(this.mask)
    this.mask.createEmptyMovieClip('square'+a,0)
    with(this.mask['square'+a]){
    lineStyle(0,0x000000,0)
    beginFill(0x000000,100)
    lineTo(square_dim,0)
    lineTo(square_dim,square_dim)
    lineTo(0,square_dim)
    lineTo(0,0)
    _x = 0
    _y = 0
    }
    this.mask.onEnterFrame = function(){
    this['square'+a]._height += h_band
    if(this['square'+a]._height >= limitW){
    a++
    this['square'+(a-1)].duplicateMovieClip('square'+a,a)
    this['square'+a]._x = this['square'+(a-1)]._x+square_dim
    this['square'+a]._height = this['square'+a]._width = square_dim
    }
    }
    }

    http://www.sephiroth.it/proto_detail.php?id=66

    Oppure altri due esempi di Sephiroth :

    http://www.sephiroth.it/file_detail.php?id=94

    http://www.sephiroth.it/file_detail.php?id=95

  9. #9
    ..grazie!

  10. #10
    Di niente, ciao e alla prossima :bubu:

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.