Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ACCIONES EN BOTONES DE ANIMATE CC

New Here ,
Jun 27, 2018 Jun 27, 2018

No puedo regresar a un fotograma anterior, y así sucesivamente hasta regresar al inicio de la animación. Solo me permite ir de fotograma a siguiente fotograma. Los botones los estoy linkeando mediante etiquetas.

2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 29, 2018 Jun 29, 2018

the button in frame 1 needs to exist on the entire timeline to frame 80. 

Translate
Community Expert ,
Jun 27, 2018 Jun 27, 2018

what code are you using to go to a previous frame?

is this an as3 or html5/canvas project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 27, 2018 Jun 27, 2018

ActionScript.

back.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_16);

function fl_ClickToGoToAndPlayFromFrame_16(event:MouseEvent):void

{

gotoAndPlay("1");

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 27, 2018 Jun 27, 2018

La forma mas fácil de navegar al anterior fotograma es unando la función prevFrame() o restar uno a la propiedad currentFrame. Aquí hay una discusión al respecto: AS3 gotoAndPlay Frame in a prevFrame

Marlon Ceballos.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2018 Jun 29, 2018

Sí, eso se puede hacer sin contra tiempos, lo que no me permite es saltar hasta un frame que tengo al inicio, al principio si me lo permite, pero ya una ves avanzada la animación, no me deja regresar al frame inicial, Ejemplo:

Ejemplo X

frame 1                 frame 40                 Frame 80

Del frame 1 al 40 regreso sin problema, pero una vez pasando del 40 al 80, ya solo puedo regresar al frame 40, siendo que en el frame 40, igual tengo un botón con acción para el frame 1, pero no me permite regresar.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 29, 2018 Jun 29, 2018

the button in frame 1 needs to exist on the entire timeline to frame 80. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2018 Jun 29, 2018

Estos son los fallos, del frame 1 al siguiente corre sin problema y regresa, pero al volver a iniciar desde el frame 1 salta hasta la animación siguiente.

La animación 2 la hace perfectamente e igual regresa sin problema, pero ya no puedo regresar a la del frame 1.

Dejo video del problema

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 29, 2018 Jun 29, 2018
LATEST

i don't know what info that adds.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 27, 2018 Jun 27, 2018

don't use a number (or even start a string with a number) as a frame label, and if you're using a frame number don't put it quotes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines