crica 0 Denunciar post Postado Novembro 6, 2008 Olá pessoal, seguinte: o Dynamic Text está trazendo um texto externo, se eu usar um scrollbar o texto rola, mas preciso que seja 2 bts um para subir e outro pra descer, daí não estou acertando o "as" . No static text os botões funcionam, mas como fica o "as" para rolar texto externo? o AS no static text está assim, para subir: on (press) { press = 1; tellTarget("/yscroll") { gotoAndPlay(2); } } on (release, dragOut, releaseOutside) { press = 0; tellTarget("/yscroll") { gotoAndStop(1); } } e está assim, para descer: on (press) { press = 2; tellTarget("/yscroll") { gotoAndPlay(4); } } on (release, dragOut, releaseOutside) { press = 0; tellTarget("/yscroll") { gotoAndPlay(1); } } Tentei adaptar o "as" do scrollbar, mas não deu certo, se alguém puder me explicar ou indicar um tuto, agradeço. Compartilhar este post Link para o post Compartilhar em outros sites
crica 0 Denunciar post Postado Novembro 6, 2008 http://forum.imasters.com.br/public/style_emoticons/default/clap.gif Palmas pra mim..... rsssss. consegui. Se alguem precisar, é o seguinte: No bt pra subir: on (press) { onEnterFrame = function () { mensagem.scroll--;}; } on (release) { delete onEnterFrame; } e pra descer: on (press) { onEnterFrame = function () { mensagem.scroll++;}; } on (release) { delete onEnterFrame; } a bobona aqui não estava colocando a "var" (mensagem) da caixa corretamente.bye Compartilhar este post Link para o post Compartilhar em outros sites