Old 08-09-2003, 20:54   #1 (permalink)
Wzd
Registered User
 
Join Date: Aug 2003
Posts: 4
ASP and Flash

Help! How do you get asp variable into a flash movie??

I can read them from .txt files ok but when i come to load them from an asp file i get nothing.

Here is the action script from the flash movie, with "testtext" being the variable used in the asp page and "textbox" being a dynamic text box in a flash movie:

loadVariablesNum("test.asp", 0);
testbox = testtext;

test.asp:

<%@ Language = "VBScript" %>
<% testtext="help me" %>

I'm sure its something simple im missing??

Please help before my head-banging breaks my monitor!
  Reply With Quote
Old 09-09-2003, 19:02   #2 (permalink)
Wzd
Registered User
 
Join Date: Aug 2003
Posts: 4
Its ok! i found out what i was doing wrong i had to write the variable to the screen in the asp file and link the url properly in the flash file.

the asp should read:
<%@ Language = "VBScript" %>
<% testtext="help me"
Response.Write "results="&testtext
%>

and the action script:
loadVariables("http://localhost/test/test.asp", 0);
(and name the dynamic text box in the movie, results)
  Reply With Quote
Reply



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

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8