ActionScript 2.0 :: [AS 2.0] Menu Not Linking To Page Mc's
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
Similar Posts:
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
Jul 26, 2010
Im trying to make a menu for a web page using menubar and menu components, is ther any way of making os specifing that the menu can get drawn out of the canvas, since i need that the bar is thin for getting in a space betwen to image headers.
View 1 Replies
Aug 18, 2009
I made 5 movieclipbuttons in actionscript and placed them inside a dreamweaver file.The only problem now is that I don't know how to link them to the correct page on my website.I've tried adding the next code but I get syntax errors(home2_mc referring to the movieclip:[code]
View 1 Replies
Oct 16, 2010
I have an intro MovieClip that plays before entering my site. As of now, the user has to manually click an "enter/skip intro" button before they can go to the html page where the website swf is.
View 3 Replies
Oct 31, 2010
I am trying to link 5 buttons I have made in flash CS5 AS3 to 5 pages and I have made this code, but I keep getting error message 1061: Call to a possibly undefined method addEventListener through a reference with static type Class. My code is
stop();
function button1_clicked(e:MouseEvent):void{
gotoAndStop("page1");
}
[Code].....
View 9 Replies
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
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
Apr 25, 2006
I finished my slide show using xml.of course only one picture shows (loads) as my navigation is...the scrolling menu, so there is not click next button as in the xml slide show tutorial.I also finished, as you can see, the scrolling menu movie...i would not use the xml slide show technique with this as you would always have to manually go in and update blank boxes to load pics into as they are not overlapping in the same space.although you super coders can...im just not there...this is my first project with any coding, and im copy and paste man.how do i make it where my buttons in the scrolling menu call up the images from my xml document that created my slide show?[code]
View 14 Replies
Apr 11, 2012
My class is using AS3 and they built a Flash Intro for their web site. However, we are not able to link the button in flash to our local html pages. Right now both the swf and the home.html page are located on my desktop in a folder titled
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.
The code I have is this:
//The total number of menu items
const NUMBER_OF_ITEMS:uint = 8;
//This array will contain all the menu items
var menuItems:Array = new Array();
[Code].....
View 12 Replies
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
May 10, 2010
I've figured out how to link texted but I've made custom made text with design in it in photoshop. I imported them into my animated menu and I don't see a link option for the jpeg texted I exported out of photoshop. It links fine if I type the text in flash but the pictures I need to link.
View 5 Replies
Jun 24, 2009
I have so far managed to create a drop down menu by following some tutorials but have ran into some problems that have left me scratching my head.
Two main buttons have drop downs & I have managed to link to URLs with the drop down menu buttons. My problem is I can't figure out how to link to URLs with the main menu options (these are movies as opposed to buttons).
I also can't figure out how to open the linked URL in the same page instead of a new one.
I have uploaded my menu file in a zip.
View 2 Replies
Nov 11, 2009
Drop Down menu with the buttons linking to different videos in the same frame...sounds really easy, but I can't seem to wrap my head around it. Now I've got the video and player down in AS2. I also have the drop down buttons created (using this tutorial: [URL]). How I get these two to work together?
View 0 Replies
Mar 29, 2005
I'm trying to create a little linking menu, for that I want to use items and then have some text within those items. When the user then clicks on the item, it's supposed to link. It all has to be loaded externally from an xml file. Now, I can get it to work half the way, the items come up, but it doesn't load the text, and it doesn't link either.
My AS:
[AS]var item_spacing = 50;
var item_count = 0;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild.firstChild.childNodes;
[Code] .....
View 9 Replies
Sep 3, 2009
I am having a strange delay issue when clicking on a button. My code is simple and is as follows:
fight.onPress = function() {
getURL("pages/pageOne.html", "_self");
}
stop();
-fight is the instance name of the button
-the code is in the actions layer as it should be
-there is no other AS within the animation
The problem is when the animation finishes and a "click here" button comes up, it takes several clicks for the button to actually work. It eventually goes to the url but only after multiple clicks, between 1 and 8. The hit box of the button is larger than the button itself so its not the empty counters in the letters or spaces between words.
View 2 Replies
May 22, 2009
For some reason I can't seem to link a menu on a homepage with the internal pages of the website i'm working on. The thing is that this menu is only supposed to be seen as it is on the home page (it changes to a different location, and has a different look on the internal pages). Problem is I can't seem to get the button to link to the corresponding page.
View 3 Replies
Oct 4, 2010
I have reviewed and applied this wonderfull explanation contained in the post thread response from Mr. Catbert303 "linking to specific frame number or label from an html page" about the javascript and actionscript code combination wich allows the swf movie to force-jump into specific framelabel or framenumber and it also works perfectly whenever i go from the link "back to swf" on my plain html page to the movie content page (also html). But i need my swf movie content page to start playing from cero whenever it is played from start and not begining always at the specifyed frame in the actionscript code:
if (frame != "") {
gotoAndPlay(frame);
}
I have tried everything within the "if" & "else" conditionals and i can't get the swf movie content page to start playing from frame 1 everytime it is called up, but instead it looks like it reads the actionscript code described above and always takes you to the specifyed framelabel, not playing it from the start. I have a hunch i'm missing something extra on my actionscript code wich must determine if the swf file is to jump to the specified frame or start playing from cero, because if i remove the above AS2 code from frame 1, it then starts playing from cero normally like it should but won't jump to the specifyed frame when also needed from the HTML page.
View 3 Replies
Dec 19, 2011
I'm making an application that uses a branching tree type structure, and need to get the buttons to refer to and be able to manipulate individual XML nodes. I tried putting a button reference directly in the XML and setting the reference to that node with the event data, but it didn't work, because the XML didn't recognize the event.currentTarget as an actual button, so couldn't find the node that contained the click target. I assume there is a standard way to do this, since it's so common. Just for clarity, the tree will basically look like this:
PrimaryNode1
Subnode1
Subnode1a
[code]....
I need to be able to keep track of which subnode goes where for determining other data as well as graphically positioning the node and subnode data); PrimaryNode2 etc., with add and expand buttons. I can't set static references, since all of the nodes are added through the program depending on if they're needed. I tried doing this with multidimensional arrays, but since I want each level to be theoretically (but not practically) infinite with infinite subnodes, checking through the arrays got kind of messy. I just figured there has to be a standard way to set this up, since it's so common.
View 0 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
Aug 22, 2009
I'm having a problem in linking sub menu buttons to specific frames in that html pageYou can follow the sample site to better understand.f these submenu buttons to [URL]
View 1 Replies
Aug 22, 2009
I'm having a problem in linking sub menu buttons to specific frames in that html page. You can follow the sample site to better understand. [URL] If you click on "Films" a submenu appears. I want all of these submenu buttons to link to [URL] but each go to a specific frame label in the .swf located within [URL]. For example:[URL]("equipment" frame label within .swf) or [URL]("tips and tricks" frame label within .swf)
View 1 Replies
Nov 6, 2010
I'm trying to edit a Flash file, that get it's data from and XML file.Now when you click on one of the menu items, the page + page title should change, but somehow the page title remains the same. (at least for the first 3 menu items) But when you go to the last menu item and then back to one of the first 3 menu items, the correct page title is shown.I'm no flash / AS expert, so I can't really find out what the problem is, but it seems like it has something to do with this function
Code:
_root.getCurrentText(thisText0, _parent.num);
View 4 Replies
Nov 21, 2011
I created a flash page which I'm having problems linking the buttons.I have 3 pages in scene 1("home page frame2", "music page frame3", "contact page frame4"), which all are set to movie symbols. I set buttons inside the home page and want one of the buttons inside the page to link to my music page (frame3) in scene 1
actionscript code "on (release){
gotoAndPlay("music")
}
and all it does is reload the home page as if it can't find it's way out of the home page back to scene1. I realize I created buttons inside the home page and not in the main scene1.
View 4 Replies
Mar 3, 2011
Now my problem is getting back to the main menu icons (built in Flash) once the user has looked at the swf(s) (built in Catalyst) they want to. I made the stage 50px longer to accommodate a button and have tried virtually all snippets etc (I'm not a coder) but nothing seems to work. How do I get back to the main page from the uiloader
View 11 Replies
Nov 14, 2010
I don't think it's necessary to load the whole pages, since the header, menu and footer will be the same on every page. Also I want the button of the menu item clicked to stay highlighted while the new content is loaded, thus I want to avoid reloading the menu. And the last demand is for the pages to be linkable (i mean a unique url address for each page). I'm opened to implementing php or java script or any other technology, although i don't really used them before.
View 6 Replies
Aug 22, 2010
I have uploaded a movie, great, no problem but. it is hiding the navigation menu on the page.
View 1 Replies
Oct 13, 2010
On the home section of my website I just made a drop down menu, which will not go away on the home pages.Do I need a line of code which cancels it on every single labeled section on the site?I believe the reason is that the home page is an animation sequence and the drop down menu has an invisible rectangle with the following AS3 applied:
function invisClipOver(event:MouseEvent):void {
gotoAndStop(1);
}
[code]......
View 4 Replies
Jul 9, 2011
I purchased a template from template monster. I am tweaking it, trying to replace the flash picture slider with html. I want the flash menu to remain. When I replaced the slider, the menu tabs work but the tab doesn't highlight the page its on. I use flash pro 8 action with script 1.0 & 2.0 .http:[url]......Here is AS code:[code]..
View 9 Replies