Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: smooth scrolling - Flash 5 wish: loop while theMouseDown |
| From: | Tim Walters |
| Date: | Thu, 24 Feb 2000 11:28:06 GMT |
Christian, the easiest method of doing this is create a "Script" Movieclip
and place it on the main timeline somewhere that is always available. Give
the instance name "ScriptMC".
In your button action
On (Press)
TellTarget ("/ScriptMC")
Go to and Play ("ButtonScript")
End Tell Target
End On
On (Release, Release Outside)
TellTarget ("/ScriptMC")
Go to and Stop (1)
End Tell Target
End On
Now, in 'ScriptMC' have each script you need in it's own area... I like to
space it out so labels are visible, but that's just me.
Frame 1: Action=Stop
Frame 2: Label="ButtonScript", Action=...some actions you want, like scroll
up a line...
Frame 3: Action=Goto and Play ("ButtonScript")
Frame 4: Label="AnotherButtonScript", Action=...some actions you want, like
scroll down a line...
Frame 5: Action=Goto and Play ("AnotherButtonScript")
Each button just calls the appropriate script.
Hope this helps!
---
Tim Walters MVP
Glasshouse101
tim
> -----Original Message-----
> From: owner
> Cook
> Sent: Thursday, 24 February 2000 9:15 PM
> To: 'flasher
> Subject: FLASH: smooth scrolling - Flash 5 wish: loop while theMouseDown
>
>
> I am trying to do the simplest of scrolls. All the examples I
> have seen tend
> to be rather complex workarounds (For a non programmer). I have a
> dynamically generated array of messages on a bulletin board. I
> want the user
> to be able to press and hold the up button and for it to smoothly
> scroll up
> without the need for RSI infinite clicking. Most of the methods I
> have tried
> so far throw up infinite loop errors.
>
> I hope Flash 5 will include a 'loop while theMouseDown' type of option in
> order to facilitate click and hold buttons.
>
> Regards,
> Christian Cook
> Designer, ISL
> Tel: +44 (0)1372 227400
> Fax: +44 (0)1372 225120
> <ccc
> <http://www.isluk.com>
>
> selection of ISL developed websites:
> http://www.shanice.co.uk
> http://www.barchester.demon.co.uk
> http://www.jesuitmissions.org.uk
> http://www.seabrooks.co.uk
>
>
>
>
> ----------------------------------------------------------
> Internet communications are not secure. Any views or opinions
> presented are
> solely those of the author and do not necessarily represent those of the
> Company unless otherwise stated. This message is confidential and/or
> privileged. If you have received it in error, please contact the
> sender and
> delete the material from any computer.
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World�s Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
> -Register before Feb 25 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email help
>
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: smooth scrolling - Flash 5 wish: , Christian Cook
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

