Skip to main content
CodeDeveloperOM
Inspiring
September 3, 2020
Question

visible + vr-panorama-360

  • September 3, 2020
  • 3 replies
  • 365 views

var that = this;
that.ATt.visible = false;
//that.ATt.invisible();
that.A.addEventListener("click", fl_MouseClickHandler_1.bind(this));
function fl_MouseClickHandler_1(e) {
that.AT.visible = true;
}

 

why the movieclip(ATt) not visible in vr-panorama-360 file ??

 

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

kglad
Community Expert
Community Expert
September 3, 2020

because you make its visible propery false and then fail to change that.

 

if clicking A is supposed to make it visible again, in A's listener function, you need to use

 

that.ATt.visible = true;

 

not

 

that.AT.visible = true;

CodeDeveloperOM
Inspiring
September 3, 2020

I took notice of it and changed it .. Thank you
But I found that if Movie has the Panorama feature enabled, the code does not work
If I delete it, it works ???

I want movie clip (ATt) panorama also ?

Thank you

kglad
Community Expert
Community Expert
September 4, 2020