Solved

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

Posted on 2007-11-18
5
171 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't play a movie website which used to be playable 4 633
Add 'birds singing' to homepage 5 108
Flash Converter 8 120
Can't play streaming video on event.on24.com 7 261
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

813 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

13 Experts available now in Live!

Get 1:1 Help Now