I've got a Flash movie that has a movie clip that scrolls from right to left. The clip contains 6 sample full page magazine covers and each one is a movie clip that contains a button.
When you rollover a particular ad a screen that contains info rolls down and it's the width of two of the ads. When you rollout the screen rolls back up.
What I'm TRYING to do is have the scrolling movie clip stop when the ad you've rolled over reaches the far left so what you'll end up with is the ad on the left and the screen to the right. THEN when you rollout the movie will continue scrolling and the screen will roll up.
I've tried different methods of setProperty but can't seem to get the 'x' coordinates right. Nothing happens.
Example:
setProperty
var guardianx = ("_root.adsmc.guardianbutton",xPos);
if (guardianx > 0) {
_root.adsmc.play();
} else if (guardianx = 0) {
_root,adsmc.stop();
}
If it would help you can download the fla at
This is driving me nuts and would appreciate some help. It seems like it should be a simple thing to do.
Cheers,
Rhiannon
When you rollover a particular ad a screen that contains info rolls down and it's the width of two of the ads. When you rollout the screen rolls back up.
What I'm TRYING to do is have the scrolling movie clip stop when the ad you've rolled over reaches the far left so what you'll end up with is the ad on the left and the screen to the right. THEN when you rollout the movie will continue scrolling and the screen will roll up.
I've tried different methods of setProperty but can't seem to get the 'x' coordinates right. Nothing happens.
Example:
setProperty
var guardianx = ("_root.adsmc.guardianbutton",xPos);
if (guardianx > 0) {
_root.adsmc.play();
} else if (guardianx = 0) {
_root,adsmc.stop();
}
If it would help you can download the fla at
This is driving me nuts and would appreciate some help. It seems like it should be a simple thing to do.
Cheers,
Rhiannon