Added: 3 years ago
From: flashbuilding
Views: 23,439
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • this works fine on my PC which is good and I can see the text but when I try loading the app onto my android with the text file in the same folder it wont load the text. really need to do this so any help would be very appreciated :)

  • this worked great, I have a further question. Can you alter and save the text file through flash?

  • Thanks, this really helped me =)

    I already had the code, but I didn't know the file had to be in the .bin directory.

  • yo this is old

    it has 360 resolution !!!

  • similarly, can i import rtf (rich text file) to flash and make them marquee???

  • i have  a question.... How do you add multiples dynamic text with out making the Action Script too big and complicated? I like your tutorials Thanks

  • i have a question.... How do you add multiples dynamic text with out making the Action Script too big and complicated?

  • Comment removed

  • Hi there.

    Great tutorial. I'm building a basic website in flash cs3, as3. I've some buttons with one dynamic text field. I want to load one particular txt file each time a specific button is pressed. How can I achieve that? Any advice would help

  • @zduhac011 i was wondering the same thing when i watched this..

  • If i put a timer to you're script.. it dosent work on IE... just other browser why??

  • so good men..the tutorial..

    by the way im also learning the xml on flash thing.

    i really luv it..cud u post more video tuturial???

  • re 'download it from the link'... it's hard to find. I could not, so thank you for posting it.

    However these tutorials are all very good. Thanks to the tutors.

  • At that site it is in the Flash Video Tutorials section. Second Orange Button Left Menu. It is first lesson under heading: "Working with Other External Files and Data"

  • I really appreciate all your tutorials! They have been extremely helpful on a number of different topics.

  • is there any possible to load external PDF?

  • Is there any way to do this in Action Script 1 or 2 aiming for compatibility with flash 7.0??

  • How would you add a scroll bar to this if the text file contains enough text to need one?

  • Dude... cant read. Please add some sound

  • sorry, can u please put the code in a comment, thanks in advance

  • you can download it at the link in the comments :)

    code is

    var loader:URLLoader = new URLLoader(new URLRequest("my_text_file.txt")­);

    loader.addEventListener(Event.­COMPLETE, completeHandler);

    function completeHandler(event:Event):v­oid { var loadedText:URLLoader = URLLoader(event.target);

    myText_txt.text = loadedText.data;

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more