-
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
-
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
-
:)
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
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|