Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash General Questions > Other Flash General Questions

Thread Tools Rate Thread Display Modes
Old 10-17-2002, 06:15 PM   #1
Registered User
rzea's Avatar
Join Date: Oct 2002
Posts: 11
Default Some contents in the same position

Hello people .

Ok, I need your help with this one:

I have an interface with three buttons, and each button calls a small content in the same place each, so I have three contents piled one on top of each other.

The problem is that the content of button #1 shows exactly at the same place where buttonīs #2 content also appears... and also buttonīs #3.

I need to call each content through each button but I need any of the three contents to disappear when any of the other contents is called.

Can you help me with this one?

rzea is offline   Reply With Quote
Old 10-18-2002, 06:33 AM   #2
The Placid Casual
sfa's Avatar
Join Date: Oct 2001
Location: Malta
Posts: 1,024

I dont know in what way you are showing the content but this concept remains th esame, imagine you have all the MCs in the same place and all you are doing is hiding one and showing the other. Basically you need to store the last MC in a variable.

On each button place something like this -
ActionScript Code:
on(press){ _root.movie1._visible = true; _root[currentMovie]._visible = false; currentMovie = "movie1"; }

sfa is offline   Reply With Quote
Old 10-18-2002, 01:28 PM   #3
Registered User
rzea's Avatar
Join Date: Oct 2002
Posts: 11

sfa thanks a lot! it worked just fine :)
rzea is offline   Reply With Quote

Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:57 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.