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

Ocultar dentro de Movieclip elementos que se encuentran fuera de él. Flash CS6, AS3.

New Here ,
Apr 01, 2017 Apr 01, 2017

Buenas noches, tengo dudas sobre un tema y agradezco si me pueden ayudar.

Tengo varios movieclips que en su interior tienen menús desplegables y se encuentran en diferentes capas con animación de entrada.

Los botones de esos menús tienen una etiqueta con un stop(); en la cual luego de la entrada cargan swf externos.

El problema es que cuando se cargan estos últimos, los menús que se encuentran en capas superiores (por fuera del movieclip activo) tapan los swf que estoy cargando. He intentado múltiples opciones para ocultar los menús pero siempre me sale el error de propiedad no definida y no se como indicarle a la acción que los oculte, tengo esta acción para moverme entre los movieclips y la linea principal: MovieClip(parent).gotoAndStop ("Inicio"); y quisiera saber como puedo hacer algo como esto MovieClip(parent.visible=false); pero con los movieclip por medio de su etiqueta "Menu1" "Menu2" etc he probado con la instancia en varias posiciones pero siempre me sale error.

Agradezco enormemente la colaboración que me puedan brindar.

TOPICS
ActionScript
702
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

LEGEND , Apr 02, 2017 Apr 02, 2017

The right syntax would be:

MovieClip(parent).Menu1.visible = false;

Translate
LEGEND ,
Apr 01, 2017 Apr 01, 2017

You say: MovieClip(parent).gotoAndStop ("Inicio"), but you have a label: "Entrada".

If that's not the problem, can you upload an example somewhere that we can try?

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 ,
Apr 01, 2017 Apr 01, 2017

Hi, MovieClip(parent).gotoAndStop ("Inicio") is an example of navigation to father timeline (image 1) but the problem is in to menu movieclip timeline (Image2). How to hide a specific item outside of movieclip (in fhater line) into menu movieclip, example MovieClip(parent.visible=false); but this function hide all movieclips and not at specific. Sorry for my english.

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
LEGEND ,
Apr 02, 2017 Apr 02, 2017
LATEST

The right syntax would be:

MovieClip(parent).Menu1.visible = false;

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