Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 30th, 2004, 09:51 AM
Authorized User
 
Join Date: Jan 2004
Location: Manchester, , United Kingdom.
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Ashleek007
Default PHP passing variables to .swf file

Right, not sure whether this is in the right forum, but you guys have helped me out a boat load before so here goes,

I have got a flash site, which uses dynamic text boxes with varibles attached to each dynamic text field. I know how to display text from a database using PHP in a basic php file but i want the .swf file to display these PHP variable values too.

How do i go about getting the information stored in my PHP variables passed into my flash MX .swf file?

i know basic actionscripting by the way!

Thanks
Ash:D

My new web design domain
www.askmultimedia.co.uk
__________________
My new web design domain
www.askmultimedia.co.uk
Reply With Quote
  #2 (permalink)  
Old November 30th, 2004, 11:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You would use the loadVariables("YourFileName.php", YourMovieClip)

Then you access it through the YourMovieClip.YourVariable

Peace
Mike
Reply With Quote
  #3 (permalink)  
Old December 5th, 2004, 09:46 AM
Authorized User
 
Join Date: Jun 2004
Location: chandigarh, , India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vikas
Default

There are 3 ways to do this:
1.) LoadVars (read Macromedia Flash Documentation) -for small apps
2.) Using data transfer using XML. -for medium apps
3.) Flash Remoting using AMFPHP. - for largescale apps

vikas/alakh
alakhniranjan@rediffmail.com
Reply With Quote
  #4 (permalink)  
Old December 15th, 2004, 08:38 PM
Registered User
 
Join Date: Dec 2004
Location: mecca, , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Beautiful Mind
Default

how can ya display text from a database using PHP in a basic php file



and pleas guys display more




Reply With Quote
  #5 (permalink)  
Old December 15th, 2004, 09:38 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Do you want to use Flash at all?

What database are you using?

-Snib - http://www.snibworks.com
Where will you be in 100 years?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables from HTML to php manunair PHP How-To 9 April 9th, 2006 11:27 PM
Passing PHP variables to javascript wfrisch Pro PHP 10 April 5th, 2005 05:13 AM
Passing Variables from PHP to PHP brian3166 PHP How-To 4 January 31st, 2005 12:44 AM
swf file sentme_mail Flash (all versions) 1 November 27th, 2004 09:13 PM
passing variables from PHP to Perl joconnor Beginning PHP 4 July 21st, 2004 08:13 AM



All times are GMT -4. The time now is 10:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.