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 | |
|---|---|---|---|---|---|
|
Para cortar custos, Dell estimula funcionários a tirar folga
|
Notícias |
Notícias
|
|
|
|
Erro ao Salvar arquivo .ai
Arquivo não salva, dé um erro. |
Illustrator |
DanBtos
|
|
|
|
Urgente ! Me ajudem por favor !
|
Dreamweaver |
Rodrigo Guimarães
|
|
|
|
Realidade virtual pode ajudar soldados com trauma pós-Iraque
|
Notícias |
Notícias
|
|
|
|
Dicas para o meu site...
Que posso fazer para melhorá-lo? |
Processos Gráficos |
davidbailey
|
|
|
|
MASCARA EM TEXTO
URGENTE |
PHP |
Alessandro MX
|
|
|
|
Programador PHP/Flash/MySqL Campinas
Agência Web contrata com experiência comprovada |
Mercado / Vagas |
xpertsmedia
|
|
|
|
Validar data em javacript
Urgente |
Web Standards |
julianomf
|
|
Publicidade
|
|

Help













