?
Solved

NEED HELP TWEAKING THIS IMAGE SCROLLER

Posted on 2004-03-23
6
Medium Priority
?
201 Views
Last Modified: 2010-04-03
Need a lot of help on this one, I have a few things that I can't figure out.  I have 30 MLB logos in an image scroller, trying to make it so that the initial speed is pretty slow like if you position the mouse one logo width off center.  I wanna keep the frame rate at 12 so that the flash peice doesn't kill a slow processor, but be smooth.

1. I want to have it start out scrolling right to left instead of left to right
2. I would like to get rid of the mouseover effect where it increases in speed as you mouse away from the middle.
3. When the mouse enters the logo area, i want the scroller to stop.
4. I would also like to add an arrow on each side of the scroller, when you click the arrow once, the scroller will move one logo space in that direction or if you hold down the mouse, it would scroll a lot faster than initial speed.
5. If the user doesn't click on a logo and they mouse out of the scroller, then it should continue to scroll normally, where it left off.
6. Also wondering if there is a way to make it easier to duplicate a new scroller without a lot of effort, where I would just create the movieclip containing logos, pics, etc naming the movieclips from 1 to n, and then have flash put them in a strip by calling the movieclips.  I'm also currently doing a lot of extra work to put in the mouseover highlight and to make a change, I need to do it 30 times in each movieclip.  Someone HELP!

Here's the current files:

http://dev.fusionapps.com/matt/test2.html
http://dev.fusionapps.com/matt/test2.fla

I know I'm asking a lot so I will open multiple questions to award more points.  Any help would greatly be appreciated.  



0
Comment
Question by:madasczik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 9

Expert Comment

by:j3one
ID: 10660484
One suggestion I immidiatly saw was you might want make the movie size taller so thay have more room to place the mouse and it effect wich direction they are traveling. that is concidering the logos will stop as soon as you mousover one of them.
0
 

Author Comment

by:madasczik
ID: 10660611
The height is pretty much set, have 75px to work with in the webpage layout, any bigger will distract too much attention away from the rest of the webpage.  Here's what it will look like. http://dev.fusionapps.com/olp/new_layout4.jpg  I guess I could make the whole footer with the blue strips in flash, giving 100px to work with.

One other thing I forgot to mention was that I will need to make two scrollers one for MLB and one for NFL so if I can import a swf containing the logos into a master swf that does all the scrolling work, that would be optimal to save on size.  Not sure how to do that though.
0
 
LVL 9

Expert Comment

by:j3one
ID: 10674242
Gotcha, well I will see what I can come up with. bytw, what version of flash are you using?

-> once you get the scroll bar right you should be abble to use it for both...
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 9

Accepted Solution

by:
j3one earned 2000 total points
ID: 10674647
One way I got it to start out scrolling right to left is....

-> on your frame with actionscript for the loop in it, right click and select "create motion tween"

-> then right click and select "copy frames" go down about 15-20 frames down and right click and select "paste frames"

-> go back and delete the actionscript from the first frame and in the script on the last keyframe, add  <-- stop() --> as below...

stop()
// duplicate movie clip
m = 0;
tmi = 2;
while (m<(tmi*2)-2) {
      m++;
      dup = 'image' add m;
      _root.logos.image.duplicateMovieClip(dup, m+1);
      _root.logos.image1._x = _root.logos.image._x+_root.logos.image._width;
      _root.logos.image2._x = _root.logos.image._x-_root.logos.image._width;
}

-> now, select the last key frame with the action script, then grab your image, hold down shift to constrain, and move it to theright (right to left) a little bit. you will have to experiment as I did to get it right.

-> If you make it move too far too fast it seems to have problems. you want it to mach the speed of your loop. if you do it right, it seamlesly scrolls from the right to the left- untill you mouse over it, in wich case it acts normaly.

Hope that helps a bit-> j3one
0
 
LVL 9

Expert Comment

by:j3one
ID: 10674653
explanation of what I just told you to do... your basicaly manualy animating the first part of the scroll to jumpstart it right...
0
 

Author Comment

by:madasczik
ID: 10677826
thanks, will give it a try, im using flash mx 2004
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question