Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




NavBar Method Question



Hi, I'm trying to find the command to use in order to cause an html frame to change to a new address without chaging the top frame where the flash file is. I am making a navbar, and just need it to send which address to a frame on the page to change to.
If someone could point me in the right direction of which command does this I would greatly appreciate it!

thanks!



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-18-2007, 03:44 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Function In A Method Return True To Method's Caller?
I think I probably don't know the correct terminology to ask this question, but here goes:

In this example, can anyone tell me how to have the setComplete event function within the main method return true to the caller of the method, instead of just to the listener?


PHP Code:



    function loadAsset(target:MovieClip, asset:String, assetLoaderInfo:LoaderInfo): Boolean    {    var assetLoader:Loader = new Loader();    var assetURLRequest:URLRequest = new URLRequest(asset);    assetLoader.contentLoaderInfo.addEventListener(Event.OPEN, setLoaderInfo);    assetLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, setComplete);    function setLoaderInfo(event:Event)        {        assetLoaderInfo = event.currentTarget;        }    function setComplete(event:Event)        {        target.addChild(assetLoader);        return true;        }    assetLoader.load(assetURLRequest);    }

Function In A Method Return True To Method's Caller?
I think I probably don't know the correct terminology to ask this question, but here goes:

In this example, can anyone tell me how to have the setComplete event function within the main method return true to the caller of the method, instead of just to the listener within the method?

Many thanks!


PHP Code:



function loadAsset(target:MovieClip, asset:String, assetLoaderInfo:LoaderInfo): Boolean
    {
    var assetLoader:Loader = new Loader();
    var assetURLRequest:URLRequest = new URLRequest(asset);
    assetLoader.contentLoaderInfo.addEventListener(Event.OPEN, setLoaderInfo);
    assetLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, setComplete);
    function setLoaderInfo(event:Event)
        {
        assetLoaderInfo = event.currentTarget;
        }
    function setComplete(event:Event)
        {
        target.addChild(assetLoader);
        return true;
        }
    assetLoader.load(assetURLRequest);

    }

Navbar Help
Hey all,

I was wonder how I would be able to make a navigation bar where when the user hits the button, it loads the url onto a blank table. The site I'm working on uses tables, and not frames. I was wondering if it's possible to do this.

Can Somebody Fix My NavBar?
I got this as a template, slapped my links on it, and it works fine. But what's real annoying is that it displays buttons 6-11 first, and you have to scroll up to get the main pages. I want it to start by displaying buttons 1-6 so you can scroll down to the rest. It looks like to do that I gotta mess with some code, and I can't make out what this guy did. I attached the FLA in a ZIP file. If somebody knows what I'm asking and can fix it, please do. Thanks in advance!

www.geocities.com/ravenanimation

EDIT: Oops! Almost forgot...Flash MX! Sorry 5 and below people!

Help With Navbar
I'm working for a client and they want their navigation bar to look like the one here: http://www.decoform-belgium.com/

Does anyone have any idea how to do this?

Help With Navbar
could anyone help me out with making a navigation bar something similiar to the image attached.where the name of the webpage would pop up in a bar either above or below the row of buttons with a sound effect on the button too.

i am using flash mx.

Navbar Help Plz
Please Help.


I'm not too much the artist, and I cant design a basic web navigation system that sorta looks like this. If you can make a Nav bar better then this for me please let me know. I've enclosed a sample.


thanks
Demonchild

Help With Navbar
I need help fixing my navbar. You can view it here.http://www.ferragutlaw.com/services/DUI-DWI/index.html

As you will notice that the contact button does not function properly. If i need to send you the flash file or post the action script code please let me know. I have been trying to fix this for hours but i cant figure out what is going on. Any help would be appreciated. If you need to call me 480-390-8343

NavBar
http:\www.erain.com I just really love that navbar that they have there and was wondering if any of you knew how to make that kibd of thing. Thanks

NAvbar
Hi new to this forum
Heres my problem

Im trying to do a smart navbar for my new site...
This is what ive come up to so far

http://www.grendosa.com/dump/SubNav.zip

I want it to not follow the mouse all the time as it does now id like it to when u hold over a button the "mask" would slide down to that button

thx for the word
-aronsson

Help With A Navbar
Please help me. I wanna make a menu a bit like the one on this site: http://www.vrumchev.com/
It's not gonna be exactly like this one because i wan't it to scroll.



I hope some one understand what i'm talkin' about and who can help




Mail me :phil:

NavBar
http:\www.erain.com I just really love that navbar that they have there and was wondering if any of you knew how to make that kibd of thing. Thanks

NAvbar
Hi new to this forum
Heres my problem

Im trying to do a smart navbar for my new site...
This is what ive come up to so far

http://www.grendosa.com/dump/SubNav.zip

I want it to not follow the mouse all the time as it does now id like it to when u hold over a button the "mask" would slide down to that button

thx for the word
-aronsson

Floating NavBar
Hi folks, I have built a 'floating' navbar with a bit of friction added. It is a movie clip with embedded buttons. Wierd thing is, when I constrain the drag to a rectangle the buttons become inactive, i.e. they arent seen as buttons anymore. If you move the mouse and catch the buttons b4 they settle (because of the friction) they do work!

Confused.

Simon

Scrolling Navbar
I am making a flash site with a scrolling nav bar(scrolls left off of page) I created this by tweening each word and adding a stop on the mouseover.I know that is the hard way but I'm a rookie! My ? is I have seen scrolling navbars on flash sites that scroll really smooth and instead of an instant STOP, the scrolling slows to a stop on the mouseover. I'm assuming that is action scripting. I have tried finding it in my books but no success. The effect I am trying to achieve has to do mainly with the mouse on MOUSE OUT the text scrolls continueously on MOUSE OVER the scrolling slows to a stop. Any help is much appreciated.
[Edited by redd_wolf on 02-26-2002 at 11:38 PM]

Scrolling Navbar
listed as a flash special is the scrolling navbar. how do I learn more about the engine behind the effect? how can I make one on my own?

Navbar Animation
hey, i have a question about a rollover animation on a website. http://www.ambitionsend.com how would i achieve the rollover effect of their navbar?

Thanks

Scrolling XML Navbar
Does anyone know how to create a dynamic (XML) navbar that scrolls? I'd greatly appreciate any help!!

Scrolling XML Navbar
Does anyone know how to create a dynamic scrolling navbar (XML). I know how to get a static navbar to scroll, but once I try to get try the XML navbar, the scroll stops working. Please help!

Rate My First NavBar
Hi, I have just recently created this navbar, so its gonna look ugly... I need some suggestions for the description animation when you rollover the buttons. Thanks

http://mkiv.cjb.net/

this is where my navbar is located...

Any suggestions? I need more animation for it.

Navbar Woes...
I have a horizontal scrolling navbar, and I want it to move back to the center position when the mouse is out of the navbar area.

I have it sort-of-working... It only moves back to the center as long as the mouse itself is being moved... You can see I tried a while loop to get it to move back independant of mouse movement, but it just 'snaps' straight back without moving there (which is obvious in hindsight).

I've just got the loops commented out for the moment...
I'd appreciate some advice on getting this to work.


Code:
onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;

if (xmousepos1>xmousepos2 && ymousepos1>-25 && ymousepos1<25) {
_root.mc_navbar.prevFrame();
}
else if (xmousepos1<xmousepos2 && ymousepos1>-25 && ymousepos1<25) {
_root.mc_navbar.nextFrame();
}

else if (ymousepos1<-25 || ymousepos1>25) {
if (_root.mc_navbar._currentframe < 60) {
//while (_root.mc_navbar._currentframe < 60) {
_root.mc_navbar.nextFrame();
_root.mc_navbar.nextFrame();
//need to refresh the frame?
//}
}
else if (_root.mc_navbar._currentframe > 61) {
//while (_root.mc_navbar._currentframe > 61) {
_root.mc_navbar.prevFrame();
_root.mc_navbar.prevFrame();
//need to refresh the frame?
//}
}
}

else {
stop ();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
}

It Will Not Let Me Link Anything On My Navbar.
It will not let me link anything on my navbar.

It says also Symbol=Tween 2, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
loadframe

Can anyone help?

Horizontal NavBar
Okay, I made an image in PS that looks like a pipe, and I put buttons on the image in an MC. I'm trying to make an interface, and there will be a mask, that only lets you see part of the pipe mc. I want it to be a Horizontal NavBar, but only want it to scroll horizontally when the arrow is actually on it. All the tutorials I have found, the mc moves according to the mouse, but it doesn't matter where the mouse is. I want it to only do it when the mouse is on it. Will I need to double the MC, like one beside the other, and then turn that into a new movie? Thanks for any help!

Tab Menu/navbar
Hi
I have used a tab menu template from Flash MX and the question is, on the website that I want to use it the site has various pages that include sub menu's. The problem is that these pages have information on that I would like the visitor to see. But when the pages that have sub menu's are selected the menu drops down so therefore the visitor does not see the main page. So is there a way to click the link then when page opens the sub menu is there on view. Or would I need to put another separate menu underneath to make it look like 1.
If I have not explained this very well I have attached the file in question.

Cheers

gibbie

Navbar TROUBLE
hi i was wondering if someone could help me with this problem?

my navbar is setup so that when you click on a button, it takes you to that link like normal, and when you rollover it, it shows you a preview of what you are about to click. what i wan to know how to do is when you roll off or out of the button, it doesnt stay on the rollover, it goes back to your last click. so, if you are clicked on one page, and rolling over a few others to see what they are, when you roll of the others, it will come back to the one you were clicked on. also, how do you keep the button in the down state while you are on there?
hope someone can help me!! thanks!!

Dynamic Navbar
Hi I have been messing with a clip I found that was a vertical dynamic menu with submenus. What I want to do is create a horizontal menu system that is dynamic, with the size of the buttons fitting a set width, and varying in size depending on the number of sections - no submenus needed. I got the code working ok, now it draws the menus, but the dynamic text gets scaled... ugly! is there a way to prevent this from happening ? also how would I assign actions to these dynamic buttons ?

TIA
colin

Navbar With Mousetrailer - How To? Help, Please
Hey everybody,

I have a question for anyone who might have knowledge or a sample flash file for me to look at...

I need to make a navbar on a site that has a square mouse trailer that is a 50% tint of black that follows the mouse ONLY horizontally across half of the entire page.

The page width will be 800 px, the navbar will go a little past that and it is 1 inch in from the top and right sides.

So basically the 50% tint black horizontal mouse trailer won't go from edge to edge on the entire page, only in the 400 or 500 pix wide by 50 pix high navbar.

Can someone help me out or point me in the right direction with regards to this?

I found an example at: http://www.immigrantindustries.com/

Thank you all.
Bri

NavBar Menu
I had a look at the file you attached and the script, but my problem is I want the navBar to slide in ans slide out on(rollOver) & on (rollOut). Any suggestions how, or what code I would use?

Attached is the actual navBar menu

Big Problems With Navbar
Help! I'm really new to Flash and have just finished a course but was confused with the session on movie clips and buttons. I've been struggling through a navbar but have reached the point of frustration that I need help!

Here is what I'm attempting to do:

The menu at this link http://www.tombo.ca/tccmenu.fla uses text navigation for each webpage. In the initial navigation, I am trying to create the effect of the text button "swelling" on the rollover state (I have created a movie clip for each text button simulating this) and then beeping on the down state. The swelling and beeping works but it is temperamental. I have already created behaviour links to go to a web page for each text link. These all work.

Also, the button titled "equipment" has a dropdown menu which is where I really get mixed up. I created the dropdown menu as a movie clip where each item cascades below the other and, when each item is rolled over, it flashes and then a beep occurs on click. I can get this to work on its own but this is where I get extremely confused:

1) I would like the initial menu to not be so glitchy. I've done something wrong and I'm suspecting it has to do with the actionscript.
2) I cannot, for the life of me, figure out how to get the dropdown menu to work within the main timeline. It is supposed to drop below "equipment" but there is already an action for the equipment button to go to "equipment.html". How do I also get the equipment submenu to drop below the equipment button on rollover...and work?

I hope I haven't created a mess. Thanks to anyone who can guide me!

[CS3] NavBar Problem
Hi, I have made a small but nice Nav Bar application. Please have a look at it: http://www.mediafire.com/?j36y03tibcm

The Problem: I use Actionscript to mimick the Nav Bar as a button. I want to be able to click on the items of the drop down menu, and have an object such as Tween 3 act as a button that I can then click on to go to the second frame of the main flash movie. Also, I want to only open/collapse the NavBar whenever I click the NavBar circle, but not when i click on the tweened objects. I hope that made sense. Please ask me for more clarification. Basically I just want a drop down menu of links, and then to get one of them to go to frame 2 when clicked on.

Please help! I don't know how to accomplish this.

Navbar Overtop Of Swf
I want to have a nav menu that expands over a swf that keeps playing.

It seems that even when just laying a div overtop of a swf, the swf rises above the div when the swf starts moving. I tried using z-index of course. Is there anyway to fix this? Thanks.

Stupid Navbar
Ok, I am having an issue and I finally decided it was time to turn to some pros for help. I am building a site and the navbar symbol is on the main timeline in frame 1 of "Scene 1". The navbar consists of 5 buttons. Here is what I am trying to do:

I have (in the main timeline *Scene 1*) an animation starting at frame 10 (upb) and ending at frame 30(upst) that moves the navbar from its current position under the banner, to the top of the scene and fades the banner out.
Also, an animation (main timeline *Scene 1*) starting at frame 40(downb) and ending at frame 60(downs) that is the reverse of the previous animation.

The site starts on the home.swf page by deafault. I want so that when I click on the home button, if I am already on the home button, it does not preplay any animations, and if I am on the home button and click ANY of the other 4 buttons it WILL play the up animation.. With that, When I am on any of the buttons except home, if i click home, it will play the down animation, but if i click on any of the other buttons it will not play any animations.

So Scene 1 contains the symbol NAVmain, and NAVmain symbol contains the 5 buttons.

Here is my code so far after tons of changes:
HOME BUTTON:

PHP Code:



on (release) {
    loadMovieNum("home.swf", 1);
}
on (release) {
    if (_root._currentframe == 1) {
        _root.stop();
    } 
        }
on (release) {
    if (_root._currentframe == 30) {
        _root.gotoAndPlay(40);
    }
}
on (release) {
    if (_root._currentframe == 60) {
        _root.stop();
    }





and this is all the other buttons:

PHP Code:



on (release) {
    loadMovieNum("page.swf", 1);
}
on (release) {
    if (_root._currentframe == 1) {
        _root.gotoAndPlay("Scene 1", "upb");
            }
    }
on (release) {
    if (_root._currentframe == 60) {
        _root.gotoAndPlay ("Scene 1", "upb");
    }
}
on (release) {
    if (_root._currentframe == 30) {
        _root.stop;
    }





I was not using "_root." at first, and I have also tried "_parent." I have tried declaring functions with button names (home.mc, port.mc, etc..) but also get the error "must occur within an On handler"

Well, needless to say all that happens is my pages switch but no animations are played.. the navbar is a symbol called "NAVmain" I also have an actions layer atop the main movie timeline with some stop and play actions.. (loadMovieNum at frame 1, stop at frame 2, play at frame 10, stop at frame 30, play at frame 40 and stop at fram 60)

Ive tried researching and researching this and cannot find a solution so PLEASE HELP!!!! Thanks. If you want to see the main file just ask and ill throw it up.

Really Need Your HELP With Horizontal Navbar :(
Hello,

I'm a Flash newbie ^_^

I'm attempting to make a horizontal navbar similar to the 1 at mabstudio.com. With slight variations.

I got some code from Google. However, I've scrubbed the web for days in an attempt to find out where I got this horizontal navbar from but I can't find it again! lol.

The problem is that the Navbar simply won't allow to me put as many thumbnails as I want. What I want to happen is that (& I've succeeded in doing this so far) when a user clicks on a thumbnail, my movieclip with the original unphotoshopped photo loads below. When the user does a mouseover my Photoshopped version of the photo loads. Simple, right? Riiiight.

So anyway I'm trying to put like 20+ or 30+ thumbnails on the navbar & I see that the stage won't let me do that anymore. It seems there is a limit to the amount of thumbnails that I can put in this movieclip. I've thought of making a "Scene 2" but it won't scroll the way Scene 1 scrolls! It's like limited scrollign or something. Also I would want to not have to use a close button for the photos. I mean, the user can just click back to a previous photo & not have to close the one that's "on top". Since my photos are on Layers this is what it does.

I mean, for example I press the thumbnail for photo #2. When I press the thumbnail for photo#1, it shows BEHIND photo#2 so I have to close photo#2 in order to view photo#1. I'm wondering if there is some CODE that I could use so movieclip1 closes the moment I click the thumbnail for movieclip2.. I think I can do that but what I want to be able to do is tell Flash to close ANY photo (in a movieclip) that's blocking my view of Photo#1. I mean it can be photo#4 or #26 or what, & not just photo#2 (inside its own movieclip, of course).

If you are willing to help, please let me know (email/pm here)? I've tried helping myself with this & I've read up on some actionscripting but I just don't get it.. =|

Thanks in advance and Happy New Year to everyone!

P.S.
By the way here is the code attached to the 3rd frame of the Actions layer on the timeline:
mouseX = _xmouse;menuX = menu._x;

if (mouseX > 280) {diff = (mouseX-280)/15;
}
if (mouseX < 220) {diff = (220-mouseX)/15;
}
if (mouseX <= 250 && menuX <= 56) {
setProperty("menu", _x, menuX+diff);
}
if (mouseX >= 250 && menuX >= -204) {
setProperty("menu", _x, menuX-diff);
}
if (menu._x >= 56) {menu._x = 56;
}
else if (menu._x <= -204) {
menu._x = -204; }

gotoAndPlay(2);

Like I said I am a Flash newbie but.... I tried to make a menu2 movieclip & changed all "menu" words there to "menu2" for my Scene 2 horizontal navbar. It won't fully scroll though..

What Is Wrong With My Navbar
Hey all,

got two simple questions:

1) in my file (http://home.exetel.com.au/twistedpancreas/images/nav.fla) the rollover states for the buttons don't work as soon as i add code into a keyframe

2) the closeBtn link inside mainMenu doesn't work and i know theres a simple reason why, but for the life of me i can't work it out

any help would be most appreciated.

thanks again





























Edited: 11/15/2006 at 03:32:27 PM by twistedpancreas

Navbar Issue
I have a horizontal navbar composed of buttons which have rollover actions assigned to them, and a secondary horizontal navigation that drops down below it based on which button the user's mouse is on. The problem I have is that there's a horizontal colored background bar that the secondary navigation is in front of, which spans the entire width of the main navbar, and drops down when the user rolls over a button; I want that horizontal background to stay in place if the user moves the mouse horizontally across the buttons and not repeat the background dropping down as each button is rolled over.

In a nutshell, I'm looking for the buttons to have their own individual rollover state, and a secondary horizontal navigation to show up under each button unique to that button (no problem there), but the horizontal background shape behind the secondary nav, which drops down and covers the width of the entire navbar, to stay in place as long as a button is rolled over, including multiple buttons rolled over in succession, so it doesn't repeatedly drop down each time a button is rolled over if a user moves their mouse horizontally.

Any help with this would be much appreciated. Thanks in advance!

NavBar Buttons
Could anyone help me please...
Ive created a navigation bar with 5 buttons - to link to home, contact etc
Im new to flash and cant fnd a tutorial on this with actionscript 3
Ive worked it out (eventually) for my firs button (homebtn)
but i also have 4 other buttons. I tried duplicating the code anc changing the button identifier but got duplicate code errors.
Anyone tell me where im going wrong?
Thanks Pippin









Attach Code

import flash.events.MouseEvent;
homebtn.addEventListener(MouseEvent.CLICK, clickhandler);
function clickhandler(event :MouseEvent):void {
navigateToURL(new URLRequest("http://www.7vinyls.com"));
}

Help With Flash Navbar
ok...i made a flash navbar, now i need to be able to load a url from the frame the navbar is in: "menu"
to the frame where i want it to load: "main"
now how would i go along doing this?

.swf File As A Navbar
Hi! I have created a navbar in flash for my site (I'm using frames on the site).
My problem is how to get the links to work!
In flash 5 you can just choose that the links will be opened in a special frame, but how do I do that in mx 2004? Plz help me! I'm stuck...

Animated NavBar Help Please
hello all,

just wondering if anyone can help with this,
i am working on an animated navigation bar and just can't seem to get it to work the FLA's will show you more than i can explain. the rotation is based on BIT-101's tutorials check them out if you haven't already its a cool site.

Navbar Question
im sure this has been asked ive tried a few things, i made just a navbar at a certain size and was going to have it load into the main index page, but nothing is working, can someone type what needs to be done and ill edit my script according you what you type, thanks

Help Please...Creating A Navbar Using XML
ActionScript Code:
function loadXML(loaded) {if (loaded) {xmlNode = this.firstChild;texts = [];links = [];size = xmlNode.childNodes.length;for (i=0; i<size; i++) {texts[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;links[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;}for (i=0; i<size; i++) {subs[i] = xmlNode.childNodes[i].childNodes[2].childNodes.length;}for (i=0; i<size; i++) {for (a=0; a<subs[i]; a++) {//code for creating the names for the sub items based on the xml file : this.xmlNode.childNodes[i].childNodes[2].firstChild.childNodes[a].nodeValue;}}makeButtons();} else {trace('parsing xml failed');}}xmlData = new XML();xmlData.ignoreWhite = true;xmlData.onLoad = loadXML;xmlData.load("menu.xml");function makeButtons() {p._visible = false;cellsize = p._width;topscale = cellsize+70;lowscale = (size*cellsize-topscale)/(size-1);i = 1;but_pressed = 0;while (i<=size) {var _mc = p.duplicateMovieClip("p_"+i, 100+Number(i*size));_mc.textValue = texts[i-1];_mc.currentlink = links[i-1];// new Color (_mc).setRGB (0xffffff*i/size) ;_mc.i = i;_mc.xscale = cellsize;_mc.onRollOver = _mc.onDragOver=function () {but_pressed = this.i;this.gotoAndPlay("start");};_mc.onPress = function() {but_pressed = this.i;_root.gotoAndStop(links[this.i-1]);};_mc.onRollOut = _mc.onDragOut=function () {but_pressed = 0;this.gotoAndPlay("back");};_mc.onEnterFrame = function() {var newxscale;if (but_pressed != 0) {if (but_pressed == this.i) {newxscale = topscale;} else {newxscale = lowscale;}} else {newxscale = cellsize;}var xstep = (newxscale-this.xscale)/2;if (this.xscale != newxscale) {this.xscale += xstep;} else {xstep = 0;}this._xscale = this.xscale;};i++;}this.onEnterFrame = function() {i = 1;ypos = 378;xpos = 0;while (i<=size) {var mc = this["p_"+i];mc._x = xpos;mc._y = ypos;xpos = xpos+mc._width;i++;}};}


ok...you can see by reading the code how i created the regular buttons and how i plan on making the sub buttons...but i can't figure out how to start making the sub buttons...i know it can be done...i'm just not sure what code to use in order to create the names for the buttons...here is the XML code:


HTML Code:
<navbar>
<item>
<texts>About Me</texts>
<links>scene2</links>
<subItems>
<sub1>subItem1_1</sub1>
</subItems>
</item>
<item>
<texts>Portfolio</texts>
<links>scene3</links>
<subItems>
<sub1>subItem1_2</sub1>
</subItems>
</item>
<item>
<texts>Pom Rocks</texts>
<links>scene4</links>
<subItems>
<sub1>subItem1_3</sub1>
</subItems>
</item>
<item>
<texts>Contact Me</texts>
<links>scene5</links>
<subItems>
<sub1>subItem1_4</sub1>
</subItems>
</item>
<item>
<texts>Hello World</texts>
<links>scene6</links>
<subItems>
<sub1>subItem1_5</sub1>
</subItems>
</item>
</navbar>
and then the .fla file is attached...if anyone can help me...i'd be forever greatful! =D

Really Need Your HELP With Horizontal Navbar :(
Hello,

I'm a Flash newbie.

I'm attempting to make a horizontal navbar similar to the 1 at mabstudio.com. With slight variations.

I got some code from Google. However, I've scrubbed the web for days in an attempt to find out where I got this horizontal navbar from but I can't find it again! lol.

The problem is that the Navbar simply won't allow to me put as many thumbnails as I want. What I want to happen is that (& I've succeeded in doing this so far) when a user clicks on a thumbnail, my movieclip with the original unphotoshopped photo loads below. When the user does a mouseover my Photoshopped version of the photo loads. Simple, right? Riiiight.

So anyway I'm trying to put like 20+ or 30+ thumbnails on the navbar & I see that the stage won't let me do that anymore. It seems there is a limit to the amount of thumbnails that I can put in this movieclip. I've thought of making a "Scene 2" but it won't scroll the way Scene 1 scrolls! It's like limited scrollign or something. Also I would want to not have to use a close button for the photos. I mean, the user can just click back to a previous photo & not have to close the one that's "on top". Since my photos are on Layers this is what it does.

I mean, for example I press the thumbnail for photo #2. When I press the thumbnail for photo#1, it shows BEHIND photo#2 so I have to close photo#2 in order to view photo#1. I'm wondering if there is some CODE that I could use so movieclip1 closes the moment I click the thumbnail for movieclip2.. I think I can do that but what I want to be able to do is tell Flash to close ANY photo (in a movieclip) that's blocking my view of Photo#1. I mean it can be photo#4 or #26 or what, & not just photo#2 (inside its own movieclip, of course).

If you are willing to help, please let me know (email/pm here)? I've tried helping myself with this & I've read up on some actionscripting but I just don't get it.. =|

Thanks in advance and Happy New Year to everyone!

Navbar Question
im a flash noob but i managed to create a flash nav bar you press a button it drops down and five buttons appear this is all within a movie clip placed on the stage

now the question is how can i use the buttons inside the movie clip to alter the stage, i tried anchor tags didn't work just wondering any advice would be greatly appreciated i really hate showing people how i design my websites

but if you really need the .fla just ask i guess i could post it

Help With Flash Navbar
ok...i made a flash navbar, now i need to be able to load a url from the frame the navbar is in: "menu"
to the frame where i want it to load: "main"
now how would i go along doing this?

.swf File As A Navbar
Hi! I have created a navbar in flash for my site (I'm using frames on the site).
My problem is how to get the links to work!
In flash 5 you can just choose that the links will be opened in a special frame, but how do I do that in mx 2004? Plz help me! I'm stuck...

Animated NavBar Help Please
hello all,

just wondering if anyone can help with this,
i am working on an animated navigation bar and just can't seem to get it to work the FLA's will show you more than i can explain. the rotation is based on BIT-101's tutorials check them out if you haven't already its a cool site.

Navbar Question
im sure this has been asked ive tried a few things, i made just a navbar at a certain size and was going to have it load into the main index page, but nothing is working, can someone type what needs to be done and ill edit my script according you what you type, thanks

Flash Navbar Help
Hello,
Kinda new to Flash so I am sure this will be easy for most. I am trying to figure out the best way to achieve a simple rollover effect, while remaining as efficient in Flash as possible.

I have a navbar (attached) and I want to have the buttons go to yellow when it is rolled over. The buttons are all one graphic in the off state, so I wanted to use an invisible button for each to achieve the rollover. I was thinking I could put a movie clip of the rollover in the "over" state of the invisible button, but this does not seem to be working.

Would I be better off cutting up the nav so each off state is a seperate graphic? Would it be better to use the invisible buttons with action script, and if so, how do I do that?

I just want to make sure I am using the best practices as I progress. Any help would be greatly appreciated.













Attached Images

Help Needed With Sliding Navbar...
Hi FK!

Can anyone explain to me how i would make a sliding menu that. when an item is rolled over, a bar stretches from the right of the menu to cover the words (on the layer underneath). Then if another button is rolled over, the bar stretches to cover the words again but without going back to the beginning (the right of the menu).

Hopefully someone understood that, i've attached some pictures to help you understand me...

(apologies for the double post, but after posting this in flash MX, it seems that the actionscript forum is the way to go... )

pic1 - The mouse is not over any buttons

Copyright © 2005-08 www.BigResource.com, All rights reserved