A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: External Swf Scroll text problem ???

  1. #1

    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

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    1,017
    did u use load movie to load the swf?
    if yes load it to anputher level not to a movie clip
    mey the swartz be with you

    http://www.amirlotan.com

  3. #3
    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);
    }

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    1,017
    send the file
    mey the swartz be with you

    http://www.amirlotan.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center