Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 July 31st, 2003, 06:02 AM
bonzer bonzer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 bonzer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP into Flash Please Help

Hi Guys,

I'm a total newbie at both flash and PHP, but I managed to create a flash website but my problem is this.


I want to place a textbox in the middle of my flash page which will call a .php file and place it into this textbox. Is this possible?

I've managed to call text from a text file into the box, but don't know what parameters I need to add to the actionscript to get it to recognis the .php file and all its tags.


Your help would be greatlly appreciated.

Jason

Reply With Quote
  #2  
Old July 31st, 2003, 11:04 AM
jamieB jamieB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2002
Posts: 592 jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 56 m 16 sec
Reputation Power: 17
calling the php script is no different to calling a text file as far as flash is concerned, just give the path to it in your loadvars.load or whatever you use - the difference is at the php end. what you want to php to output is exactly what flash is expecting to see, nothing more, eg

Code:
&var1=value1&var2=value2&....


so arrange the script accordingly...all depends what kind of data you want to send....for a trivial example:
PHP Code:
 $bassplayer "Paul";
$guitarist "George";
echo 
'&bassplayer='.$bassplayer.'&guitarist='.$guitarist.'&'


but obviously your data is more likely to be coming out of a database or text file.........

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > PHP into Flash Please Help


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 6 hosted by Hostway