Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bringing in things from Databases

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
I don't know if I don't have the concept down or not, but I have problems
bringing data in from my database. Okay I have the following code

strVDS = strVDS & "&empName=" &
server.UrlEncode(empDS.tables("employeeinfo").Rows(0).Item("firstName") & "
" & empDS.tables("employeeinfo").Rows(0).Item("lastName")) & _
"&empaddress=" &
server.UrlEncode(empDS.tables("employeeinfo").Rows(0).Item("address")) & _
"&emptitle=" &
server.UrlEncode(empDS.tables("employeeinfo").Rows(0).Item("title"))
Response.Write(strVDS)

In my flash application I am using this command.

loadVariablesNum("flash.aspx", 0);

I have two problems. one if I leave out the Response.Write(strVDS) from my
code it doesn't pull the information into the flash file. Which I don't want
stuff being displayed on the screen and in flash too.
Also on my last variable called emptitle it grabs the information then there
is a line skip and below that is the entire code for the page that is
brought into flash.

Can someone help me get a better grasp on this.

 
The Response.Write code won't display anything on the screen because your aspx script isn't outputting directly to the browser. But the data has to be 'written' in order for there to be an output for Flash to read. If you don't write it out the data goes nowhere.

I don't get what you mean in the second question are you saying that the actual code of the server-side page is appearing in the Flash movie?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top