Estou tentando fazer um menu elastico, porem ele funciona habilitado no flash 5 e não funciona no flash 8.
Object.prototype.scaleto = function (n) {
xs = (xs*0.8) + (n-this._xscale)/10;
this._xscale = _xscale + xs;
this._yscale = this._xscale;
}
Object.prototype.moveto = function (newx) {
xsp = (xsp*0.8) + (newx-this._x)/10;
this._x = _x + xsp;
}
function verifica (clip) {
clip.x = clip._x;
}
stop ();
//Mail animi:
MovieClip.prototype.minhaScale = function (target,accel,convert) {
xs = xs*accel+(target-this._xscale)*convert
ys = ys*accel+(target-this._yscale)*convert
this._xscale += xs
this._yscale += ys
}
do{
bola.duplicateMovieClip("bola"add h,h)
this["bola"add h]._x = bola._x + 15*h
this["bola"add h]._alpha = bola._alpha - 12*h
h = h+1
}while (h < 8)
Alguem pode me ajudar
Publicidade
|
|
Page 1 of 1
duplicateMovieClip funciona para Flash 5 e não para 8 Preciso Urgente de uma Ajuda
#2
Posted 02 February 2008 - 09:23 AM
Topico movido para a área correta: Para dúvisa utilize o fórum principal.
Troque o seu "add" por "+"
Troque aquela parte por essa e veja se melhora ok ?
Abraço
Troque o seu "add" por "+"
Troque aquela parte por essa e veja se melhora ok ?
CÓDIGO
do{
bola.duplicateMovieClip("bola"+ h,h)
this["bola"+ h]._x = bola._x + 15*h
this["bola"+ h]._alpha = bola._alpha - 12*h
h = h+1
bola.duplicateMovieClip("bola"+ h,h)
this["bola"+ h]._x = bola._x + 15*h
this["bola"+ h]._alpha = bola._alpha - 12*h
h = h+1
Abraço
Share this topic:
Page 1 of 1
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
|
Norton oferece proteção para smartphones
|
Notícias |
Notícias
|
|
|
|
Imagem fixo
Ajuda |
Web Standards |
Enterlein
|
|
|
|
Navita abre vagas para especialistas em web
Info Online |
Notícias |
TiTi Celestino
|
|
|
|
Programadores criticam critérios da Apple para remover conteúdo erótico
|
Notícias |
Notícias
|
|
|
|
problema com sistema para escola
|
ASP |
marcos.gr
|
|
|
|
Games ajudam a aliviar sofrimento, diz estudo
|
Notícias |
Notícias
|
|
|
|
Microsoft abre inscrições para o Imagine Cup 2006
WNews - Computação |
Notícias |
TiTi Celestino
|
|
|
|
Como configurar o JSP no dreamwevaer
preciso configurar o mysq no jsp e dw |
Outros |
bittencourt
|
|
Publicidade
|
|

Help













