FORUMS: list search recent posts

image button are always in different pages

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mario Blanco
image button are always in different pages
on May 4, 2015 at 8:27:31 pm

I made a page with 8 button each one when press allow to look diferent page but the image button of the nonpressed button always are there.How can i hide all no usesd button?
thanks


Return to posts index

Sam Mattern
Re: image button are always in different pages
on May 5, 2015 at 1:28:35 pm

You can toggle the visibility of a movieclip and button by calling:btn_name.visible = false;

-Sam


Return to posts index

Mario Blanco
Re: image button are always in different pages
on May 21, 2015 at 7:22:49 am

Thanks very much.

I HAVE ANOTHER ISSUE:
now related with sounds: I have a Project with 4 scene and i put the background sound at the first scene and when i go scene to scene the sounds is ok BUT IF i return for any reason to the first one, the sound play again resulting two or three sounds superposed with diferent velocity. Hos i can fix so i can hear only one all the time?
thanks in advance


Return to posts index


Sam Mattern
Re: image button are always in different pages
on May 21, 2015 at 1:22:13 pm

Create a function that runs every time before playing a sound that stops each of your sounds.
function stopSounds():void{
<blockquote>mySound1.stop();
mySound2.stop();
mySound3.stop();</blockquote>}
stopSounds();
mySound1.play();


-Sam


Return to posts index

Mario Blanco
Re: image button are always in different pages
on May 24, 2015 at 8:17:30 pm

Thanks very kind from you!

Here another question:
I made a button and when i press show the page i want but how i can show the page without pressing the button. Now i wanto to hold the page to have time to read and then hide...
thanks in advance


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]