Menu And Frames
I am using an infinite menu of photos. When I import the flash to the frame where it will run and then preview it, the buttons don't work. They work when I preview directly from flash though. Also how do I get it to open in the frame. If I target the frame name in the actions, it opens it in a new document. Thanks in advance!
KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 09-11-2003, 02:30 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Frames Outside Of Menu Help.
I just made a flash script that has a draggable menu in it.
I put some buttons on it and I was wondering how to make the button action affect the outside scene.
I tried _root.GoToandStop("Scene 3", #frame), but that didn't work.
then i just tried the simple gotoandplay function but none of it works.
Can anybody help?
Frames Outside Menu Help
I just made a flash script that has a draggable menu in it.
I put some buttons on it and I was wondering how to make the button action affect the outside scene.
I tried _root.GoToandStop("Scene 3", #frame), but that didn't work.
then i just tried the simple gotoandplay function but none of it works.
Can anybody help?
This Menu With Frames? Or?
Hello,
I want to know how this sort of menu navigation is accomplished, whether it's setup in frames or not and how to communicate between the flash menu and the html? The site is http://www.pjharvey.net
How do I get the flash menu to change the html page below it? And vice versa, the html to change the flash menu?
I obviously have not much of an idea on this one but if someone could describe the process I will be extremely greatful
Also how do they make the menu selection text to scale up when you mouse over and scale down when you mouse out? it seems to scale to boundaries or something?
thanks
Help With Menu And Frames
I'm having problems with my menu
Nav Bar
Clicking on the rebuild bit loads a scroller then you should be able to scroll each text bit and select it and it will load in a frame below(so i dont have to keep loading the menu)
Can anyone tell me were im going wrong? (I have attached the file) I understand most of flash i just would like a few pointers
Also im am having problems loading the page in the frame below i've tried the tut on this but it just doesn't seeem to work for loading the frame below.
Many thanks
Nick
Frames Out Side Menu Help.
I just made a flash script that has a draggable menu in it.
I put some buttons on it and I was wondering how to make the button action affect the outside scene.
I tried _root.GoToandStop("Scene 3", #frame), but that didn't work.
then i just tried the simple gotoandplay function but none of it works.
Can anybody help?
Menu Targeting Other Frames
Having a strange problem with a flash menu, the buttons of which target the "main" frame in my page. I believed i had set this up correctly with the 'window' parameter set to "main" but.....
The strange problem I'm having is that it does not appear to be working on every computer that I have tested it on. On some it acts appropriately - the new page appears in the "main" frame. On others the entire window is replaced with the new page, and all the frames are gone (resulting in me having to hit the 'back' button to return to the initial page with frames and menu.
Any thoughts to this wierd scenario?
(The webiste itself was created with Frontpage.)
Many thanks.
Menu With Frames And GotoAndStop()
Hi,
My menu is set on 5 frames and I'm trying to move around menu using onRelease and gotoAndStop(). It's working, but only in one direction (Ican move from menu item1 to menu item5), but I can't go back to menu item4 or 3 and so on.
SWF file is here.
Can someone take a look at the .fla file to tell what I'm doing wrong?
FLA file is here.
Thanks in advance!
Lab.
Show Menu In 2 Frames
Hi, hope anyone could help me, i've created a flash menu, and the problem is that when i insert it in my page, i insert it in a frame but when i rollover the menu options the frame below is in front of the submenu options and i can't see the submenu, so, does anyone knows how to display the menu in 2 frames???? thanks.
Html Frames FLASH Nav Menu
ok i hjave a flash menu in one frame...(not a flash frame....a HTML frame) it need it to open in another frame which is called rightframe.....it wont let me do that...it keeps opening in the same frame, and not the one i want it to....please help thanks!
Flash Menu In Frames Website
I have a website I am working on that is going to be created using frames. I created a flash menu that I want to use.
How do I tell the button to open the page in the main window of the frames page?
I know in html I just tell it to target="main".
Is there a way of accomplishing this in Flash to get the menu buttons to work properly?
Thanks
Flash Menu And Frames In Browser
ok, I cant seem to get my flash menu to work properly when i have frames set up in my browser. this is the site - http://www.geocities.com/irrational_impulses_01 - as you can see, my menu is at the bottom (not the flash 1). When I put my flash menu in and setup the links, it opens the frame (index, news, ect.) in full screen rather than opening in the selected area. I heard that there may be a way to fix this with javascript but im not sure. If anyone could help me, i would be very greatful.
Thanks,
Pete
Flash Menu And Frames In Browser
ok, I cant seem to get my flash menu to work properly when i have frames set up in my browser. this is the site - http://www.geocities.com/irrational_impulses_01 - as you can see, my menu is at the bottom (not the flash 1). When I put my flash menu in and setup the links, it opens the frame (index, news, ect.) in full screen rather than opening in the selected area. I heard that there may be a way to fix this with javascript but im not sure. If anyone could help me, i would be very greatful.
Thanks,
Pete
Flash Menu's W/html Frames
On my website I have 3 frames. On the top frame is my title/logo, on the left frame in my navigation, which is done in flash, and a main frame which is html. How do I get my nav buttons to control my main frame and open different html pages within my main frame?
A Flash Menu, In A Frames Page.....
I have a menu [created using Flash 5] in the top frame [menu.htm] of a two frame page. I used getURL to setup the link, but am unsure of of which 'Window' setting to use.
_self causes the desired link to open in the same frame as the menu. Seeing as how I want the menu frame to contain only the menu, and the lower frame to contain the content, this is a problem.
_blank causes it to open in a new window.
_parent opens the link by itself, without frames, so the menu is gone.
_top is said n the help file to specify the top frame in the current window, and the menu frame is the top frame.
So please, how would I go about having the link specified in the menu [which is in the menu frame], open in the frame undernieth [main.htm] the menu frame? [menu.htm]
Thanks.
Trying To Use Flash Menu In HTML Frames
I've built myself a very basic 4 button "menu" movie designed to be used as a sidebar on a frames based website. two frames, very basic layout, one smaller left frame with the menu movie and a main frame to the right. Menu frame is called "menuFrame" and the main frame is "mainFrame" fittingly enough. I'm sure there's an easy explanation for this, but I'm a bit of a newbie to flash sites. How do I use the buttons in my flash movie to control the page that loads in my mainFrame? Thanks ahead for any help
Flash Menu In Html Frames?
ok so heres my problem...
i want to have my site have frames and i want to have a menu that is entirely flash but i dont want it to reload evertime a person switchs pages (hence the reason for frames). the problem is, i cant figure out how to get the buttons in "frame A" to open the url that they are linked to in "frame B"
if you go here im sure you will understand what i mean...
http://www.freewebs.com/akamattman/htmlmain/main.html
if anyone can help me with this i would really really really appreaciate it!
email me anytime at akamattman@hotmail.com or AIM- tendentiousmatt
thanks again
matt
ps-sry for the spelling errors -lol
Flash Menu And Frames Problem :(
for a school asignment i built a simpel website in html. standard frames: one top (banner) left (menu), right )content. i've also made a simpel flash menu. the problem is: when i click a link in the flash menu it won't open in the main-window (what i want). with actionscript i tried _self _parent etc. even changed the html codes but the only good result that i get, is that it opens in a new window, not what i want. here is the code from the index.html (very basic):
<html>
<head>
<title>Economie PO 2004</title>
</head>
<FRAMESET ROWS="100,*" BORDER=0>
<FRAME SRC="banner.html" NORESIZE=NO BORDER=0>
<FRAMESET COLS="140,*">
<FRAME SRC="directry.html" NORESIZE=NO SCROLLING=NO>
<FRAME SRC="home.html" NAME="MAIN-WINDOW">
</FRAMESET>
</FRAMESET>
</html>
flash code (verrrrry basic lol):
on (press) {
getURL("samnevatting.html","tried it al in here");
}
so..can somebody help me plz. thanx
Flash Menu With Html Frames
I'm trying to use a flash menu in an html site. The flash movie is in a frame on the left side. When I click the buttons, I'd like them to perform an action - "Get URL" and open it in the right frame of the html document. I can only get it to open in the left frame. Is there a way to control which frame the url is opened in from the flash menu?
thanks for any help.
powersolo
Drop Down Menu That Overlap Frames
hi,
i'm having a problem with drop down menu 'cos i'm using frames.
my drop down menu got cut off by the frame that contains the main content. is there a drop down menu whereby it can overlap the other frame?
thanks.
Lawrence How
Css No Frames With Flash Menu Problem
Hello,
I am building a website with CSS Html-no frames.
I have a flash menu for navigation.
Problem is that flash menu reloads at every click and therefore
doesnt keep the right section highlited to show where you are.
How do I tell flash what frame to go to in order to have the right section
highlited?
I read stuff on forums about putting in the html at the end of
the param name and embed swf : ?item=1 ...but I dont understand clearly.
Would that call on my 1st frame?
what code does flash need to have?
Hope somebody understands what I am trying to say...
Thanxs.
Flash Menu / Html Frames
Hi
I am developing a web and for which I am using a frame [ content & banner ] from frontpage 2000.
> Flash menu page = "flashmenu.html" [shown on left pane of html frame]
HTML Page = "maincatg.html" [right side of html frame]
sub1 is bookmark & sub2 is bookmark on maincatg.html page.
> On left side of frame I have flash menu which has main & sub category for eg.
Main catg. 1 [ top level menu]
> Sub 1 [ bookmark item on right side of frame]
> Sub 2 [ bookmark item on right side of frame]
Main catg. 2 [ top level menu]
> Sub 3 [ bookmark item on right side of frame]
> Sub 4 [ bookmark item on right side of frame]
and so on.
> I have named left side pane as "left" , right side pane as "right" and top as "top".
> Now, my problem is how can open "maincat1.html" page on right side of HTML frame and HOW CAN I MOVE TO A BOOKMARK ON THE SAME PAGE WHEN USER CLICKS ON "SUB1" FLASH BUTTON.
help me out please.... Thanks in advance
Extra Frames In Sliding Menu
I put all the content together & somehow during that I extended the movie to 2 frames & now I cant get it to go back to one frame. Basically all the movie does is flash from one frame to the next. Kinda like a strobe light. ARGHHH!
What can I do? How do I make the movie go back to just one frame? Where I can't move the center frame beyond frame one?
Help please!
Thanks in advance!
Flash Menu / Html Frames
Hi
I am developing a web and for which I am using a frame [ content & banner ] from frontpage 2000.
> Flash menu page = "flashmenu.html" [shown on left pane of html frame]
HTML Page = "maincatg.html" [right side of html frame]
sub1 is bookmark & sub2 is bookmark on maincatg.html page.
> On left side of frame I have flash menu which has main & sub category for eg.
Main catg. 1 [ top level menu]
> Sub 1 [ bookmark item on right side of frame]
> Sub 2 [ bookmark item on right side of frame]
Main catg. 2 [ top level menu]
> Sub 3 [ bookmark item on right side of frame]
> Sub 4 [ bookmark item on right side of frame]
and so on.
> I have named left side pane as "left" , right side pane as "right" and top as "top".
> Now, my problem is how can open "maincat1.html" page on right side of HTML frame and HOW CAN I MOVE TO A BOOKMARK ON THE SAME PAGE WHEN USER CLICKS ON "SUB1" FLASH BUTTON.
help me out please.... Thanks in advance
Menu Not Displaying In HTML Frames
I am trying to have a drop down menu show up in my frames page. The menu drops down, but only in the top frame. The top frame isn't very big, so I would like the menu to open up over the bottom frame.
Is this possible?
Here is the example I am having problems with:
http://www.radikel.com/Flash/index.asp
Thanks
Kelly
Working With Swish Menu Buttons And Frames
I am trying to create a frontPage 2002 banner and content frames page with swish (swf) buttons as permanent menu in the left frame. The problem I am having is that I can not get the linked page to open in the main frame and there doesn't seem to be a way to control the web component in FP once it is placed.
Any help would be appreciated
Thanx
Flash Menu For A Frames Website, Targeting Help Plz
hi, im using frames in my website, i need to make the buttons in my menu to open the url in another frame,
}
on (release) {
getURL("home.html");
}
I tried...
}
on (release) {
getURL("home.html" target="center");
}
but it dont wanna know:-(
ive tried other combo's to but no luck.
PLEASE HELP!!!!
Fixed Menu/section (like Html Frames) ?
Hi,
I've got an extendable flash menu/navigation with actions that load external movies in movieholders and placed benead the menu. Because the movie is 860 px in height and users with screen res lower than 1280x1024 have to scroll, I want the menu (which is located at the top of the movie) to be fixed and the loaded external movie to scroll under. Like in html, when you use a frame (row at the top) for your menu/navigation.
Can this be done in MX? Yes? How?
Cheers
Dynamic Flash Menu In Html Frames
I have a dynamic menu in one frameset and would like to open another HTML page in a different window of the frameset. the link stems from a dynamic menu. in one of the lines below for the URL i can add a regular link, but i can't figure out how to get it to target the frame window i need. any help or suggestions would be appreciated. if someone needs the whole file let me know.
// ::::::::::::::::::::::::::::::::::::::::::::::::
LabelRub2 = "VISION";
TotalSousRub_Rub2 = "4";
LabelRub2_subrub1 = "passion";
URLrub2_subrub1 = onPress.sgetURL("Location.html", "content");
LabelRub2_subrub2 = "lead";
URLrub2_subrub2 = "";
LabelRub2_subrub3 = "niche";
LabelRub2_subrub4 = "arena";
URLrub2_subrub3 = "";
Navigation Menu In Frames That Remembers Which Page You're In
Hello guys (and ladies), my first post here, and I already have a question
I'm making a webpage with frames (basically, one top frame for the title, one left frame for the menu navbar, and the remaining space for the content).
Now, I'd like to make my navigation menu in Flash (some animated buttons). The menu appears in the left frame. Basically three state buttons (with an over state, and a clicked state). When I click on a button, the content in the main frame changes (the menu is the only flash element, the rest is basic HTML). I know already how to design the buttons, and found some references on how to make those buttons change the content in another frame.
My question now is, I'd like those buttons to remember in which page you are in the main frame. Kinda like having a fourth state. If for example I click the button to go to a photogallery page, I want it to change the content in the main frame into the gallery. And the "gallery" flash button remembers I still am in that gallery. If I try to click on the same button again, I'd want it to do something that makes clear that I already am looking at that content (like playing a sound saying "you are already there, dummy").
Kinda like the fourth state in the Dreamweaver navigation bar ("over while down").
Is there any human (not TOO difficult, it's supposed to be a school project that's not even about webdesign) way to make the menu check in some way it's already in the good place?
I'm using Flash MX.
I hope I stated my problem clear enough. Thanks in advance.
Mr Thy
Prob With Frames And Std Flash Menu Templates
Hi,
I've made a menu using the Flash Mx's standard built-in 'Menu_tabs' template. I adapted the XML file according my needs and the menu looks and behaves as I wish, except for one thing : The menu is intended to be used in an HTML page made of a frameset with two frames: The first frame containing the Flash Menu and the second frame (identified as main frame in dreamweaver) containing the pages called by the menu. The problem is the the 'Target' argument in the XML file doesn't work. I tried with '_main', 'main' and 'mainFrame' but each time, the target page is opened in a new browser window. I suppose I have to enter another value for the 'Target' parameter but I don't know which one.
Thanks in advance for helping me out of this.
Marc
Context Menu And Multiple (html) Frames...
When I use multiple frames in the html holding my application (to enable the back button) my context menus die.
When I run that .swf directly, outside of the html, it does not block my custom context menus, but of course the backbutton workaround forces a pop-up.
Has anybody run into this problem? I'm only concerned with ie6 and ie7 on PC's (if that becomes an issue).
Easy Problem Flash Menu In Html Frames
I have a really easy problem but I can’t get it to work!
I have frames in html page, one frame is called main and the odder one is called menu.
In menu frame I got the flash menu and I wont when you click on a link it should open the new page in main frame, but with the script I’m using now it opens the new page in a new window
The script I’m using in flash is this
on (release) {
getURL("page2.htm", "target=main");
}
[F8] Flash Menu Not Working Correctly With Html Frames
I built an html website with 3 frames. In the top frame I have a flash header and menu which calls different html pages into the main frame of the website.
The site works just how I want it on my testing server at
http://site-boutique.com/diane/index.html
You click "about us" on the menu, the about us page loads in the bottom frame. I'm using the following actionscript for the different buttons:
getURL("aboutus.html", "mainFrame", "POST");
So I just posted the exact same website live at it's new host http://sdcondosdowntownspecialists.com/
As you will see, if you click the "about us" button, a "Method Not Allowed" error screen populates the main frame instead of the "aboutus.html"
I talked with the hosting company and they said it was a scripting error though I don't know why it would work fine on one server and not the next.
If anyone has any suggestions to what might be the problem, I'd be greatly appreciative seeing this is a time-sensitive issue.
How To Get Sub-menu Buttons To Play Frames Back In The Main Movie?
I have a movie menu that has a few sub-buttons embedded in it and I added scripting that tells the buttons to go back and play labeled frames in the original movie, but it doesn't work. I have the right scene and frame label selected, but it just repeats the embeded button animation. How can i get it to go out and play the right frames?
Having Trouble Changing Frames Of MovieClips (via Menu Interaction) [renamed]
Hey its me again, im stuck here trying to figure how to jump from one frame a movie clip, rot menu, to a frame of another, main, through a button in rot menu, rot menu is a movie clip in symbol 1 which is in another (cant remeber) in main. from frame 1 of main i want the button to be pressed and it takes you frame 2 of main. im using a tellTarget code, which i think is wrong. If anyone can help me please let mw know. I can send you the *fla file by email if you wish
Selorm_k@msn.com
thanks, munky
Having Trouble Changing Frames Of MovieClips (via Menu Interaction) [renamed]
Hey its me again, im stuck here trying to figure how to jump from one frame a movie clip, rot menu, to a frame of another, main, through a button in rot menu, rot menu is a movie clip in symbol 1 which is in another (cant remeber) in main. from frame 1 of main i want the button to be pressed and it takes you frame 2 of main. im using a tellTarget code, which i think is wrong. If anyone can help me please let mw know. I can send you the *fla file by email if you wish
Selorm_k@msn.com
thanks, munky
Puzzled On Frames Loaded And Total Frames Calculation Issue
The Goal:
I am trying to find out if the last frame of a loaded swf has been completed so I can then unload that swf and replace it with another swf.
The Process:
I have on the main time line a MC called movie1. (The main time line is only one frame long)
In the first frame on the main time line I have the following code:
---- start code ----
loadMovie("test/test_movie.swf", "movie1");
if (_root.movie1.framesloaded=_root.movie1.totalframe s) {
getURL("javascript:alert("Frames Fully Loaded")");
} else {
gotoAndPlay("Scene 1", 1);
getURL("javascript:alert("Frames Not Loaded")");
}
---- end code ----
This code will load and play the movie into the MC and gives me an alert that the "Frames Not Loaded". Thats great because it means I am loading the movie correctly and testing the total frames correctly. But I need to know when the last frame of the loaded swf has played so I can then load another. Even if I take out the else statment in my testing code I still can't get it to tell me when all the frames are loaded.
Any help would be great.
Thanks
Looping Frames X-y For 'z' Amount Of Times Then Proceeding To Frames After Loop
Hi,
I'm relatively new to Flash and have not done much work with the AS. I was hoping someone here could enlighten me on an area which has been stumping me.
I need to know how to loop (for example) frames 1 to 5, 4 times then continue to frame 6 until the last frame, then go back to frame 1, thus re-entering the loop, etc. I do believe it would involve something like this... but then again I'm a newbie to this so... what do I know (which is why I wanna learn)
Frame 1:
i=0
Frame 5:
i=i+1
if (i>4) {
gotoAndPlay(6);
} else if (i<4) {
gotoAndPlay(1);
}
Thanks so much
Looping First 38 Frames 7 Times, Then Playing The Whole 76 Frames And Stopping
Hi Guys, I have a movieclip that the first half has one set of movements, but the second half changes. I want to be able to loop this movieclip (instance on the root), so that it plays the first 38 frames 7 times...i.e., loops 7 times, and the 8th time, it plays the whole clip, then stips...the movie is 76 frames long.
I know it's going to be...make i=1 first time...add 1 to i each time...and if i=7, then play past frame 38...and put a stop(); at the end of the movie, but i don't know how that code would look, if I could please ask for more...basic (ugh...) help...
In other words, how do I write this (pseudocode) in AS:
i=1
play frames 1-38
i=i+1
if i is less than 8, play frames 1-38
if i is more than 7, play the whole movieclip, all 76 frames
Shawn
How To Repeat A Group Of Frames Without Adding A Million Frames?
Hello,
I have made a small flash intro using Flash MX 2004 Professional. The intro is about 3 seconds long. Here's what I want to do:
I want to add a few frames to the intro where I add things shooting through randomly, and I need these few frames to repeat themselves while keeping the main intro sort of paused in the background... How would I do this? How would I "pause" the background without adding a million frames? And is there some way that I can loop a group of frames? Please respond as "newbish" as possible so I can understand
Thank you!
Copy Frames Paste Frames... File Size.
Sooo I have a bunch of vector art I imported from swift3d and than I want to reverse the animation later on in the project so I copy the frames and than I paste them then I use the reverse frames option.... When I compile it doubles the size when I compile.... I know that maybe I should expect this. But if the symbols are already in the library why doesnt flash just use those symbols again and not increase in size?'
I hope this makes sense thanks in advance
Film Frames To Flash Frames
I want to make some small animations and in order to capture movement and forms 'correctly' I want to use digital video.
I would then turn up the contrast to define the form and shapes and then trace in flash or freehand. Hereby creating a frame by frame animation.
OK that's an idea, how do I do that the best way? (and quick?)
Move All Clips For 30 Frames ? Can't Use "copy Frames" Why ?
Hi
I have a animation with masks, movieclips loads of keyframes...all in all about 25 layers.
How can I insert at the beginning in every layer for example 30 emty frames ?
Another thing:
I tried to make a movieclip out of this animation because I don't want to handle all these layers but it doesn't work. The option "copy frames" is not active. Why ?
Thanks a lot for help.
cheers
Stefan
Replacing Frames With Other Frames
I would like to know if it's possible to replace existing frames with other frames. In my case I have made an animation of a talking guy with text appearing over him, but at some point he stops talking and I forgot to insert the frames where his mouth is closed, so I'm stuck with no text but a mouth that is moving anyway. I would like to replace the sequence of 'moving mouth frames' with a sequence of 'closed mouth' of the same length.
Thanks in advance guys.
Flash Menu With Multiple HTML Pages - How To Pass Variable To Menu On Refresh?
please note this topic is also posted at AS under this title:
Flash Menu 4 HTML pages - pass variables on page refresh
-----------------------------------------------------------------------
So the subject is a hint as to how hard it is to search on this simple idea.
Will be very greatful for some help today!
PROBLEM DETAILS:
I am building a swf menu for an HTML site. It has the following buttons:
SectionA
SectionB
SectionC
What I want to do is modify the text when the HTML page for the correspoding section is loaded. So, if I click on "SectionB", SectionB.html loads. Now I want that button "SectionB" in the swf to have a background glow.
Of course the catch is, that each time a new HTML page loads, it reloads the swf menu (No Frames please!). So, naturally I know I can just tell the swf menu to go to a certain place in the timeline where there is the glow graphic behind "SectionB". But the swf needs a variable saying it is on a Section B HTML page. (of course I could build a seperate swf for each section - but that seems stupid.)
THUS....
MY QUESTION:
How do I pass a variable from a swf on one HTML page (that is being replaced by a new HTML page!), to a swf on a new HTML page.
Can I do this with a GET/POST or something?
Thanks!
-AB
Birdsong is online now Edit/Delete Message
Drop Down Menu PROBLEM-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!
Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:
on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}
And here is the code that I currently have on the main buttons that have sub-menu items:
on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}
I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.
Thanks again your help is greatly appreciated!
Dynamic Menu AS2.0/XML - Seperating Main Menu Title MC From Dropdown Item's MC
Hi everyone, this is my first post in this forum, I appreciate all the help
I've got a dynamic menu using AS2.0 that's being populated by an XML file, it's quite complete and is working fine, the only thing I'm having trouble with is assigning a new MC to the Titles so the visual design (Text and background) can be different from the rest of the dropdown menu.
What would have to be done to capture the menuNodes and isolate them form the rest. Below is the XML that I’m using, the highlighted (red, bold, italic) text below is what I’d like to capture and seperate from the rest of the submenus for the menu title in my flash project.
XML
----------------------------------------------
<?xml version="1.0"?>
<menu name="Atletas">
<menu name="Clubes">
<submenu name=""></submenu>
<submenu name="Botafogo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
</menu>
<menu name="Atletas">
<submenu name="Gilberto"></submenu>
<submenu name="Jose"></submenu>
<submenu name="Joao"></submenu>
</menu>
<menu name="Posicoes">
<submenu name="Atacante">
<entry name="Gilberto"/>
</submenu>
<submenu name="Meio">
<entry name="Jose"/>
</submenu>
<submenu name="Zagueiro">
<entry name="Joao"/>
</submenu>
</menu>
</menu>
----------------------------------------------------------
attached is the screencapture of my flash design to understand what I'm talking about a little better.
Thanks for all the help
Drop Down Menu-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!
Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:
ActionScript Code:
on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}
And here is the code that I currently have on the main buttons that have sub-menu items:
ActionScript Code:
on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}
I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.
Thanks again your help is greatly appreciated!
|