View Full Version : scrolling nav bar
mnoyes
01-08-2003, 03:13 AM
I followed this tute to a T, but my mc still does not respond to the buttons I made or the scripting. PLEASE HELP - it is the core of the flash site I am working on...
http://www.actionscript.org/tutorials/intermediate/relative_scrolling/rel_scrol_1.shtml
Basically, I am trying to create a scrolling portfolio that goes forwards and backwards when buttons are rolled over... It is killing me that I can't get this to work. I can email the FLA file with the mc and buttons - to big to post though
Thanks
Meredith
emergency_pants
01-08-2003, 12:04 PM
I'll take a look later, but I aint got time right now... if you don't find a solution, feel free to mail me a fla and I'll take a look... I won't be able to reply until about 7:00pm GMT.
Cheers,
Simon.
farafiro
01-08-2003, 12:17 PM
we should see the file for tellin wht first
mnoyes
01-08-2003, 12:34 PM
farafino - its too big to post - can I email to you?
farafiro
01-08-2003, 01:07 PM
upload it and give us a link
mnoyes
01-08-2003, 01:18 PM
try this -
http://www.dsabuilders.com/scrollingnav.fla
thebloodpoolkid
01-08-2003, 04:39 PM
actually I have tired that same tut before in the past and I was unable to get it to work as well.
mnoyes
01-08-2003, 05:33 PM
really? So you never figured it out? I swear I've done it over 10 times and it doesn't work
Anyone have any suggestions?
farafiro
01-09-2003, 05:48 AM
u simply just didn/t give the MC the name u call it with AS (bar), also try not to use the flash 4 code//here is a modifing code for the _root script
stop ();
bar.target = 1;
bar.direction = "b";
function director () {
if (_root.bar.target<_root.bar.current) {
_root.bar.direction = "b";
} else if (_root.bar.target>_root.bar.current) {
_root.bar.direction = "f";
} else if (_root.bar.target == _root.bar.current) {
_root.bar.direction = "null";
}
goto = (String(_root.bar.direction+_root.bar.current));
_root.bar.gotoAndPlay(goto);
}
mnoyes
01-09-2003, 11:41 AM
This worked great - I knew it was something so simple and I would kick myself when I found out.
Thank you!
mnoyes
01-09-2003, 03:44 PM
ok - so it worked great in its own frame, but when I put it into my site, the buttons only work half the time....
here is the link for the fla
http://dsabuilders.com/dsabuilders.fla
click on the portfolio button and then on kitchens. I still have lots of kinks in it and its only in beginning stages, but I want toy nail this componant before continuing
Click the buttons on the right - the kitchen buttons. See, sometimes it works, sometimes not. Why is this?
Thanks
farafiro
01-12-2003, 09:35 AM
http://www.actionscript.org/showMovie.php?id=629
http://www.actionscript.org/showMovie.php?id=307
here, these may help you
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.