ActionScript 3.0 :: Dropdown Menu - Current XML Node?

Mar 18, 2009

I have a XML file:
<Books><Book>
<label>Demolehti</label>
<data>Lehti2.swf</data>
<nextfile>Lehti1.swf</nextfile>
</Book><Book>
[Code] .....

So, I load it into dropdown menu, label is what user sees in dropdown, data is url to swf and nextfile is url of the next swf on the list. Now if user has loaded, let's say swf number 3, Community News (lehti3.swf). Is there a way to get a content of nextfile-node of this current Book only....If I trace myXML.Book.nextfile, I get a result:
<nextfile>Lehti1.swf</nextfile>
<nextfile>Lehti3.swf</nextfile>
<nextfile>Newsletter.swf</nextfile>
<nextfile>Lehti2.swf</nextfile>

When I would like to get result
<nextfile>Newsletter.swf</nextfile>
I tried to trace current.myXML.Book.nextfile but of course it didn't work...

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Buttons And Dropdown Menu - Roll Be Able To Select Anything From The Dropdown Menu?

May 7, 2009

I'm creating a webpage, and I have made some buttons.Image 1 is the homepage, which is frame 1 in Flash.Image 2 shows that when I rollover the button "Portfolio,"I get a dropdown menu.I have this set as frame 3 in Flash.Image 3 shows that I've gone down the dropdown menu and rolled over "Photography." But if I rollout of any of the things from the dropdown menu, it stays at Image 2 (Frame 3)with the dropdown menu visible. Which is a problem...I want to be able to rollout of these buttons to revert back to the homepage, Image 1 (Frame 1).But, for instance, telling "Graphic Design" to go to Frame 1 on rollout means that if I try to go below "Graphic Design" to "Photography," I've rolled out--and so the rest of the menu disappears.So I want to roll be able to select anything from the dropdown menu, and only rollout to Frame 1 if I go outside the entire dropdown menu, not just one button.

Attachments:
3.jpg
(134.5 K)

View 5 Replies

ActionScript 2.0 :: Menu Navigation System - Dropdown Appears And Returns When The Dropdown Returns

Jul 15, 2004

I'm having with a menu navigation system. I'm using Flash MX. I have created a menu system for the site I'm building ([URL]) where one of the buttons "Choose photographer" drops down a list of names. All the other buttons just jump to another page. The drop down is currently using tweens also the logo moves to the left as the dropdown appears and returns when the dropdown returns. All working fine apart from its a bit jerky.

It's I just wanted to get away from tweening and use action scripts instead, as I'm a newbie to all things Flash I trawled the net for tutorials and examples so that I could cobble together the exact same effect. I have managed to get the drop down work and return using the action script and it does seem smoother and works slightly better. But can I get the logo to move to the left and back in time with the drop down...no.

View 1 Replies

ActionScript 2.0 :: Way To Disable The Flash Player Dropdown Menu (not The Context Menu)?

Jan 12, 2006

I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.

View 2 Replies

ActionScript 3.0 :: XML And Current Node, Not Total Nodes?

Jul 14, 2010

I want flash to return all the attributes from each node, including the node number. EG: trace(xmlObj.firstChild.childNodes.currentNode);Chicago would be 0 and new York XML:

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>

[code].......

View 1 Replies

Flex :: Bind Xml Node Value To Dropdown Data Field In Flex?

Nov 2, 2010

I have an XML object like this[code]...

but how to add the id attribute as the 'data' field of the dropdown so when an item is selected, it returns that field?

View 1 Replies

ActionScript 2.0 :: 2 Dropdown Menu Xml?

Aug 28, 2010

i need loadMovie! url :S

ActionScript Code:
stop();
//embedding font and importing easing.

[code]....

View 1 Replies

ActionScript 2.0 :: DropDown Menu Without Xml?

Jul 13, 2004

i'm trying to make a dropdown menu like Senocular's menu but without xml and horizontal one.... i attached an example i think i found it here in Kirupa...i want to do it but the problem is i need to give each bar deffernet color and when click it appears with it's color until click another one.....

is it possible to do it with frames not in AS methods..

View 1 Replies

Dropdown Menu Goes Under Flash File

May 12, 2009

I have a css drop down menu on the header portion of my website and the flash movie plays on the center of the site. The problem is, when the drop down menu is clicked it goes under the flash movie so that people can't see what is on the menu. Not sure if this is something that can be adjusted on the parameters of the movie or not?

My current parameters are:
<div style="text-align: center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]" width="640" height="342" id="main_page" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
[Code] .....

View 6 Replies

Professional :: Flash Dropdown Menu?

Apr 21, 2010

I was looking for some information before proceeding with the work, I was looking to create a navigation bar in Flash with drop down menus coming form some of the links.  Now will this require the visitor to have JavaScript enabled, I'm just a little cautious as I want the links in the drop down to be available to everyone, and if they do need Javascript enabled how do i get round this.....

View 3 Replies

Asp.net :: Dropdown Menu Appearing Behind SWF File

Nov 21, 2010

I have a drop down menu and a swf file on an asp.net page. When the menu drops down it is behind the swf file when it should appear in front.

View 1 Replies

ActionScript 3.0 :: Coding On Dropdown Menu?

Jan 18, 2009

First, an explanation to what I am doing. I am currently building a Flash movie to go onto a CD. It will be self contained so that the audio files are not exposed for easy bit torrent sharing, and is pretty working really well until this point. have build a custom dropdown menu which is functioning (when you click on the button, the dropdown animates and brings up the new options to select from), however...I cannot seem to get the coding correct on them. I have scripted them so that if you was to click another link or dropdown, that the previous link would be closed. But the buttons within the dropdown will do nothing but look pretty, for a lack of better terms.

The downdown menus are within a movie clip for the Nav Bar, separate layers from the other buttons of course.Yet when I source the scripting to go to those buttons to call the EventListener...nothing happens. Am I doing something wrong? If needed,I can make a "random" version of the layout.Demo song buttons will link to an audio page on Scene 1, but at different frames. Multimedia will also have two separate frames which hold two separate functions. I already know how to make the direct buttons (credits and the B-Side) work correctly, but the dropdown buttons will not function for me.

View 9 Replies

ActionScript 2.0 :: Dropdown Menu Does NOT Drop Down?

Dec 27, 2009

I just created a simple Mailform with drop down fields. I used AS 2.0 to fill in the information in the boxes. And it does work, when I execute it local on my machine.ut as soon as I upload all the files on my Webspace and click on the Mailform, it doesn't open up the drop down boxes. You can see, that there is data in it, but you can't click on the downarrow to choose between other data. As I told, it works fine on local, but not Webspace.Here is the Code:

ActionScript Code:
stop();
var senderLoad:LoadVars = new LoadVars();

[code]....

View 0 Replies

ActionScript 2.0 :: Help With Sofisticated Dropdown Menu

Jun 12, 2007

I tried to make one of those dropdown menus where you have the rest of the menu move down if you open a dropdown. Kinda hard to explain with words :/. I cant find an example either.I quickly found out that I wouldn't be able to do this with AS tweens though hehe. Heres what I came up with: http://hundsteg.se/Erik/menutesting.swf

if you press "meny2" you will see what I'm trying to achieve. If you press "meny1" the "meny3" will stay still though. Can't work that out with just tweens.how to do this? Or have a tutorial or something?

View 1 Replies

ActionScript 2.0 :: Getting The Horizontal Dropdown Menu?

May 6, 2009

I just spent too much time perfecting a CSS/JS dropdown menu that I am going to have to port to Flash. I only need one of my buttons to dropdown. Nothing fancy because I am emulating the CSS menu. I've been searching Kirupa but have not found anything that meets my needs of AS2, and rollover expands dropdown.

View 1 Replies

IDE :: Flash Dropdown Menu Bar (Over Items)

Dec 12, 2009

I've been trying to create a menu bar like this [URL] but the menu bar I create doesn't come over the items on the website. How to create those type of menu bar.

View 2 Replies

IDE :: External SWF - Dropdown Menu Not Filling Box

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

ActionScript 2.0 :: DropDown Menu Without Xml And Horizontal One

Jul 13, 2004

i'm trying to make a dropdown menu like Senocular's menu but without xml and horizontal one.... i attached an example i think i found it here in Kirupa... i want to do it but the problem is i need to give each bar deffernet color and when click it appears with it's color until click another one..... is it possible to do it with frames not in AS methods....

View 1 Replies

ActionScript 2.0 :: Flash8 Dropdown Menu Not Working?

Oct 6, 2009

I'm having an issue with my dropdown menu, and I know how It's not working, but not why. See, I have an mc in my menu that I have a rollOver and rollOut function on. This makes it swap between frame 1 and 2 (2 beeing the frame with dropdown). Here's the issue: When I have the rollOver/Out function on the main item, the submenu items don't do anything when clicked. But when I remove the rollOver/Out function and just go directly to frame to from start, they work.

View 1 Replies

ActionScript 3.0 :: Dropdown Menu Buttons Appear But Not Active

Mar 3, 2010

I'm currently working on an AS3 scripted drop down menu and for the most part it works exactly like I had envisioned with one small hiccup. The issue I have is if you accidentally navigate away from a button that creates one of my drop downs before the script has finished running the other drop down buttons will drop down but not be active until you go back to the original button and finish the script. What I believe will fix the problem is to disable the other main menu buttons until the script has finished. I could just disable at the beginning of the script and enable at the end but there are 5 flyouts and 9 buttons on the main menu. This would add up to a ton of extra code. So how could I create a block of code that disables the buttons and another block that will enable them at the end of the script but be able to call them in each script?
And here is my site that I'm currently working on. [URL]

View 1 Replies

ActionScript 3.0 :: Certain Items Dropdown When Hover Over Menu Bar

May 10, 2010

Building a website for myself and I know a bit of flash but not much. Mostly following tutorials and adapting for my own purposes. Anyway I am building a menu bar, which when you hover over certain items drops down a submenu. I can get the submenu to drop down ok but I cant figure out how to get it to link (jump) to a new frame/scene. I think problem is in function showSubMenu? Flash CS4, AS3

Code:
// SETTINGS
// Make submenu buttons hidden
btn_Set.btn_Set1.visible = false;
btn_Set.btn_Set2.visible = false;
// Add event listeners for main button
[Code] .....

View 3 Replies

ActionScript 3.0 :: MovieClip - Using Two Dropdown Menu In Same Form

Jul 17, 2011

I've built a dropdown menu movieclip that I need to use in a contact form- or more specifically, I need 2 dropdowns with different options in them in the same form. My problem is that when I change the properties in one instance of the dropdown_mc, it changes the properties in the other as well. The two clips have different instance names, and I've been changing labels of the list items by clicking through to the actionscript imbedded in each dropdown (not through the dropdown_mc in the library).

View 1 Replies

ActionScript 1/2 :: Dropdown Menu And Motion Tweens

Apr 18, 2009

I'm making a dropdown menu (first time) and the motion tweens are... well they're being weird. There is not arrow on the frames where the motion tween is. And the drop down menu is not appearing... However, there is definitely a motion tween on those frames, but no motion is occurring...

View 5 Replies

Professional :: Menu Dropdown And Frequently Get Hang Up

Feb 14, 2010

In the attached file, for some reason, when the menus drop down, they frequently get hung up. (stay down, slow to move back up into the hidden position, etc.)
Attachments: Main_Working_Current.zip (223.9 K)

View 3 Replies

ActionScript 3.0 :: NavigateToUrl Not Functional In Dropdown Menu

Apr 29, 2010

I have created a drop down menu all as one movieclip. I have placed for the variable, event listener within my scripts layer in this movieclip as it should be, no errors. It works fine if I attempt to navigate from my main navigation buttons (ones that can be rolled over and clicked on (when rolling over them, it also unmasks a menu of submenu buttons. However, my issue is that if i attempt to change this navigation code to the submenu button, it no longer performs as it should (again, no errors). The only difference is that my submenu buttons are on a layer underneath the main buttons within this same movieclip, and they are masked by a shape for the rollover event.

[Code]....

if i change the home_btn back to site_btn (a submenu button), it no longer functions, but works properly when assigned to home_btn.

View 3 Replies

Professional :: Add A Dropdown Menu In Flash Document (.swf, .fla)?

Mar 16, 2012

As i am developing a website for my semester project, i need to add some flash contetn in the website.here is the link, [URL]...

View 3 Replies

Html :: Dropdown Menu Behind Flash Object?

Apr 15, 2010

I have a html/css based menu and I'm trying to put a flash video in the banner right under it, but when I hover the dropdown section of the menu it ends up behind it.Is this a z-index problem or do I need to set certain properties on the flash video?

View 1 Replies

Dropdown Menu Size Nested In Table

Oct 24, 2007

I just created my first flash drop down menu guided from various tutorials online. Looks great and works fine when viewing it alone. However, now I place it with the rest of my site, nested in a table, only the top menu show and the drop downs don't show. It'll only show if I make the size of the flash document large enough to cover the entire menu with the drop down. The drop down will also be dropping over other html content on a table below.

View 1 Replies

ActionScript 3.0 :: Created A Dropdown Menu Using Flash CS4

May 26, 2010

I Created a Dropdown Menu using Flash CS4, AS3, and i want to Link and load external swf files. But only First Column of dropdown menu and About_Us Buttons are working rest of sub menu buttons are not.

View 0 Replies

ActionScript 3.0 :: Dropdown Menu - Function Within IF Statement?

Sep 22, 2010

I am trying to make a dropdown menu where the user hovers over a bar it gets larger with more links then when they roll off it disappears. I am struggling to get my links to only appear when the menu is extended.. atm they show all the time. I thought it might be possible to have the btn function inside of the mouse event but it doesn't work.

Code:
import com.greensock.*;
import com.greensock.easing.*;
var emptyMc:MovieClip = new MovieClip();
function mouseMove(event:MouseEvent){
if(mc.hitTestPoint(mouseX, mouseY, true))
[Code] .....

I also would like to call an array at some point to go to the dynamic text field for my links.

View 0 Replies







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