?
Solved

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

Posted on 2007-11-18
5
Medium Priority
?
196 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 2000 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 2000 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 2000 total points
ID: 20317699
sorry, it should be onROllOut

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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 how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

762 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