• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development

    Software and web development Databases, graphics, programming, scripting and web development.

    Reply
     
    LinkBack Thread Tools
    Old 06-02-2004, 05:32 PM   #1 (permalink)
    Senior Fusion
     
    Join Date: Jul 2003
    Posts: 245
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Flash / Swish / Actionscript

    I have a website. It is mainly made in swish because swish is easier for me to use than flash. I load all my sites content (news etc) into a sprite in swish called 'content'.

    No problems there.

    I like to import elements of flash mx into this sprite. I made an flash file called news.swf in flash. Play it on its own and it runs perfectly. Takes the news from a text file and puts into a scrollable text box.

    No problems there.

    I set up my news button in my swish movie (index2.swf) to load the movie news.swf into the sprite, content.

    The scrollbar shows up, but not the text. Im pretty certain i have to put the absolute address of the textboxes (now inside the sprite), but im not quite sure what to do.

    My actionscript is as follows:

    myData = new LoadVars();
    myData.onLoad = function(success) {
    if (success) {
    myTitle_txt = this.title;
    myDate_txt.text = this.date;
    myText_txt.text = this.entry;
    } else {
    myText_txt.text = "error loading variables";
    }
    };
    myData.load("news.txt");
    stop();

    ------------------------------------------

    myTitle_txt = the title textbox
    myDate_txt = the date textbox
    myText_txt = the main article text textbox
    news.txt = the text file containing my text

    -------------------------------------------

    Hope someone knows what im going on about, and how to sort it out !

    Thank you,
    Chris Traverse

    http://www.voidonline.tk

    when the fog comes up from the sewers and glows in the dark
    Drunken Poncho is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On


    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    flash sony dru-510a back to dw-u14a? HcksawEddie HEXUS.hardware 0 14-01-2004 01:21 PM
    Is it safe for me to flash my 9700np to pro, where do I get the bios? madwelshboy Graphics cards and Monitors 11 18-12-2003 03:35 PM
    Alu USB 6 in 1 card read / USB flash drive Lexeus Current Bargains 6 13-12-2003 08:09 PM
    flash templates Russ Software and web development 1 05-10-2003 12:10 AM
    Macromedia Flash Question rc55 Software and web development 4 29-07-2003 02:23 AM



    All times are GMT. The time now is 02:14 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned.
    HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    For more information please read HEXUS Limited's terms, conditions and privacy policy.

    Hosted Exchange | Virtual Dedicated Server

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    Copyright © 2010 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.