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

inactive buttons in test mode after fade is placed

Explorer ,
Dec 16, 2017 Dec 16, 2017

I have placed a fade on the time line but when I go to test mode the fade works but my buttons are no longer active.

I am using adobe animate 2017. Does anyone know of any other way I can do a transition?

732
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 , Dec 19, 2017 Dec 19, 2017

Your fade function is like this:

function fl_FadeSymbolOut_3(event:Event)

{

   movieClip_4.alpha -= 0.01;

   if(movieClip_4.alpha <= 0)

   {

       movieClip_4.removeEventListener(Event.ENTER_FRAME, fl_FadeSymbolOut_3);

   }

}

and I had said to make it be this:

function fl_FadeSymbolOut_3(event:Event)

{

   movieClip_4.alpha -= 0.01;

   if(movieClip_4.alpha <= 0)

   {

       movieClip_4.removeEventListener(Event.ENTER_FRAME, fl_FadeSymbolOut_3);

       gotoAndStop(10);

   }

}

Translate
LEGEND ,
Dec 16, 2017 Dec 16, 2017

In the case of HTML5 Canvas you can't have zero alpha interactive buttons. Change the fade from 100 to 0 to be 100 to 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
Explorer ,
Dec 16, 2017 Dec 16, 2017

IM USING ACTION SCRIPT

and would like my mobile phone to fade out, i have created a separate button which i have placed on top, the alpha is on a rectangle which i placed over the phone to fade out and reveal the phone but when i test the button does not work but the fade does.

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 ,
Dec 16, 2017 Dec 16, 2017

So, does the button fail before it has faded? When you do a test movie are there any errors showing in the Output panel?

Would you be able to put the FLA online somewhere for us to 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
Explorer ,
Dec 16, 2017 Dec 16, 2017

The button stays in place after fade but is not clickable

after placing the fade and I run a test I get many error messages if I remove I have none and im able to click my button in test mode.

im away from my computer for a few hours, tell me where I can upload file to.

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 ,
Dec 16, 2017 Dec 16, 2017

You would use dropbox or google drive, or any other file sharing service that you have access to.

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 ,
Dec 16, 2017 Dec 16, 2017

Hi who should I send file to ie, email?

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 ,
Dec 16, 2017 Dec 16, 2017
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 ,
Dec 17, 2017 Dec 17, 2017

In your fade function, see if this solves the problem:

function fl_FadeSymbolOut(event:Event)

{

  FADEANIMATE.alpha -= 0.01;

  if(FADEANIMATE.alpha <= 0)

  {

  FADEANIMATE.removeEventListener(Event.ENTER_FRAME, fl_FadeSymbolOut);

  gotoAndStop(10);

  }

}

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 ,
Dec 17, 2017 Dec 17, 2017

THIS DOES NOT SEEM TO WORK IS THERE ANOTHER WAY IN WHICH I CAN ADD A TRANSITION?

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 ,
Dec 17, 2017 Dec 17, 2017

Your fade in is working ok, but without the gotoAndStop() after the transition ends, the fade layer is still on top, which is why the buttons fail. By going to frame 10 you're then away from the fade layer, and the buttons should work. They seem to work for me.

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 ,
Dec 17, 2017 Dec 17, 2017

For some reason this has not worked for me I have followed your instructions. When I do this and test, it runs right through the whole video without stopping.

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 ,
Dec 18, 2017 Dec 18, 2017

I have not seen any errors in the Output panel. If you are seeing any errors you could go into Publish Settings, and check the box that says "Permit debugging". Then the errors will show you which line number had the error.

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 ,
Dec 18, 2017 Dec 18, 2017

I have checked and have no errors and have used the gotoAndstop() you suggested and have placed in different places of the script, am I missing something?

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 ,
Dec 18, 2017 Dec 18, 2017

Can you upload the FLA again, and I can see what's the difference between what I did and what you did.

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 ,
Dec 18, 2017 Dec 18, 2017
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 ,
Dec 19, 2017 Dec 19, 2017

You haven't given any permission to download the file.

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 ,
Dec 19, 2017 Dec 19, 2017

SORRY, you now have permission.

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 ,
Dec 19, 2017 Dec 19, 2017

Your fade function is like this:

function fl_FadeSymbolOut_3(event:Event)

{

   movieClip_4.alpha -= 0.01;

   if(movieClip_4.alpha <= 0)

   {

       movieClip_4.removeEventListener(Event.ENTER_FRAME, fl_FadeSymbolOut_3);

   }

}

and I had said to make it be this:

function fl_FadeSymbolOut_3(event:Event)

{

   movieClip_4.alpha -= 0.01;

   if(movieClip_4.alpha <= 0)

   {

       movieClip_4.removeEventListener(Event.ENTER_FRAME, fl_FadeSymbolOut_3);

       gotoAndStop(10);

   }

}

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 ,
Dec 19, 2017 Dec 19, 2017
LATEST

THANK YOU Colin, it now works. 

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