Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
Server side Scripting and Database Support
»
MySQL, PostgreSQL, MS SQL, Access
(Moderators:
Flash-db
,
Musicman
,
Ronald Wernecke
,
Jorge Solis
,
Andries Seutens
) »
recordset sent to flash
« previous
next »
Print
Pages: [
1
]
Author
Topic: recordset sent to flash (Read 2098 times)
skitzer
Jr. Programmer
Posts: 84
recordset sent to flash
«
on:
11/14/06, 12:22 »
I don't know the best way to do this. I want to load data from my database and be able to scroll through the records using buttons in my Flash form. I don't think it is optimal to keep querying the database on every button click, but I'm not sure how to pass an entire recordset back to flash. I am considering using a linked list. Someone please give me some advice as to what's the best way to accomplish my task. Thanks.
Logged
Ronald Wernecke
Global Moderator
Systems Administrator
Posts: 6203
Re: recordset sent to flash
«
Reply #1 on:
11/14/06, 15:15 »
Hi Skitzer,
how large are these recodsets?
If it is rather low or medium sized blocks, you can transfer the data via XML.
If you want to do it with advanced techniques, have a look into AMFPHP
Logged
happy flashing
Ronald
skitzer
Jr. Programmer
Posts: 84
Re: recordset sent to flash
«
Reply #2 on:
11/16/06, 12:14 »
Hey.
I don't think they'll be anymore than 10 records........
I'm using ASP to read/write to the database. Isn't there a way to do it using that?
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re: recordset sent to flash
«
Reply #3 on:
11/16/06, 13:28 »
For a simple way, pass the entire recordset as name/value pairs, check
http://www.flash-db.com/Tutorials/loading/
Jorge
Logged
Twitter
http://twitter.com/solisarg
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
Server side Scripting and Database Support
»
MySQL, PostgreSQL, MS SQL, Access
(Moderators:
Flash-db
,
Musicman
,
Ronald Wernecke
,
Jorge Solis
,
Andries Seutens
) »
recordset sent to flash