Solved

REPOST: Having trouble making 1 movie clip's contents appear on top of another

Posted on 2007-11-18
5
164 Views
Last Modified: 2010-04-03
This needs to be looked at by someone who has Flash CS3.


 I have a web site built all in Flash.  Please see my work in progress here:

http://www.garman.com/capitalwest/web/

or see the .fla here: http://www.garman.com/capitalwest/web/capitalwest.fla

The user clicks on the main menu: About Us, Investment Services, Products, FAQs, Contact us.  They see different content as they go through these menu choices.

The sub menu: Tools, What's New, Ask a Broker, Investor Connect--this is what I'm having problems with.  Whenever someone clicks on one of these menu options, I want it to appear on top of whatever content is currently displayed.  So if they're on "About us" and then they click on "tools," I want the tools content to appear on top of the "About Us' content.

I think this may involve some ActionScript...not sure.  You can click on the "tools" menu to see what I mean.

Thanks!
0
Comment
Question by:waughoo
  • 3
  • 2
5 Comments
 
LVL 34

Assisted Solution

by:Aneesh Chopra
Aneesh Chopra earned 500 total points
ID: 20310493
you can keep the submenu items in a movieClip and keep that movieClip over main menu contents, so that contents and submenu items should appear together..

and on submenu button click, change frame of the submenuitem movieClip, for example:
subMenuItem_mc.gotoAndStop("tools");

for your reference I have also updated your FLA and uploaded here:
download link:
http://www.4shared.com/file/29703909/fffadca6/capitalwest.html


-------------------
Aneesh Chopra
-------------------
0
 
LVL 1

Author Comment

by:waughoo
ID: 20317306
Wow, that's great!  Thanks for doing that for me.  It would have taken me a long time to figure that one out.  However (and you were probably anticipating this) I'm not sure how to make it go away when the person rolls off the button.  I changed it to a rollover rather than a click on, that way it appears when the user rolls over it, and disappears when they roll off it.  Now....how to make it so they can select content within the balloon without making the content disappear?  Also...I know how to make a rollover work--as long as it's going back to the initial frame.  I would create an invisible button surrounding the button I'm using, and have it:

on (rollOver) {
      gotoAndStop(1);
}

But of course that would always take the user back to frame 1 of the current clip.  So how can I make it so that it just makes the bubble disappear, and returns them to the part of the main movie where they were before?  So essentially it appears that the bubble appears and then disappears, with no change in the content below it.  Does that make sense?

I guess like all questions, this one begets more questions!

Thanks!
0
 
LVL 1

Author Comment

by:waughoo
ID: 20317380
Maybe I spoke too soon...I see you made a "hide" frame.  Let me see if I can make something work with an invisible button using that....unless there is an easier way?
0
 
LVL 34

Assisted Solution

by:Aneesh Chopra
Aneesh Chopra earned 500 total points
ID: 20317698
use following code to hide bubble items:

on (rollOver) {
      _root.subMenuItem_mc.gotoAndStop("hide");
}
0
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 500 total points
ID: 20317699
sorry, it should be onROllOut

on (rollOut) {
      _root.subMenuItem_mc.gotoAndStop("hide");
}
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now