A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    14

    external swf with external text

    old question i guess but

    I have a swf with an external text file loaded into it:

    loadVariables("p.txt","_root");

    (the text file goes in a scrollbox)

    than-
    i am calling the above swf from another swf-
    on(release){
    loadMovie("a-ptxt.swf","text");
    }
    but
    all i get is the scrollbox and the and the textfield- empty
    anyone with a solution

  2. #2
    Super Moderator
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    loadVariables("p.txt",this);

    will ensure the variables are loaded in the timeline where the action is set.

    You target should be an expression. As in:
    loadMovie("a-ptxt.swf",text);

    also, it is not recommended to use signs like 'minus' in a file name:
    a_ptxt.swf would be better.

    gparis

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    14

    thanks-but

    didnt got it work properly
    can you pls maybe direct me to a webpage with an example
    raanan

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