If
you have your own tutorials or open
source and would like to share your
Director knowledge please send them
to info@shocksites.com.
We will review them, post it and give
full credit to the developer.
Scrolling
images and text
with "regpoint" Provided by Ivan
Bachev
If you ever wondered
how to include images
in your scrolling text
member, here a work around.
I use the “regpoint” properties
of the members to simulate
the scroll function,
so instead of moving
sprites and “scrollbyline” I
am moving the “regpoints” of
the members. Surely it
is not the best way to
achieve the desired effect – having
images in your text – but
until the Macromedia
team makes an easier
way use that simple method.
First prepare your text
+ images (you might animate
them even) layout on
the stage (take a look
at the “the film
loop” marker in
this movie), well it
is not like you will
do it in html, but one
could think out of the
box. Then apply some
behavior to the images
or to the text and “film
loop” them, important
your film loop should
be with “framing – crop” properties.
Well then just put it
on you stage and crop
it with the size you
want… after that,
just mess around with
the “regpoint” code…
Not so much to say
about the code, it is
simple enough.
If someone creates some
improvements we will
be glad to see them.
And yes, it is slow just
because of the anti aliases
text property, uncheck
it and it will scroll
normal again””