![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
actionscript + php question
Is it possible to pass a variable used by a php script in actionscript, even though its not defined in the actionscript, but in the actual external php script?
Im trying to pass the wordpress plugin path to a video plugin that requires a script, normally it has to be put in the root directory, I want it in the plugin directory instead. any help is greatful. ![]()
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
You can communicate between flash/AS and PHP in a few ways.
The most simple is to just pass the variable as a flashvar. IE, in your embed src.... foo.swf?varname=<?=$value?> Obviously depending on your embed method (swfobject etc) the implementation will change. Failing that, you can use AS to do a datapost to a URL, and receive back information. I'm assuming the first will be what you're looking for. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
|
Quote:
http://snipplr.com/view/2946/call-an...ript-function/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |