Solved

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

Posted on 2007-11-18
5
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

730 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