Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: zoom & scrolling; smoother solution?
From: Muzak
Date: Fri, 12 Jan 2001 21:41:43 GMT

Put the scroll buttons in a movieclip.
Scroll up button has this action:

on (press){
scrollUp=1;
}
on (release) {
scrollUp=0;
}

scroll down button has this action:

on (press) {
scrollDown=1;
}
on (release) {
scrollDown=0;
}

attach this action to the MC the buttons are in:

on (enterFrame) {
if (scrollUp==1) {
//put scroll up action here
}
if (scrollDown == 1) {
//put scroll down action here
}
}

repeat similar proces for the zooming.

hth,
Muzak

----- Original Message -----
From: "Ted Nunes" <tedatduthiemm [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Friday, January 12, 2001 10:00 PM
Subject: FLASH: zoom & scrolling; smoother solution?


> I've created a "viewer" that zooms and scrolls a diagram (which is loaded
> as a MC).
>
> I've got buttons which use "set property" (x and y and the scale for the
> zoom) but the buttons will only increment the values with seperate clicks
> (even "on press" only executes the actions once).
>
> It's decent as is, and I don't have a lot of time left in the budget to get
> too "programmy", but how would one go about making it continue to scroll
> (or zoom) while the button is being pressed? Any info would be peachy.
> Thanks.
>
> Ted Nunes - Art Director - Duthie Associates, Inc.
> tedatduthiemm [dot] com - http://www.nashvillepresentations.com
> 3310 West End Ave. Ste 575 - Nashville,TN 37203
> 615-386-3061 - 615-386-3063 (fax)
> "Interactive Presentation Systems That Persuade and Train"
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
> -Sponsored by Macromedia, Adobe Systems and Apple Computer
> -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save �200
> http:// www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: zoom & scrolling; smoother soluti, Ted Nunes

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]