ActionScript 2.0 :: Extending Kirupa's XML-Based Menu?

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


Similar Posts:


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

ActionScript 2.0 :: Stopping Kirupa's Infinite Menu?

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

ActionScript 2.0 :: Stop Kirupa's Infinite Menu?

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

ActionScript 2.0 :: Kirupa's XML Driven Drop Down Menu?

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

ActionScript 2.0 :: XML Based Menu By Senocular?

Jul 31, 2007

I followed the XML based menu by senocular a long time ago and modified it to display a title when the sub menu is chosen simply a movie with an image of a menu button in it: http:[url]....I need to modify this so that when the title is hovered over it displays the sub menu. Essentially imitating the behaviour when the first menu is hovered over.

View 1 Replies

Java-based Menu And Flash Animation

Feb 17, 2010

I have a flash animation I'm working on for a Web site and the java-based menu that's above it uses drop-down menus. Well, when the drop-down menus and the flash animation overlap, all you can see is the flash. The menu is behind it. This only happens on a PC-based browser. It is fine on a Mac. Any thoughts here? Any settings I'm missing here? The file is built in Flash CS4 using ActionScript 3.0. Here's the URL for the site (problem on home page when "Resources" menu drops down):

View 2 Replies

ActionScript 3.0 :: Button-based Drop Down Menu?

May 23, 2010

Right now I got a problem creating a drop down menu , which drops down the menu when a mouse hovers the panel.The panel is a Button.The Drop Down Menu is a MovieClip.I added an MouseEvent.MOUSE_OVER and MouseEvent.MOUSE_OUT for the panel(Button). And the EventListeners will do the animation of the drop down menu -- fade in and out using TweenLite.However, this cause a serious problem: since the MouseEventtargets the Button only, when I roll over The Drop Down Menu, it will perform MouseEvent.MOUSE_OUT since it roll out the Button!The only thing I can think of is using addchild() which add the Drop Down Menu to the Button so the hit area of the Button extends. But I cannot use addchild() method on a Button which don't have addchild().here's my code:

ActionScript Code:
package classes.Tween001
{

[code]......

View 1 Replies

ActionScript 2.0 :: Building A Menu Based On The Abount Of Images In An XML File?

Mar 10, 2005

I'm building a menu based on the abount of images in an XML file. I've already got the images to load individually sequecially but now I want a menu built by duplicate movieclip. I can duplicate a movie but I can't populate the textfield in the clip with a number. plus I don't know how I'm going to get it to load the individual image.

[Code]...

View 8 Replies

ActionScript 2.0 :: Write A Function That Will Build A Menu Based Upon The Vars?

Dec 14, 2006

Im trying to write a function that will build a menu based upon the vars that I passed it to. This is a simpler version on the code.(The library has a MC/Btn symbol with the linkage "btn");

Code:
function bulidMenu(nItems:Number) {
var menuMCx:Number = 100;
var menuMCy:Number = 100;

[code]...

Why do I get an output of 4 on every clicked button, instead of 0,1,2,3 ? I tryed forwarding the " i " to the onRelease = function(i) {} and then in it declaring a new var and assigning it the passed " i ", but that doesn't work either :/

View 4 Replies

ActionScript 2.0 :: Develop Text Based Menu Tree With Tabs Using Rollovers?

May 22, 2010

I have use flash sparingly in the past. I am well versed in computers, but we can flash, very weak. Let's say this I do know how to get into Flash. This is the address for what I'm trying to accomplish. You can see the navigation in the upper left corner [URL].

I am trying to develop a menu tree that has these basic functions:
1. No heavy graphics - basically the information is more textbased.
2. The menu tree works within two tabs.
3. The menu tree using rollovers.
a. The rollovers display a graphic image or text in a "TV" box, display, underneath the actual menu tree.

"Master Swap Action" - there is also a horizontal tab selection available. The master display, largest display area, is changed based on the "Master Swap Action". Also, the menu tree is swapped out. The two areas that are swapped out correspondent to the tab's that were selected. Here is a small sample of how we control the Menu currently. It uses a language called iMint.
[Code] .....

View 1 Replies

ActionScript 3.0 :: Creating A Color Changing, Number-based Navigation Menu?

Apr 22, 2009

In a nutshell, the swf contains four ads (which link to portions of the site) and each ad uses the Timer element, displaying it for 5 seconds before moving on to the next one. Everything has come together nicely (although I'd like to clean up the code and use classes at a later date - I'm currently taking AS training from Lynda.com).
 
What's giving me trouble right now is the navigation bar. What I want to do is create four numerical buttons that a) change color during a mouse roll over b) change color for a corresponding ad (for example, when the third ad displays, the number "3" changes from white to gray to show that it is active and goes back to white when the fourth ad comes up).
 
Right now, I'm at a loss as to what to do. I've tried making the numbers buttons, but I can't control color changes unless I create two sets of buttons: one with white numbers, one with gray numbers.This also makes for some really bizarre Actionscript coding ideas (ex: after I code the function for the gray nav buttons, I have to code functions that make the white buttons work - but this ends up screwing with the ad cycles). I tried making them as movie clips, but I lose the ability to assign a large hit area like I can with buttons.

View 5 Replies

ActionScript 2.0 :: Expanding / Collapsing Menu - Should Have Remember The Last Visit Menu And Show The Menu

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

Flash :: Professional - Add New Menu In Menubar And New Menu Item Inside The Help Menu

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

ActionScript 3.0 :: When Click In On Menu The Actual Menu Does An Alpha To 0 And The Next Menu Appears?

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

Flash :: Web Based Visual Programming Interface Based On Python For Data Visualization

Nov 4, 2011

I just discovered impure.com and was very impressed by what can be achieved in terms of visualizing data using their workspace. Although the platform is free to use, but not open source yet. This causes a few problems because the API section works with .com sites for eg. for ebay, so I cannot visualize ebay listings for regional sites such as ebay.in because the link to ebay.com is hardcoded.I searched around, but didn't find other projects that offer a similar way to work with site APIs and other data sources with the kind of user interface and detail that impure.com does in a realtime way within a browser window.This brings me to the questions:

-What technologies would be involved in creating a similar kind of project

-What are the open source tools that can help develop a fullscreen UI to render the workspace. Are there any alternatives to flash for this, and how do they compare

The goal would be to use standard python data structures, python scripts to do some processing on these data structures, scripts to gather data from csv, json and API sources such as google yahoo, wikipedia and flickr, and scripts to render graphs, tag clouds, network visualizations etc. Then bring them all together into a visual interface that supports drag drop and simple type checking.How would the python backend integrate with the UI.

View 1 Replies

ActionScript 3.0 :: Tile Based Game - Creating Multiple Sprites Based On Frames

Nov 17, 2009

I'm relatively new to AS3. There's one thing that I don't quite understand about Sprites. I'm making a tile based game, and all the tile graphics for a level are inside one movie clip in each frame. Would I be able to go about creating multiple sprites based on the frames in said movieclip's timeline I would I have to go through and make a separate library graphic for each.

View 2 Replies

Flash :: Event Based Based Video Player?

Jul 15, 2010

I need a flash based video player that is able to trigger events I can listen to via JavaScript. The events I need to listen to are:

The play button is pressed The pause button is pressed The video stops (is finished)

View 1 Replies

ActionScript 2.0 :: Tut Kirupa Or Other On Controlling One Swf From Another

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

ActionScript 2.0 :: Menu Item 11 Later Menu 12 Menu 13 In Bottom?

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

ActionScript 3.0 :: Using Kirupa Xml Slideshow Code?

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

ActionScript 2.0 :: Kirupa Thumbnail Gallery?

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

IDE :: Kirupa Xml Flash Photo Gallery

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

ActionScript 2.0 :: EF EX On Kirupa Home Page?

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

ActionScript 2.0 :: Modifying A Kirupa Tutorial

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

ActionScript 2.0 :: Kirupa's PHP Socket Tutorial?

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

ActionScript 2.0 :: Using Preloader With Percentage From The Kirupa Tut?

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

ActionScript 2.0 :: Kirupa'a Adding Thumbnails?

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

ActionScript 2.0 :: Modifying PhotoGallery From Kirupa?

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

ActionScript 2.0 :: Kirupa XML Gallery With Thumbnails?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved