Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 May 30th, 2002, 09:23 AM
hopsakee hopsakee is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 29 hopsakee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP - Flash interaction

Hello!

I've got a problem: I can't get some variables loaded into my flash movie. It is meant for a login script. The actionscript, which posts the key:

on (release) {
loadVariablesNum("http://localhost/onderzoek-online/site2/dev/Login.php", 0, "GET");
if (access == 1)
{getURL("http://www.onderzoek-online.nl", "_blank", "GET");}
else
{gotoAndStop(15);}
}

The PHP (test) script:

<?PHP
if($HTTP_GET_VARS["key"] == "correct-login")
{
echo "access=1";
}
else
{
echo "access=0";
}
?>

Thanks for helping me.

Reply With Quote
  #2  
Old May 30th, 2002, 01:41 PM
Rooseboom's Avatar
Rooseboom Rooseboom is offline
busy...is there any other way?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Location: Amersfoort, Netherlands
Posts: 259 Rooseboom User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 9 m 43 sec
Reputation Power: 12
To make flash 'see' variables you have to make it like:

&access=1

so you can test the connection between flash and php with

PHP Code:
<?
echo "&access=1";
?>


and nothing more, when you get flash working with this, then create the correct function in the phpfile to set the access variable

g'luck

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > PHP - Flash interaction

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap