Solved

NEED HELP TWEAKING THIS IMAGE SCROLLER

Posted on 2004-03-23
6
190 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
  • 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 9

Accepted Solution

by:
j3one earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now