# Multidimensiona lUrl Query String

**URL:** <https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496>\
**Category:** flash\
**Created:** [January 17, 2003, 10:35pm UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496 "2003-01-17T22:35:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![waffe](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@waffe](https://forum.kirupa.com/u/waffe)\
**Post date:** [January 17, 2003, 10:35pm UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/1 "2003-01-17T22:35:02Z")

</div>

Ok,

This 1st part works

I am loading a sound by reading a Url Query String

mSound.loadSound(url, true);

This is what the url string looks like

/dev/profile/profile\_manager\_top\_frame.asp?url=/media/mp3/719\_6343.mp3&playing = 1

It is taking the word url and puting the mp3 path in its place,  
works great.

Problem,  
Flash does not see the second part of the string,“playing=1”  
Why is this? Does flash not read multidimensional Url Quary Strings?

Help  
:sure:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 11:21pm UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/2 "2003-01-17T23:21:19Z")

</div>

Try escaping the url:

```php
escape("/dev/profile/profile_manager_top_frame.asp?url=/media/mp3/719_6343.mp3&playing = 1")/*returns %2Fdev%2Fprofile%2Fprofile%5Fmanager%5Ftop%5Fframe%2Easp%3Furl%3D%2Fmedia%2Fmp3%2F719%5F6343%2Emp3%26playing%20%3D%201*/

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 18, 2003, 12:31am UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/3 "2003-01-18T00:31:32Z")

</div>

I beleive I found a differnt way to pass data to flash via the object/embed command in html. Still interested in what you mean by escapeing the URL, is this a php. function, or can asp. do this as well?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 18, 2003, 12:34am UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/4 "2003-01-18T00:34:02Z")

</div>

mSound.loadSound(escape("/dev/profile/profile\_manager\_top\_frame.asp?url=/media/mp3/719\_6343.mp3&playing = 1"), true);

let me know if it works!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 18, 2003, 12:46am UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/5 "2003-01-18T00:46:44Z")

</div>

I don’t understand why that would do what I need, this would no longer let the mp3s be dynamic, it would be static. You see the loadsound comand states url, which reads the ?url=“thePath”.  
If you already know this and your talking about something else I apologies for not understanding, but I think the object/embed command will work just fine.

Thanks,

Bill

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 18, 2003, 12:49am UTC](https://forum.kirupa.com/t/multidimensiona-lurl-query-string/11496/6 "2003-01-18T00:49:47Z")

</div>

> \*Originally posted by waffe \*  
> **Problem,  
> Flash does not see the second part of the string,“playing=1”  
> Why is this? Does flash not read multidimensional Url Quary Strings?**

This was your problem, that playing 1 doesn’t get triggered using the above way, using my solution, it get triggered, that’s all…
