Solved

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

Posted on 2007-11-18
5
151 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
sorry, it should be onROllOut

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

744 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

16 Experts available now in Live!

Get 1:1 Help Now