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

Informative Question, why one works and one doestn

Participant ,
Jan 10, 2022 Jan 10, 2022

Copy link to clipboard

Copied

I am trying to change like backgrounds in a game i was gonna do this:

 

raiz.fondito.gotoAndStop("nivel2") //raiz is my root variable, fondito my backgrounds but it wont work...

 

So i had to do this, that this does work!, using multiple movieclips, instead of multiple frames as i was planning, and this, does work!
raiz.fondito.visible = 0;

 

Si I guess i am gonna do it like that, but Why? i am shure i am doing something wront, but it still fishy it should! lol 

 

happy new year Flashers!! tyvm

Views

88

Translate

Translate

Report

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 ,
Jan 10, 2022 Jan 10, 2022

Copy link to clipboard

Copied

Hi.

 

The label approach should've worked.

 

Can you provide more details, like your full relevant code or some screenshots?

 

Regards,

JC

Votes

Translate

Translate

Report

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
Participant ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

LATEST

hola, perdon que no he respondido andaba de fiestas

 

abrigado

 

codigo


//alert("url")
//window.open("nivel2.html", "_self");
//raiz.fondito.gotoAndStop("nivel2")
raiz.fondito.visible = 0;
raiz.fondito2.visible = 1;
alert("URLL");

 

This movieclip gets play when the total enemies of level gets kill, should play show next background, its the movie clip siting at center of screen

 

https://drive.google.com/file/d/1A6U_EKAkx2jCdp2n4yW0TwdiGYwVDwPo/view?usp=sharing

 

abrigado

Votes

Translate

Translate

Report

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