Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: flash design

  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts

    flash design

    i want to make a site in flash, which ive never done before, and was wondering what is best way to load external files in to the movie? So say you click "contact us", an external file called contact.txt, or .html or whatever the extension needs to be is displayed in the content area of the site.
    Last edited by dispector; 08-06-2005 at 08:12 PM.
    later

  • #2
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post
    On the first keyFrame, type :

    Code:
    myData = new LoadVars();
    myData.onLoad = function(){
       myText_txt.text = this.content;
    };
    myData.load("example1.txt");
    
    stop();
    Where MyText_txt property is set to Dynamic Text.


    See : http://icebergz.flashband.net/

    For the sake of your clear understanding, refer to the attached file.
    Hope you OK

    __________________________

    Submit your vote for us here :
    Sub Forums For Multimedia
    Attached Files Attached Files
    Last edited by iota; 08-07-2005 at 08:57 AM.


  •  

    Posting Permissions

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