-
External Swf Scroll text problem ???
I made swf movie where you can scroll text.
when I pulish it works fine,but then when I use it
as external swf in my main movie, text is gone.
Text file and scrolling swf file is in the same folder
as my main movie. What is the problem?????
here is the code
first frame:
loadVariablesNum ("text.txt", 0);
frame #36:
lastline = Importedtext.maxscroll;
scale = 176/lastline;
/Scrollbar:scale = 176/lastline;
setProperty ("/scrollbar/scrollbarcontrol", _y, -88);
Scrollbarvalue = -88;
frame#37:
linenum = 1+Number(int((Number(Scrollbarvalue)+88)/scale));
Importedtext.scroll = linenum;
frame#38:
gotoAndPlay (37);
I didnt put code for buttons couse they look like they do work
Please HELP ME
-
did u use load movie to load the swf?
if yes load it to anputher level not to a movie clip
-
This code is on my button.I tried load it to LEVEL and TARGET
but non of them worked.
Thanks for helping.
on (release) {
unloadMovie (13);
loadMovieNum ("scrollbox.swf", 15);
}
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|