SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 6th, 2003, 06:25 PM
NooRotic NooRotic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 15 NooRotic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Data from PHP\ Multiple ROWS single flash ????

Ok, here is the issue.

I have PHP display multiple rows of data = No problem.

I am displaying a single flash file that loads dynamic Text.

The flash file is reading the last variable displayed. I'm trying to think of a way to have the flash file load the approprate data for the row. I thought well, i could somehow number the rows and have flash read it for the row it's in....how do i tell the flash file what row it's in? I keep hitting walls with this and I'm getting very desperate.

Please help! any posts are appreciated.

Last edited by NooRotic : August 6th, 2003 at 06:29 PM.

Reply With Quote
  #2  
Old August 6th, 2003, 07:15 PM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant
why not have the flash tell the php what row to get in the load vars call, and then have the php output the appropriate row?

One way I can think of to do this is by putting the row ID in the querystring:

Code:
// here define what row you want to get, however you want to do that
var ID = 0;

my_lv = new LoadVars();
my_lv.onLoad = handleLoad;
my_lv.load("page.php?ID="+ID);


I haven't actually tried this out, but I think it should work.

Reply With Quote
  #3  
Old August 6th, 2003, 09:00 PM
NooRotic NooRotic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 15 NooRotic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
My bad, i didn't really explain my set up properly. I'm running php with templates and within the template bar, i have a single flash file.

When rows of data are displayed it's calling that single flash file. It loadsvarnum from the php but it displays the last var instead of each one. The php is displaying the correct vars I need placed but since i'm using a single flash file (displayed in each row from the template) it's only loading the last &var=value.

I'm trying to get each row to display the proper information. Is this even possible??



Hope this helps clear up what I meant.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Data from PHP\ Multiple ROWS single flash ????


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway