Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Continuous on(press) |
From: | Jason Bouwmeester |
Date: | Tue, 12 Sep 2000 16:35:12 +0100 |
I've posted this to another list but to no avail... perhaps someone on this
list might have further ideas? This is just wacked!
O.K. I've HAD IT!
onClipEvent (enterFrame) {
if(_root.keepScrolling){
_root.content.bioContent.scroll =
_root.content.bioContent.scroll-1;
}
}
That is my code for decrementing (scrolling up) and
onClipEvent (enterFrame) {
if(_root.keepScrolling){
_root.content.bioContent.scroll =
_root.content.bioContent.scroll+1;
}
}
is my code for incrementing (scrolling down).
Get this - if BOTH are set to +1 (increment), both buttons will cause it to
scroll down like it is supposed to. But as soon as I change one of them (it
doesn't matter which) to -1 NEITHER BUTTONS WORK!
I have 2 mc's: MC BTN Scroll Up and MC BTN Scroll Down - both these contain
a button called BTN: Arrow.
Any ideas? I'm at the end of my rope with this... I just don't understand
why it works if they are both set to +1 but won't work when I set one of
them to -1.
Go figure...
TIA,
jb
-----Original Message-----
From: Jason Bouwmeester [jasonintervisual [dot] com (mailto:jasonintervisual [dot] com)]
Sent: Monday, September 11, 2000 4:15 PM
To: 'flashcoderschattyfig [dot] figleaf [dot] com'
Subject: RE: [Flashcoders] Continuous on(press)
Helen,
Thanks for the help, arrgghhh... figured it out, for some reason
this.keepScrolling wasn't working so I did _root.keepScrolling and accessed
the variable through _root.content.bioContent.scroll and it seems to be
working now... seems I couldn't access bioContent without referencing the
whole thing...
Thanks again,
jb
-----Original Message-----
From: Helen Triolo [designeri-technica [dot] com (mailto:designeri-technica [dot] com)]
Sent: Monday, September 11, 2000 3:38 PM
To: flashcoderschattyfig [dot] figleaf [dot] com
Subject: Re: [Flashcoders] Continuous on(press)
In my Flash 5 journal, there's a kind of tutorial on doing this with
onClipEvent(enterFrame) -- it's the Sept 7 entry. If it's not clear,
feel free to ask (of course). It's much cleaner than the F4 way.
Helen
---------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5
Flash Q&A archive: http://i-technica.com/flashlist
Jason Bouwmeester wrote:
>
> Is there an easy way to detect for a continuous on(press) event? Could
this
> be done with a do while statement? Just not sure how to go about this
> without it getting too complicated.
>
_______________________________________________
Flashcoders mailing list
Flashcoderschattyfig [dot] figleaf [dot] com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoderschattyfig [dot] figleaf [dot] com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoderschattyfig [dot] figleaf [dot] com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]