Actionscript to trigger horizontal movement of a movie clip.
Posted on 2007-12-05
I have just began work on a flash site for which i need some assistance with the actionscript.
The main mc consists of a landscape painting that is about 600 px high and about 1900 px wide, it fits my 24" imac screen.
The main mc will be centered and On most browsers the main area shown will obvously only be a section in the middle of th mc.
I want to add action script to the mc which takes moves the clip left and right when the user moves their mouse into the left and right hand sides of the screen. The area needs to be about 1/4 of 1/5 of the screen on each side.
Can anyone help??