all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

Scrolling images


Scrolling images Guille
10/27/2004 10:14:44 PM
flash (macromedia):
Hi People!

Would somebody help me to achieve what I have on my website
http://www.brachetta.com under section "Music editing" but in flash?
The thing is that this code is not functional under motors other than
iexplorer.
I thought probably Flash would be a better idea.
Some clue for a novice?

I'm also looking for something more "universal" for the next page (extra
information) since those popups won't work on netscape, opera or safari.


Many thanks!

--
Guillermo Brachetta
Harpsichordist - Music Editor
www.brachetta.com

Re: Scrolling images LOQUTUS
10/28/2004 10:36:31 AM
pretty simple. This is not the most efficient or elegant way of doing this.
It also is not too snazzy - you could put some acceleration and
decceleration into it to make it cooler. You could also duplicate the clip
when it reaches the bounds - and have it appear to continueously loop. You
can figure all that out on your own, though. This will do what you have on
your web page.

scrollRight.onRollOver = function(){
delete targetClip.onEnterFrame;
targetClip.onEnterFrame = function(){
this._x+=3;
}
}

scrollRight.onRollOut = function(){
delete targetClip.onEnterFrame;
}

scrollLeft.onRollOver = function(){
delete targetClip.onEnterFrame;
targetClip.onEnterFrame = function(){
this._x-=3;
}
}

scrollLeft.onRollOut = function(){
delete targetClip.onEnterFrame;
}



AddThis Social Bookmark Button