Advertisement

12.05.2003 at 01:34PM PST, ID: 20817881
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

pass variable: from url into swf out to php and back to swf?

Asked by billywig in Macromedia Flash

Tags: , , , ,

Hi,
This question is a continuation of the issue that negatyve helped me with earlier, titled: php into flash mx

I am trying to make an SWF that displays data from a Db based on the url of the page that it is embedded in.

Presently, it works if I hard code the variable directly into the SWF like this:

myLoad.load("http://www.myURL/flash_tour.php?musical_group_id=593");

But how do I get Flash to read this variable directly from the html page instead, so that I can use the same SWF for multiple variables?

I am able to get the variable from the html page to display in a dynamic text field, but I can't figure out how to get that variable into the myLoad statement so that it gets passed to the PHP script and loads the correct data into the SWF.

(In my PHP script I have  "SELECT * where musical_group_id =" . $_GET[musical_group_id];")


Once I get Flash to append the variable onto the myLoad statement I assume I can use either the query string method or FlashVars to pass it into the SWF. Or?

Do I somehow have to pass the variable from the html url into flash and then back out to the php to be read again by the SWF?...

Or do I need to put the php and html together? I was hoping to keep them separate so that the SWF could be more portable.

PHP script tha returns the data: flash_tour.php
Flash page that the SWF is embedded in:flash_tour.html
SWF:flash_tour.swf
variable: musical_group_id

background on this question: php into flash mx
http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_20815370.html

Thanks alot, billywigStart Free Trial
[+][-]12.10.2003 at 07:24AM PST, ID: 9912822

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 07:41AM PST, ID: 9912972

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 07:49AM PST, ID: 9913038

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 07:56AM PST, ID: 9913109

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 08:08AM PST, ID: 9913220

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 08:29AM PST, ID: 9913425

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 08:36AM PST, ID: 9913494

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 08:48AM PST, ID: 9913591

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 08:55AM PST, ID: 9913653

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 09:26AM PST, ID: 9913902

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 09:30AM PST, ID: 9913943

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 10:56AM PST, ID: 9914625

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2003 at 10:57AM PST, ID: 9914635

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Macromedia Flash
Tags: flash, pass, variable, url, php
Sign Up Now!
Solution Provided By: negatyve
Participating Experts: 2
Solution Grade: A
 
 
[+][-]12.10.2003 at 11:06AM PST, ID: 9914695

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.13.2003 at 06:31AM PST, ID: 9934164

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.15.2003 at 11:03AM PST, ID: 9943873

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.26.2003 at 11:13AM PST, ID: 10002987

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.26.2005 at 12:06PM PDT, ID: 14304597

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32