A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: ASP - aaghhhh!!!

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    28

    ASP - aaghhhh!!!

    Afternoon,

    I have a movie called news.swf which will be loaded by a base movie. News.swf should show data from an asp page and works when I run it on its own. However when I run the actual base movie which loads the news.swf the data doesn't show. Am I missing something???

    Also - Im getting this message in one of the txt fields instead of the actual data:

    _level0.mov_VertScroll.mov_Txt.NewsD


    Please help!!!

    Pete M

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    How do you load from the asp page - loadVariablesNum, loadVariables(..., _root), a LoadVars object?

    The funny text shows up as long as the text field is not filled from the server - it should go away if you only use a variable name for the textfield

    Musicman

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Posts
    28

    :)

    This loads the asp stuff into news.swf.

    onClipEvent(load)
    {
    loadVariables ("vanews.asp", this, "POST");
    }
    onClipEvent(data)
    {
    strNewsDate = NewsD;
    strNewsText = NewsText;
    strHeadline = Headline;
    }

    And this is what loads the news.swf into the base movie:

    loadMovie("news.swf","_root.mov_ShowInfo");

    Thanks,

    Pete M

  4. #4
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    these two configurations both work:
    a) movieclip on stge which contains the text fields; code like yours
    b) movieclip on stage, and textbox on stage; the code chnges to
    onclipevent(data)
    { _parent.strNewsText = NewsText;
    }


    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