| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2001
Posts: 6
|
I know, I know, this question is all over the message boards, but I'm still a little confused on some things. Using Flash 5, what's the most efficient way to have a button continuously scroll a clip. Can you scroll a clip within a clip? For example, I have a clip named "newstext" and in that clip is a mask layer masking a clip named "news" which is just text. Can the "news" clip be scrolled? Do the buttons have to be in the targeted clip or can they be on the main timeline? Sorry so long winded, but really want to learn this. Thanks in advance.
Robert |
|
|
|
|
|
#2 |
|
Risu Oyabun!
Join Date: Apr 2001
Location: Houston, Texas
Posts: 1,460
|
You can put your buttons pretty much anywhere on the stage or in other MCs. You just have to keep proper track of the path in which you will be referencing. I'd strongly suggest you look over the tutorial here for Paths to Objects and Variables written by Jesse. It's simple and it explains alot... heck, it helped me through one of my many addle-headed moments.
So if you have a MC that contains /another/ MC that needs to be scrolled, I'd have it structured like this: Listbox MC |--> ScrollUp Button |--> Text MC |--> ScrollDn Button * The Scroll buttons would contain a MC that loops a the movement of the Text MC on a mouseover... with a max, of course, for the ceiling and floor of the Text MC. You don't want that sucka flying off into the nether. The actionscript in MC that the ScrollUp Button mouseover might look like this: if (_level0.listbox.txtbox._y < ceiling) _level0.listbox.txtbox._y++; I have this visualized so the user just has to move her mouse over the top or bottom part of the listbox to get it to scroll rather than clicking an up or down button repeatedly. You can get the same effect by placing the same manner of script in different parts of the button. Be creative, have fun, and look at those tutorials... thar be good ones out there. Arrrrrrrrrrrr!!!! [Edited by 20 Ton Squirrel on 06-13-2001 at 01:46 PM] |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2001
Posts: 6
|
Thanks alot! I got it to work.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jesse Stratford - Help me with your Continuously Scrolling Text Field | gsnipers | ActionScript 2.0 | 3 | 02-09-2005 01:55 AM |
| Scrolling Landscape Background on button action | free mojo | ActionScript 1.0 (and below) | 3 | 03-17-2004 11:54 AM |
| programmatically inserting a very small button into a scrolling textfield | Philip Toews | ActionScript 1.0 (and below) | 4 | 11-02-2002 11:51 AM |
| my "Relative Scrolling" is not working | cp2 | ActionScript 1.0 (and below) | 19 | 04-03-2002 07:58 AM |
| Continuously Scrolling Text Field | bailee | ActionScript 1.0 (and below) | 4 | 03-05-2001 03:10 AM |