Sedang Disiapkan

ActionScript Help query string (Small JOB!)

Hello,

This is not a commercial project, it is my own hobby project. I am creating a site for myself. I need help with passing a variable to flash with PHP. I can only pay you 5$ USD, cheap yes, but its easy for someone really good with ActionScript. (really, let me explain)

I have a flash music player which plays music from an xml file. Now the AS for that is simply;

[url removed, login to view]("admin/Music/XML/1.xml");

Now, I have it so every music shop has its own player, and a xml file according to there ID, so the first ID will have an xml file called [url removed, login to view] and the second will have [url removed, login to view] .

That is already figured out. What I need you to do is, make it so that when the view string is http://localhost/Learn/[url removed, login to view]

The query string shopIDField=1 so I want flash to load up the [url removed, login to view] like this;

[url removed, login to view]("admin/Music/XML/1.xml");

However, when the string is ?shopIDField=20 I want flash to be [url removed, login to view] like this;

[url removed, login to view]("admin/Music/XML/20.xml");

I have a variable in my PHP script;

$name = "admin/Music/XML/$thisshopID.xml" ;

which will give me the exact path to the xml file for that ID, but I need that variable ($name) to be passed to flash and be in place of the; [url removed, login to view]("admin/Music/XML/1.xml"); So in if PHP and AS were the same i would want this;

[url removed, login to view]($name);

I want it to load up that variable ($name) inside the load function and make it load the XML file according to the ID.

If your good with AS you could get the damn loadVars to work.

I choose you, I will give you the .fla file, and than [url removed, login to view] to get it work. However, it wont work of course because of the mySQL, and stuff, but still you will be able to add what you need.

Please I would like help now, and sooon, and I can only offer 5 USD over paypal (only thing I have in it.)

To make it better, and so it will work when you are working with it, I will send you the view.php and the flash files, and a folder called XML and I will have some XML files in there.

So instead of $name = "admin/Music/XML/$thisshopID.xml" ;

you can put the var to be;

$name = "admin/Music/XML/1.xml" ;

or just name have a number that is in the XML file, and when I change it to be 2 or 3554 it will use that XML file. And if that works, than it should work if the number is $thisshopID - right?

This should be like a 20 minutes job, please help me out!

Kemahiran: Adobe Flash, PHP, XML

Lihat lebih lanjut: actionscript querystring, querystring actionscript, actionscript query string, var querystring actionscript, actionscript string, actionscript string xml, actionscript xml query, query string actionscript, actionscript query, what is my paypal id, what is job id, up string, to string, string the, string i, string 2, small it job, really good stuff, php id shop, paypal still pending, n query, make commercial, job in xml, inside view, help php

Tentang Majikan:
( 16 ulasan ) Elliot Lake, Canada

ID Projek: #60722

3 pekerja bebas membida secara purata $68 untuk pekerjaan ini

vamapaull

check PM.... ;)

$30 USD dalam 0 hari
(219 Ulasan)
7.6
encodedart

Please view PMB for detail. Thanks. EncodedArt Inc - A solution Canadian provider company.

$100 USD dalam 3 hari
(53 Ulasan)
7.2
objectwebt

Through Bank Guarantee.

$75 USD dalam 30 hari
(0 Ulasan)
1.1