Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : A little help please...


Don P Productions
3/6/2004 8:06:32 PM
Hi,

I'm creating a flash website. I've come across many problems because I'm like
some...first-time user on this. Alright, I'm stuck right now with 2 problems:

1. I've been trying to add navigation ability to the creation but I'm really
stuck on it. I've tried writing scripts for the navication with several "do,
while;" "if, else;" and just plain pre-installed action scripts on the program
and they dont seem to work. The "if, else" got a me a lil far but after a while
everything just started getting mixed up in the navigation. For example, in
frame 2, I assigned the home button to go back 1 frame (- 1) but it got mixed
up somehow. From that frame, the home button might take you to frame 5 or
something. The way I am creating the website, I do not want it to rely solely
on webpages, I want it to be like a flash presentation on the web; therefore,
no blank screen loading from page to page. So each page is actually a frame. I
really need help with how to give the buttons the correct functionality. Please
help.

2. The other problem is quite stupid. You would probably think I'm really slow
for asking this but, how do you create scroll bars? I mean custom made... not
downloaded or UI type of stuff. I wanna make mine for the site. Please help.

Thanks guys...and girls if there are any here...you guys ever noticed how we
programming nerds are always guys? Judt a stupid question...A true nerd
speaking here.

Thanks for reading this... please reply.

Dinghus
3/6/2004 8:29:22 PM
For your first problem the solution is to NAME your frames. So maybe the first
frame is named "START" then frame 5 is "PAGE1" etc. Then your navigation would
be gotoAndStop("PAGE1") vice +1 or -1.

Much better that way.

There is a tutorial on how to make scroll bars. I've seen it but can't
remember exactly what it said.
Don P Productions
3/6/2004 8:50:23 PM
Thanks man, i'm gonna try that now... that sounds way easier than writing some 200 line script that doesn't work right.
Don P Productions
3/6/2004 11:29:24 PM
ok, I tried naming the frames...but...cant do it. The only thing that seems name-able in the timeline is the layer. How do I name the frames?

Carl Fink
3/8/2004 3:06:00 PM
[quoted text, click to view]

You have to make the keyframes. The easy way is to
right-click on the frame (in the timeline) and choose Convert
to Keyframes. Then you can use the Properties Panel to
give that frame a name.
AddThis Social Bookmark Button