Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-18-2009, 11:37 AM   PM User | #1
Riskok
New to the CF scene

 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Riskok is an unknown quantity at this point
.onRelease help (Showing/Hiding)

Hello from Sweden

I want to show and hide some movieclips.
The clips are called

text
textskit

and the buttons

omoss
webshop

But I cant get it to work. What am I doing wrong?

Code:
stop(); 
text._visible=false;
textskit._visible=false;

omoss.onRelease=function()
    {text._visible=true;}

webshop.onRelease=function()
    {textskit._visible=true;}
	
webshop.onRelease=function()
	{text._visible=false;}

omoss.onRelease=function()
	{textskit._visible=false;}
BR Patrik
Riskok is offline   Reply With Quote
Old 03-19-2009, 10:08 AM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Hello from Germany

You might need to put _root. in front

Code:
_root.text._visible=true;
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:44 PM.


Advertisement
Log in to turn off these ads.