ShopDreamUp AI ArtDreamUp
Deviation Actions
Suggested Deviants
Suggested Collections
Description
VENTANA ARRASTRABLE
ME DECLARO CULPALE ME ENCANTA ESYE EFECTO DE aero en vista Y SOY MAQUERO DE CORAZON
---Codico de actionscript por VCOMICS de Cristalab:
ventana.onPress = function() {
// inicias la variable con la posición actual del mouse
var posx:Number = _xmouse-this._x;
var posy:Number = _ymouse-this._y;
this.onMouseMove = function() {
fondo._x = this._x;
fondo._y = this._y;
updateAfterEvent();
this._x = _xmouse-posx; // le restas la variable x
this._y = _ymouse-posy; // le restas la variable y
};
};
ventana.onRelease = ventana.onReleaseOutside=function () {
delete this.onMouseMove;
};
---MovieClip "ventana"
---Mascara
------MC "fondo" con 10 px de desenfoque
---MC "fondo" (.jpg)
ME DECLARO CULPALE ME ENCANTA ESYE EFECTO DE aero en vista Y SOY MAQUERO DE CORAZON
---Codico de actionscript por VCOMICS de Cristalab:
ventana.onPress = function() {
// inicias la variable con la posición actual del mouse
var posx:Number = _xmouse-this._x;
var posy:Number = _ymouse-this._y;
this.onMouseMove = function() {
fondo._x = this._x;
fondo._y = this._y;
updateAfterEvent();
this._x = _xmouse-posx; // le restas la variable x
this._y = _ymouse-posy; // le restas la variable y
};
};
ventana.onRelease = ventana.onReleaseOutside=function () {
delete this.onMouseMove;
};
---MovieClip "ventana"
---Mascara
------MC "fondo" con 10 px de desenfoque
---MC "fondo" (.jpg)
Image size
960x600px 1.35 MB
© 2008 - 2024 dzine23d
Comments7
Join the community to add your comment. Already a deviant? Log In
Awesome!!