Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » passing value from ASP to Flash


passing value from ASP to Flash

Reply
  #1 (permalink)  
Old 09-11-06, 12:30 AM
eric1026 eric1026 is offline
New Member
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy passing value from ASP to Flash

how to pass the value from asp file to flash? my code in asp as at below:

Code:
 
rsStatus.Open "SELECT * FROM book", oConn, 2, 3
seat_status = rsStatus("seat")
seatAV="&seatAV="& seat_status
Response.Write seatAV
and the code at Flash is as below:


Code:
stop();
seat_array = seatAV.split(",");
seat_length = seat_array.length;


why i fail to pass the value seatAV to flash? what is my error? thank for help.
Reply With Quote
  #2 (permalink)  
Old 09-12-06, 11:38 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
you have to load the data into flash. use the LoadVars, check out livedocs of macromedia. or search this forum for an example of LoadVars

greetz,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Programmer wanted - Romania valheru Job Offers & Assistance 1 07-13-06 09:04 AM
Passing a value from one asp page to another and selcted in a list box minority ASP 1 07-12-05 10:20 AM
ASP / FLASH Developer needed for Job. Steelman Job Offers & Assistance 2 11-21-04 08:07 AM
Passing text vs numeric data as ID from one ASP page to another arobbo61 ASP 7 09-24-04 01:02 AM
ASP with flash kobalt7 ASP 3 05-19-04 07:21 AM


All times are GMT -5. The time now is 06:25 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.