ActionScript 2.0 :: Menu With Categories From External File
Oct 14, 2004
are there any good examples on how to create a menu which gets the menu points from an external source? i'm not a native english speaker - hope you understand what i mean.
View 1 Replies
Similar Posts:
Oct 14, 2004
are there any good examples on how to create a menu which gets the menu points from an external source? i'm not a native english speaker - hope you understand what i mean.preferably with submenu points... (drop down or hierarchial)
View 1 Replies
Sep 9, 2010
I'm trying to populate a sub menu with categories from an xml file. There are many items each with different categories but some with the same, what im trying to do is get all the categories in the menu but not duplicate them.
View 1 Replies
Feb 18, 2009
I have xml video player. In the xml playlists i can different categories. Which video category i want to play i chose that from the drop down menu. Is there a way to somehow get the code so instead of dropdown menu in playlist for the playlist categories i would like to have two separate buttons for categories insted of drop down menu?
View 1 Replies
Feb 3, 2006
I would like to create a dynamic menu in flash importing the text from an external file. I downloaded an fla from actionscript.org which makes the dynamic menu part (attached the fla & txt) and created a txt file. This is the point where I' m lost: How can I import the text for the menu from that txt file and store it in variable(s) than build the menu.
View 1 Replies
May 10, 2010
I am trying to load a menu as an external file .... and getting this :
TypeError: Error #1009: Cannot access a property or method of a null object reference. at com::menu()
Here is my code:
if(!menuLoader){
var menuRequest:URLRequest = new URLRequest("menu.swf");
var menuLoader:Loader = new Loader();
menuLoader.load(menuRequest); container.addChild(menuLoader);
menuLoader.x = 700; menuLoader.y = 50;
}
View 9 Replies
May 18, 2005
I have been working on a Flash movie that loads variable data from an external XML file and dynamically displays the item names in a menu which may then be clicked to display other dynamically-loaded content that corresponds to the menu item that was clicked. I have now come to a standstill in the project as there is something I'd like to achieve but simply cannot work out how. This is my first attempt at working with XML in Flash and one of my early attempts at using variables. What I'm trying to achieve is; once the user has viewed the item's content, they can simply click "next" and "previous" buttons to display all of the content for the next or previous items in the XML document.
I know it probably sounds simple and I'm sure some of you could achieve this in 5 minutes (!) but I can't get my head around some of the coding. I assume previousSibling and nextSibling would come into play here as well as some sort of functions which access arrays of data for the previous and next items, but I'm just not sure how to correctly put these things to use. Rather than post my code and example images of the stage up here on the forums, I've created an html page here: [URL]
View 2 Replies
Aug 15, 2011
how to create categories that can be updated via xml in flash? Categories can be shown in ComboBoxes..
View 1 Replies
Mar 7, 2007
i'm trying to sort out some xml entries based on an attribute when you click a button. an example of my xml is below.
Code:
<list>
<entries cat="all">
[code].....
View 14 Replies
Mar 14, 2003
I was wondering if there is a way to jump to a specific frame name when loading a new .swf file? For example, I have my Main.swf which holds the navigation. Then I created 5 other .swfs to hold the content.Depending what button is pushed, I will load the correct movie into a placeholder MC on the main screen.However, I want to jump to a specific point within the new movie, can I do that? I am loading by levels in which I am using the level 0 each time so the new page takes over and the previous page is not transparent seeing through. So, on the buttons, I am using the basic:
on (release) {
loadMovieNum ("content1.swf", 0);
}[code]....
I tried that, but could not get it to work. Also, since I am loading by level, does that sort of over ride my loading into placehold or what is the major difference?
View 3 Replies
Aug 2, 2009
i have a main.swf and i load menu.swf into main
[Code]...
this works right on its own but when using addchild in main.swf the menu loads the button events work, even click but it will not load the associated file. If i place the menu code in the main.swf it loads all required files. QUESTION How do reference menu.swf when loaded as an external swf?
View 2 Replies
Jan 21, 2010
I found a multiple drag to a single drop example here on the forums that works wonderful for the dragging and dropping part of my project. I am now trying to add in a sort of category detection. I have 45 movieclips located on the stage. They get set up with a loop, giving them a drag/drop functionality. The movieclips belong to one of 7 categories. The user can drag only 5 movieclips to a designated area. Once the 5 have been selected, I need to then figure out which category had the most selected. What would be the best way to set this up? Here is what I'm working with so far
PHP Code:
#include "mc_tween2.as"
stop();
[code].....
View 2 Replies
Sep 4, 2008
I have a cfc that returns categories from the database. Is there a way to dynamically create buttons for all the categories?
View 1 Replies
Mar 14, 2011
I am trying but I want to create Flash & XML Photo Gallery with Different Categories.
View 1 Replies
Dec 12, 2011
I am a designer trying to modify some ActionScript for a web project. When defining the variables, I would like for some of them to have multiple parameters/categories[code]...
View 2 Replies
Jan 13, 2011
I still have problem understanding how the collision category works. I'm only able to make it work by experimenting which is not good.
[Code]...
this works the way I wanted but only because I experimented around and found the right values (or at least values that work). I would prefer to know how the whole system works
View 6 Replies
Feb 22, 2005
I have created an xml navigation and there are some differen categories in it.But now I want that the button will have a color that is his categorie.I used this code:
Code:
if( menuItem[i].attributes.cat == "Vector work"){
var myColor:Color = new Color();
this.myColor.setRGB(0xff0000);
}
But that won't do nothing.
[Code]...
View 1 Replies
Feb 22, 2005
I have created an xml navigation and there are some differen categories in it. But now I want that the button will have a color that is his categorie. I used this code:
[Code]...
View 1 Replies
Sep 22, 2010
I have an xml that's looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<pics><category name="categoria1">
<image NAME="1" PATH="images/1.jpg" DESCRIPTION="SALAM"/>
<image NAME="2" PATH="images/2.jpg" DESCRIPTION="SALAM2"/>
<image NAME="9" PATH="images/3.jpg" DESCRIPTION="SALAM3"/>
[Code] .....
As you can see i have categories and inside the categories I have the pictures. What I want to do is every category to be displayed with a lower y position than the previous category. And in every category the picture to be arrange in the way presented in the picture below (x position for images = 0, the picture is just to make an idea).[URL]
My as3 code looks like this:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var _total:int = 0;
var _categories:XMLList = null;
var _subCategories:XMLList = null;
[Code] .....
View 1 Replies
Apr 7, 2009
I've been working on Todd's Image grid viewer that can be seen here viewtopic.php?f=9&t=16158&p=82039
I wanted to add some category buttons so far its going well with the new xml.
Only I can't figure out the switch between the category button.
When i click on cat 1 Btn everything loads fine then when i click on cat btn 2 instead of reloading and "throwing" cat1 content away cat 2 content loads behind cat1 content...I hope that made sense.....
I have added the files, it's basically the same just a different XML and some tweaking on the XML load function. I didn't add the images since the file was to big, you can get the images from Todd's post. viewtopic.php?f=9&t=16158&p=82039
View 2 Replies
Aug 13, 2009
I'm trying to make a slideshow holding 3 images with 3 different categories. The images is loaded through an XML-file.
My xml looks like this: (the number after IMAGE[] indicates the category)
Code:
<?xml version="1.0" encoding="utf-8"?>
<SLIDESHOW SPEED="2">
<IMAGE1 URL="images/1.jpg"/>
<IMAGE1 URL="images/2.jpg"/>
[Code]....
View 8 Replies
May 25, 2007
[URL]
Basically i want to have Album categories the same way the thumbnails work so their is a mask limiting 4 categories on screen and when you click < or > arrows next to the categories it shows the next 4 categories that you would be able to choose from.
Then I would want it to load whatever category you selected into the thumbnails and the larger pic.
Does anyone know how to do this ? Or if their is another tutorial that would show me how to add categories into something like a gallery with thumbnails?
Apologies for being stupid and the poor grammar I've been searching everywhere to find out how i can add in some categories and still have it linked to the thumbnail scroller and larger images, but i haven't found any luck at all I just want it so you could add in as many thumbs and categories as you wanted and have those masked and scrollable rather then a dropdown.
I paid for some silly pdfs to explain it better to me but they did it in a way that I didn't like and turned out just to be a waste of money. Learnt my lesson and signed up here to ask the pros! I want to create something that can be updated from just an xml file.
View 4 Replies
May 22, 2010
Is it possible to publish my .fla file to .exe without the File menu and the default Flash icon and Flash tile appearing.
View 1 Replies
Sep 12, 2009
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 Replies
Jul 25, 2011
i have contact form which is full working in xml files and i set it as external swf to my flash site
so all is working fine except the drop down menu which is not filling the box
View 5 Replies
Nov 9, 2005
How can I replace text loaded from an external file with text from another external file? Using setInterval and calling the .load from a function or something? In the example below I'm calling an external text file, could this also work with an .xml file with cycling through the children?
[Code]...
View 2 Replies
Feb 28, 2003
how to load external menu into main.swf . do i have to create 2 different empty MC's
View 2 Replies
Oct 9, 2004
I'm constructing a site for a friend and had already completed a basic button menu and used you transitions tutorial to get it to work. its works great and thank you!!
I, however, am always ambitious and decided to try doing the same thing with an XML menu.
here's what they look like:
[URL]
View 4 Replies
Jul 24, 2011
I have contact form which is full working in xml files and I set it as external swf to my flash site so all is working fine except the drop down menu which is not filling the box.
View 1 Replies
Mar 8, 2009
i have this menu, that has the general actionscripting on the button, but the characteristics are in the xml file... color, and file name..
in the main movie, the button's actionscript i have:
ActionScript Code:
// On press goes to the link setted in the xml
area.onPress=function(){
[Code]....
what do i do to unload the movies each time another is loaded?
View 1 Replies