troubleshooting Question

Vertical scrolling movie that is also a link

Avatar of squirtle98
squirtle98Flag for United States of America asked on
Adobe Flash
4 Comments1 Solution325 ViewsLast Modified:
I am trying to create a vertically scrolling movie that just scrolls automatically as you are on the page. I would also like for the user to be able to click the movie and have it take them to another page. Here is the code I used on the instance, but when you preview it - it is just blank. The movie clip is two exact duplicate clips put together into one that is 279 wide by 1469 long.

onClipEvent (load)
{
   speed=1/100;  
   }
onClipEvent (enterFrame)
{
   var distance=100;
   _y+=(distance*speed);
   if (_y > 0) _y=-1469;    
   if (_y < -1469) _y=0;    
}

I also don't know how to turn the movie into a link to another page. I tried to put a transparent square movie clip over the top of the entire movie on a separate layer and then I put this code in on that instance - getURL(http://www.fredwilliamshomes.com/floorplans.htm); but no luck. Thanks fo any light you can shed on this...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros