ActionScript 2.0 :: Extending Kirupa's XML Menu?
May 30, 2007
Alright, I've been tasked to build a menu system similar to the one on 2Advanced V5. I know, I know, don't mess with copying peoples' stuff, but my arm's being twisted to do so, by the management. I've started with Kirupa's XML menu, modified the XML to my liking, and have added some sliding code in there. I'm having a hard time with1. Getting the sliding code to interact with the submenus.2. I've got no idea how to adjust the submenus so they don't scroll too fast or too slow.EDIT: All I need is for each submenu to be scrollable, and not scroll too fast, based on how many buttons are in there. XML source can be set to the XML example in Kirupa's tutorials.The FLA is attached, and here's the Actionscript:
Code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
[code]....
View 7 Replies
Similar Posts:
Aug 8, 2009
This is one of my first posts, so be kind! I'm slowly getting back into Flash after a hiatus (I was pretty good with Flash 5), and I've been adapting Kirupa's XML-based menu tutorial to my company's needs. As users drill down to the 2nd and 3rd tier of menus, I need the script to load and display images (preferably with a preloader), the links of which would be provided in the accompanying XML document (I based our XML doc off of Kirupa's example as well).
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
// as well as any of the submenus
[code]....
View 3 Replies
Nov 23, 2003
how to make kirupa's infinite menu [URL] work only when the mouse is over the movie clip?here's the actionscript:
onClipEvent (load)
{
xcenter=150;
speed=1/10;
}
[code]....
View 11 Replies
Nov 23, 2003
Does anyone know how to make kirupa's infinite menu (url...), work only when the mouse is over the movie clip?[code]...
View 11 Replies
Dec 30, 2005
I have followed Kirupa's tutorial on an XML driven drop down menu. On this menu, when a submenu is opened, it opens next to the button the mouse is hovering over. I need the submenus to open at the top of my flash page, does anyone know how to do this?
View 3 Replies
Jun 5, 2004
I have created this site with a expanding / collapsin menu. When a user selects a menu e.g. "hammers" then the menu is loaded and show the submenues. When the users closes the menu by moving the mouse away from the area the menu collapses. If the user expands the menu again the menu should have remember the last visit menu and show the menu.
View 4 Replies
Feb 27, 2011
i want to add new Menu in flash IDE and i want to add inside the adobe flash menu. How i can add new menu in menubar and new menu item inside the help menu. is it possible to do this things if yes then which language i have to use for this. what is way to start development and what is the .MXP file and how to create this .MXP file.
View 1 Replies
Jan 27, 2010
The menu is like this http:[url]... (the site is in portuguese but it doesnt matter), when I click in on menu the actual menu does an alpha to 0 and the next menu appears using the alpha from 0 to 100 (and some animations like the cellphone going up).Now, how can I do a menu like that, whatever the menu I choose, it does that alpha animation ?
View 1 Replies
Feb 1, 2004
I've done the search on tuts.Is there a tut kirupa or other on controlling one swf from another.so clsic example having a loaded playback bar then loading vid or mucis and the universal playback bar can control it.
View 3 Replies
Sep 7, 2009
i have AS2 coded menu it's working xml but i can add 11 categories.if i add menu item show page out...i want menu item 11 later menu 12 menu 13 in bottom. sorry my english i add flash file and screen
View 1 Replies
Oct 18, 2008
I am using the Kirupa XML slideshow code and making somechanges so that I can use it with my images. I can change thedocument size and movieclip size to hold my larger images(830*400). The problem is that I don't want the white borders atthe top of and on the left of the image. How do I adjust this?
View 5 Replies
Aug 26, 2005
but is there a way to make the thumbnails like, grid form, like in the examplerather than scroller? because i dont really like the scroller, and im not sure how to set them to grid
View 3 Replies
Mar 30, 2006
I am having problems formatting the XML Flash photo gallery. I can't seem to get the photos to center on the page. Some of my photos are vertical and others horizontal, and they are all pushed to the left. I don't want to make all the photos the same width. Is there any way to use css to style the xml? Or is there some other way to do it? Url...Also, if anyone notices any other problems with the gallery,please let me know. This is only the second thing I've done in Flash, and I may have made some mistakes when I changed things.
View 14 Replies
Apr 11, 2006
There is always really cool special fx on the kirupa home page banner. But I can never find out where I can find FLA's with them. Can someone give me a link to where I might be able to find them...If not. This would be a perfect place to put banner ef ex. So post them if you have them!
View 4 Replies
Jun 21, 2006
modify this tutorial ([URL]) so that it does this: one of the external swf's has a button in it that loads another external swf in a different area of the stage, so now there would be 2 external swf's displayed on stage. Then, when one of the main buttons is clicked, the exit animation of the 2nd swf is played, then the exit animation of the 1st swf is played, then the new external swf is loaded in the same spot that the 1st one was.
View 2 Replies
Oct 6, 2006
Will this tutorial work on servers like this? I read through the tutorial and the author links to his own socket server. Do we have to pay big bucks for our own socket server or can a regular cheap host's server be converted to one?
View 9 Replies
Jun 22, 2003
Using this preloader w/percentage from the kirupa tut.
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
[code]....
I'm having trouble calculating the getBytesTotal method to return less that the total. In other words, I'd like to start the movie before it has fully loaded. Lets say, 75% loaded then gotoAndPlay.
View 3 Replies
Jul 6, 2008
i have been able to customize this tutorial for my needs but i am still having one problem with the thumbnails. Unlike in the tutorial i have thumbnail that are two different sizes. most of them are 100 pixals wide but some are 75 and when they are different sizes like that it screws it up...they overlap or leave big gaps between thumbs.
below you can find the code i am using. the line of code that places the thumbs in there position is
target_mc._x = hit_left._x+(target_mc._width+5)*k;
i was able to stop the thumbs from over laping by replacing target_mc._width with 100 but that doesnt fix the big gaps between the images that are 75 wide.
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
[code]....
View 4 Replies
Sep 1, 2003
Trying to get my head around all of the variables, functions, etc. Anyway, I want to modify the Kirupa photo gallery AS <http:[url].... to have my movie go to another movie or scene after the images have been viewed one time instead of playing through the array over and over. Printing out the AS and going through my references I am getting an understanding of what things are doing.
View 8 Replies
Nov 26, 2009
How can I add links from the XML file to My large image? I tried inside the functions prevImage, nextImage e first Image the code and didnt work:
picture.image[p].onRelease = function (){
getURL(links[p], "_blank");
}
picture is the movie clip that receives the large images and links is the array that I created to recevie the nodes with links from the XML file.
View 4 Replies
Aug 17, 2010
i'm using the Kiupa PHP form tutorial. It works well on the demo but when i use it on my site it send the information but just will not go to the message on the next frame.Here's the code on the submit button:
Code:
on (release) {
// send variables in form movieclip (the textfields)
[code].....
View 2 Replies
Jan 4, 2011
I am new to flash and was working with the Kirupa tutorial that showed the letters of Kirupa being moved and fading, all done within 30 frames. The example that was posted is so smooth and slow in its transition. I followed the directions but mine is quick and jerky.
View 1 Replies
Aug 19, 2011
I have incorporated the following XML guestbook on my site and it works like a charm since its inclusion on my site
[URL]
How to send a mail to me when anyone adds a message on the guestbook ?I guess it is possible as whenever one xml object is send to the php file for processing by sendAndLoad function , it can also send a mail via php .....the code that sends xml data to php in this actionscript is
Code:
myXML.sendAndLoad("processXML.php", receiverXML);
can some code be added in the processXML.php which also sends a mail vial "mail" function in php ?
View 2 Replies
Oct 25, 2003
I have an asset management system which loads a bunch of external swfs, and when requested distributes copies of those swfs to other parts of an app (it creates instances of the classes to do this).Anyway, when I use these loaded swfs somewhere and then remove them Flash does its trick of leaving the sounds running (as they are triggered by timers).If they were Loader class items I could use .unloadAndStop() to shut them up and get them garbage collected, but they aren't of course.I thought I might be able to extend the Loader class and set the .content my self - which I have done by overiding the content getter in Loader. I was hoping I could then use unloadAndStop on that class but nothing happens. I've tried casting my fake Loader to a Loader as well and no joy.
View 4 Replies
Jan 26, 2009
extending the tween class?
View 6 Replies
Mar 27, 2004
I'm using kirupa's snow tutorial and I'm trying to figure out a way to remove the snow at a certain frame!
View 1 Replies
Aug 24, 2004
Scrolling Dynamically Loaded Text Tutorial[URL]..Best I've come across I can edit the scrollTrack-mc, but I need to edit the scrollpane window itself to change it's b/g colour ( always white ) or more importantly to make it transparent Somebody
View 1 Replies
Aug 11, 2005
[Code]....
I changed the code a bit because I would like it to work like this...If I put my mc (photo) in the center of the stage, it would creat dups every 125 pixels. But this script only makes one duplicate, I must have done something to mess it up. Idealy I would like to have the mc create dups in both directions; x and -x.
View 6 Replies
Aug 31, 2005
I am trying to edit the code from o that the effect will look more like a cross-fade. So what I am trying to do is have the next image pre-load, the previous image alpha fade from 100-0, while the new one fades from 0-100
View 2 Replies
Nov 11, 2005
I have made used the turoial from Kirupa to make my count down to a date file. I have modified the actionscript to pull the data from my sever using flashvar and everything is working fine.What I would like to know is how can I modify the script to only display days? I do not need to display hours, minutes, seconds or millseconds. All I need is days left.
View 1 Replies