Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : easy targeting question???


zcdk
1/29/2004 11:23:01 PM
I have a website that is almost completed. I have a navigation bar across the top with five buttons. The buttons all link to the different pages which appear below. When the site loads, one of the scripts I have is this:

_root.servicesPage.words.products._visible=false;

This is supposed to hide the products text in the words movie on the services page, but it doesn't. I use script just like this all over the site and it works fine except for on this one page. I know it should work. I built a site almost exactly like this one and this method worked on their fine. Is it a corrupt file? A bug in the program?

I am on a Mac Dual 2.0Ghz G5 running OSx 10.3.2

Thanks for your help in advance.

kglad
1/30/2004 3:19:57 AM
is products a movieclip?

CesareRocchi
1/30/2004 12:19:27 PM
This is more a hack.
Instead of

_visible = false

you can use

_alpha = 0



zcdk
1/30/2004 3:37:58 PM
Yes, products is a movie clip.

I have used the ._alpha=0; code in other places on the site but would really rather use the _visible command to get the effect I want.

I've heard that Flash is buggy and doesn't always work properly on macs, could that be what is happening?

AddThis Social Bookmark Button