View Full Version : How did they do this???
radio95
02-20-2002, 04:31 PM
I am interested in building a site with buttons that run through what looks like a movie e.g click a button, slides through a long section of slides to right point. click another it slides back to new target from last target.
This may not be clear so an example of what I mean can be seen at www.nikfish.com.au
Is this relatively easy to do?
Are they pinpointing through frame labels, or through movies?
Any advice on the matter would be appreciated.
Cheers People!
have a look at this file
scroller (http://www.flashkit.com/movies/Interfaces/Image_sl-Gert_Sta-4535/index.shtml)
also has a blur added to it
cheers
BLEEDA
Hi,
Right it sounds really complicated but it isn't. Here goes:
Get your strip of images or MCs or whatever in a MC. In the instances panel name this 'strip'.
On the main timeline create a new MC and in the instances panel name it 'slideScript'.
Inside 'slideScript' You want three keyframes:
Frame 1:
stop();
Frame 2:
difference = _root.newX - _root.strip._x;
newPos = difference/2; //CHANGE WHAT DIVIDED BY TO ALTER SPEED
_root.strip._x += newPos;
Frame 3:
gotoAndPlay(2);
Back on main timeline each button needs:
on(release){
newPos = 250; //CHANGE TO ALTER DESTINATION
scriptSlide.gotoAndPlay(2);
}
Or something like that anyway. There's a really nice version + extending it with smart clips in Brendan Dawes new book.
cheers.
pinkaboo
02-20-2002, 05:48 PM
There's a tute on this site too, I think this is the right one:
Relative content scrolling and navigation (http://www.actionscript.org/tutorials/intermediate/relative_scrolling/rel_scrol_1.shtml)
radio95
02-21-2002, 08:42 AM
I will go away and try these techniques - thanx very much, and if i encounter probs watch out for more posts!! hehe
Cheers
radio95
02-22-2002, 10:36 AM
Tutorial link from Pinkaboo - excellent - works a treat,
thanx sooooo much!
u r all stars
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.