Hi Everyone,
I have a really simple Newbie question regarding scroll text.
I have some text in one swf, “about.swf” that you can scroll through
using up and down arrows. I would like to load it inside of my master
swf, “backbonemetals.swf”. Of course, it works fine when I test it (about.swf)
on it’s own but it doesn’t work inside of “backbonemetals.swf”. I know
this has something to do with the movie referring to “root” in
my actionscripting, but I’m new and I don’t know how to change it. I’ve tried
replacing “root” with “this” but it still doesn’t work. All my coding is listed
below and you can download both fla files from the links below.
Thank you for your help!!!
The “backbonemetals” fla
http://www.movedigital.com/go/peral…kbonemetals.fla
The “about” fla
http://www.movedigital.com/go/peraltatv/66561/about.fla
My coding for “about.fla”
On Main Timeline-
Up Arrow:
on (rollOver) {
tellTarget (“control”) {
gotoAndPlay(2);
}
}
on (rollOut, dragOut) {
tellTarget (“control”) {
gotoAndStop(1);
}
}
Down Arrow:
on (rollOver) {
tellTarget (“control”) {
gotoAndPlay(5);
}
}
on (rollOut, dragOut) {
tellTarget (“control”) {
gotoAndStop(4);
}
}
Inside My “control” Movie Clip-
Down Layer:
y = getProperty("_root.text.content", _y);
if (y<-1600) {
gotoAndPlay(4);
} else {
setProperty("_root.text.content", _y, y-6);
}
Up Layer:
y = getProperty("_root.text.content", _y);
if (y>100) {
gotoAndStop(1);
} else {
setProperty("_root.text.content", _y, y+6);