HI 

I have a URL

```
var str:String = "conn=rtmp://server.com/service/&fileId=myfile.flv"

```

or 

```
var str:String = "fileId=myfile.flv&conn=rtmp://server.com/service/"

```

The **str** might be like this, But i need to get the value of "conn" and "fileId" from the string.

how can i write a function for that.