ActionScript 3.0 :: Linking To Main Stage From Drop Down Menu MC?
Dec 4, 2009
I've tried everything within my knowledge, searched the related posts but still can't find anything that works, this is what i have
[Code]...
I've tried replace stage with _parent, and _root and so on but I'm just stumped, been tryin to get this workin for over a week on and off already, still notta
View 6 Replies
Similar Posts:
Jun 25, 2009
I made a drop down menu following the tutorial here. My problem is that the drop down buttons don't link to the respective scenes. Their rollover states work.
When I work on the drop down menu movie clip directly from the library, the button links work.[code]...
View 1 Replies
Mar 10, 2006
I have created an XML driven Drop Down menu using the kirupa tut by Senocular found here. I am trying to figure out how to get the submenus to push the rest of the main menu down on rollover kind of like this. Not sure where to start to get the AS to get the button created fromt he XML nodes to move down.I haven't changed the code found int he tut too much and the menu works fine except that the rollovers just go over the main menu.
View 1 Replies
Nov 17, 2010
I am making a website purely on flash (actionscript 2.0), for a school project, and I have set up one frame for each page. I also made a drop down menu, but unfortuantely I can't link them to the actual pages, since the drop down menu is a movie clip, if I use an actionscript such as:[code]it goes to the 3rd frame in the movie clip and not the main scene.
View 3 Replies
May 3, 2010
I want to have a hidden menu so I have put some buttons in a MC and added it to the main stage but I am having trouble controlling the stage with the buttons in the movie clip. I think I need to reference the main stage some how... parent or something like that but I'm not really sure and don't know where to put the code.
Code:
stop();
import flash.events.MouseEvent;
[code]....
View 2 Replies
Jan 26, 2007
Any way to create 3 or 4 movieclips on the main stage then when there's a mouse over, the zoom to the foreground and play. They also need to be buttons as well that lead into sections.
View 1 Replies
Mar 13, 2009
I need to insert a menu in the main stage and I have three movieclips exported to ActionScript with their base classes.
[Code]...
View 3 Replies
Aug 1, 2009
I added a movieclip and named "bot_mc" in another movieclip. Then, In Action panel, I use bot_mc.addEventListener(MouseEvent.DOWN, xxxx). However, when I drag and drop the container movieclip on the main stage and compile. There is no error occurs but the MouseEvent doesn't work.
View 3 Replies
Aug 31, 2010
I have a problem with gotoAndPlay option.I have 2 layers with 3 keyframes, on 2nd frame i have movie clip image_mc which has a dropdown menu and here i will stop the timeline. On mouseover of image_mc I will get a dropdown in which if I click on 1st menu the timeline should go and stop on 3rd keyframe of main stage, but its going to 3rd frame inside movie clip, how to come out of mc on click.
View 1 Replies
Aug 13, 2009
Can somebody take a look at my .fla file and tell me why exactly my menu is not dropping down at all?If you download my file go to scene 3. that is where my Navigation Bar is.URL...
View 1 Replies
Jan 17, 2004
ive followed Senoculars drop-down menu tute [URL], awsome stuff, but it seems the submenu's dont disappear to well when you roll out. ..They only disappear if you click on another menu item or when you click outside the menu.
View 12 Replies
Mar 17, 2010
Each time I make a drop down menu I face some problems, For example, when I use tweening to roll out a menu ( via ROLL_OVER/ ROLL_OUT), sometimes the menu gets stuck, or starts flickering after it is rolled out if I move the cursor away, and move back on it.
How could I solve this, should I use a timer to disable the button until the tween finishes (or this would be good for nothing)?
[code]...
View 5 Replies
Apr 16, 2004
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.
View 5 Replies
Feb 12, 2004
I need a tutorial for a hierarchical drop down menu system that drops down 3 sub levels. Do I make the items in the sub menus individual buttons and then insert them into a movie clip or make every sub menu item a movie clip and insert them into buttons?
View 1 Replies
Nov 21, 2011
I'm creating an animated (in and out) drop down menu. I've managed to get the menu to open when the user mouses over, with the buttons all selectable. However I can't seem to find an efficient method of making the drop down menu close whenever the mouse is not over the menu. Actions:
[Code]...
View 2 Replies
Apr 16, 2004
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.
(and if anyone is interested, i've turned it into a horizonal menu... reply and i'll post the code. better yet, help me fix the GUI issue and i'll post it )
View 5 Replies
May 11, 2009
I have a drop down movie button that shows the drop down when scrolled over but i cannot get the drop down buttons to link to the relevant frames.My current script on the dropped down button is
on (release) {gotoAndStop(6);
}
which does nothing.
View 1 Replies
Nov 13, 2002
I have an array for my menu and submenus.It works fine, but I have to click again on the menu to close it.When it's open it's completly open it takes too much space.how I could make a menu close when I click on another menu item..this is the code on the frame on my main timeline:
MenuArray=new array();
MenuArray[1]=menu1;
MenuArray[2]=menu2;[code].....
View 1 Replies
Oct 13, 2005
I need to add a drop down menu to the main menu button called "galleries".
The menu came from one of the awesome kirupa tutorials here, and below is a link to my existing menu w slider:
[URL]
When I try to add a popup menu to "galleries" to the over state in galleries, the popup menu dissappears when you rollover the first item.
Here is the .fla, click on gallery, and open up popup_but to see what I've done in the "over" state:
[URL]
This if my first flash site, and I long over schedule
View 10 Replies
Nov 12, 2008
I am looking at creating a menu with three movieclip buttons on a main menu. I want to keep these buttons on the top of the screen at all times. I am opening different swf's and I want to make sure that the buttons are still showing. I know there is something with changing or swapping the depth of the movie clip when it loads the new swf's in, but I have not found anything that is seeming to work.
View 4 Replies
Aug 26, 2010
I recently started creating a flash website from a template that was created back in 2004. I have very little knowledge of either AS 2.0 or AS 3.0. I am currently attempting to link my buttons that are in separate movieclips back to specific parts of the main timeline "scene 1". Currently when clicked, the buttons just cycle through the varying pages that have been created, "s1" , "s2" etc.
How do I link a movieclip/button back to "s8" in the main timeline?The AS 2.0(I think it's AS 2.0 anyway) that currently exists is as follows:
PHP Code:
on (rollOver) {
gotoAndPlay(2);
}
[code]....
I understand what first rollOver and rollOut commands are and they work fine, but the "On (release)" doesn't seem to go where it needs to.
View 2 Replies
Jun 29, 2005
I suppose there has been such a topic already, but I cannot find it. I have been doing some XML menu (I have covered all the XML tutorials here on kirupa.com) and the code is doing just fine. I am using this one:
Code:
item_spacing = 100;
item_count = 0;[code]...
The menu builds without any problems. But, now comes the problematic part... I want to give those buttons in the menu the function to load .swf-s into the "loader_mc" which is on the main timeline. "loader_mc" is basically the place where I want my "movie1.swf" etc. to load into.I have been trying to figure it out by myself for two days now and I gave up. What can I do (what code to write) so that every button gets to load a different .swf into the "loader_mc"?
View 6 Replies
Sep 8, 2002
I'm working on a web menu, that has sub menus. I'm currently trying to get the sub menu to jump back to the main menu if the mouse is no longer inside the submenu zone.
It works if I move the mouse quickly to another part of the Flash area, but if I quickly move it out of the Flash area and onto say the html document, it doesn't update fast enough, and thus still thinks the mouse is hovering over it.
I know I can simply update the movie frame rate which does work, but I was wondering if there is any way to get Flash to check to see if the mouse IS ACTUALLY ACTIVE over it, and if not close the submenu?
View 4 Replies
Feb 27, 2012
keyframe one - dialogue / conversation with characters ( then a button is triggered to call an external swf [placed at keyframe two] )keyframe two - the external swf game. i want to put a button that makes you go back to the main timeline once you're done with the game and proceed to keyframe three (that's the problem. i dont know how to declare and make that button work)keyframe three - dialogue / conversation again .
keyframeone [main timeline]
Code:
...
memory_t.addEventListener(MouseEvent.CLICK, recalltraining)
function recalltraining(e:MouseEvent):void{
gotoAndStop(2)
[code]....
View 0 Replies
Dec 21, 2009
I have been trying to figure this out for 3 days now. Here is the structure on the timeline:
movie clip (portbtn)
inside port btn (button)
I need (button) inside (portbtn) to link to a keyframe inside of another movie clip on the main timeline called portPage.
Here is the code I have been trying to get to work and it seems like it would:
Select allusa.onPress = function() {
_root.portPage.gotoAndStop(1);
gotoAndStop ("closed")
};
Now this is what everyone else tries and it doesn't seem to work. Also I want to note that I have tried to trace the movie clip "portPage" and it says undefined which from what I have read means that the button is working but it is just not getting the right directory. I have no clue what other directory to put in there since this one seems to be the right one.
View 7 Replies
Mar 15, 2009
how to link the following on release code used when clicking a menu item such that it will open the required mc?
Code:
stop();
// Include MC Tween
#include "mc_tween2.as"
[Code]....
View 5 Replies
Jan 30, 2010
I have a scrollpane where I have loaded a swf of many small images that are set up as buttons.How do I create the link between this swf/actionscript to the main fla/timeline that the scrollpane is contained in?
View 1 Replies
Apr 27, 2009
im creating a character sheet and all i have to do is get the character to do a few things, im using Stan from american dad, so he draws his gun, salutes, and does this guns speech, only problem is. i can get him to salute by using the code
on(release){
gotoAndPlay("2");
}
this links fine, the salute is in a movieclip on frame 2 of the timeline, and the button is set to link to this.problem starts after the movieclip finishes playing, how to return to frame 1 on the main timeline, ive tried gotoAndStop("1") amongst other things (gotoAndStop ("Scene 1", 1)ive also tried frameLables too but that didnt work, though im not sure if i was doing that right to start with.Then im having a problem with my other buttons, even when set to on(release){gotoAndPlay("3");} they still go to frame 2 (with salute on)
View 2 Replies
Nov 10, 2009
I'm creating a drop down menu and when I addEventListeners to check the clicks on the invisible buttons on frame 19 of the "menu" movieclip, it gives me an error. T really hate doing rollover with actionscripts. The download link for the fla can be found in below. Sorry for posting an external download link as the file is 7mb+! [URL]
View 2 Replies
Nov 13, 2010
I created a 3D carousel in CS5. It works wonderfully. For now, I have it set up so that if someone clicks one of the menu items, the output window say "commited suicide after being cyberbullied", what I want to do is either have different text (that shows in the window) for each of the eight menu items when clicked, or 8 different URL links for each of the menu items, when clicked.
[Code]....
View 1 Replies