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

An object won't disappear.

Explorer ,
Feb 05, 2014 Feb 05, 2014

I have a gallery with a button that plays you through to some animation from one image to the next.  When you get to the last image I wanted to make the button no longer functional.  So I changed it on the final from to a singleframe graphic which usual works for such a thing but it was still functioning.  I then put a movieclip with a 0% opacity overtop of it to block the mouse from being able to click it, a cheap trick I learned a long time ago.  The button was still functioning.  I then DELETED the button from the final frame all together and it STILL is there and is functional when I render.

Does anybody know what might be causing this?  It feels like a bug but I can't get around it.  I had something similar happen a long time ago in animated scene that didn't use action script but I can't remember if and how I solved it then.

Anybody know what I should do here?

TOPICS
ActionScript
410
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 ,
Feb 05, 2014 Feb 05, 2014

My guess is you are not attacking the correct object if you remove something and it still works.  Try removing the event listener for the button and it should no longer work.

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
Explorer ,
Feb 12, 2014 Feb 12, 2014
LATEST

i don't think that's it.  Like I said this happened once before when I wasn't even using action script.  There's no event listener calling it at the frame where the object appears.  I also tried solving it another way by making a movie clip that matches the colour of the background and putting it on the layer above it at that frame to hide the object.  Thinking that even if the problem persists it will at least be hidden.  But even that didn't work.  The button still appears there everytime.

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