dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: loadVariablesNum

  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    26
    Hello

    I've been trying to use the loadVariablesNum option to load a text file and then find out the total number of characters in the text file.

    the code used is on a button rollover

    on(rollover)
    {
    loadVariablesNum("abc.txt", 0);
    x=length(_root.txtvar);
    trace(x);
    }

    where txtvar is a dynamic text object on the timeline (_root).

    The problem I am facing is that on the first rollover it is loading the file as it is being displayed but the total number of characters is only shown when the mouse is again rolled over the button.
    why is this happening?

    please help me...

    Paromita


  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    check my reply on movingTears' thread... next to yours

    Musicman

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