Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Can't figure out the AC to use for my "Previous" and "Next"

 
Jump to:  
 
whorneff310
PostPosted: Fri Aug 08, 2008 10:07 pm    Post subject: Can't figure out the AC to use for my "Previous" and "Next"
       
Hi guys,

I have a slidshow that stretches over 280 frames which can be seen here:

LINK

or the fla:
LINK

There are fade ins and outs and I made buttons numbered 1-5 where you can
skip to each new slide. At present I am trying to create the "previous" and
"next" buttons but I'm hitting a snag of how you make something like this work.
The entire AC I have is this:

a.onRelease=function(){
gotoAndPlay(1);
}

b.onRelease=function(){
gotoAndPlay(55);
}

c.onRelease=function(){
gotoAndPlay(110);
}

d.onRelease=function(){
gotoAndPlay(165);
}

e.onRelease=function(){
gotoAndPlay(220);
}

next_btn.onRelease = function () {
(not sure what to put here) ;
}

previous_btn.onRelease = function () {
(not sure what to put here) ;
}

Thanks in advance for all the input

Wil
 

 
whorneff310
PostPosted: Fri Aug 08, 2008 11:04 pm    Post subject: Re: Can't figure out the AC to use for my "Previous" and "Ne
       
Awesome. Thanks again kglad for the help.

Wil
 

 
kglad
PostPosted: Fri Aug 08, 2008 11:15 pm    Post subject: Re: Can't figure out the AC to use for my "Previous" and "Ne
       
you're welcome.
 

 
whorneff310
PostPosted: Fri Aug 08, 2008 11:19 pm    Post subject: Re: Can't figure out the AC to use for my "Previous" and "Ne
       
I have noticed something when I put this in. It works for the first slide.
But once we are on slides 2-5, the next button won't advance them. Anything
else I should be putting in there?

Thanks Kglad
 

 
kglad
PostPosted: Sat Aug 09, 2008 12:14 am    Post subject: Re: Can't figure out the AC to use for my "Previous" and "Ne
       
you're welcome. you might consider adding a frame after the first transition so it too is 55 frames.
 

 
whorneff310
PostPosted: Sat Aug 09, 2008 3:39 pm    Post subject: Re: Can't figure out the AC to use for my "Previous" and "Ne
       
Good idea. Will do

Thanks again
whorneff310
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

odżywki artykuły elektryczne Rapidshare Fotka kalkulator kredytowy