# Need Example Code

**URL:** <https://forum.kirupa.com/t/need-example-code/123679>\
**Category:** Uncategorized\
**Created:** [September 26, 2004, 4:29am UTC](https://forum.kirupa.com/t/need-example-code/123679 "2004-09-26T04:29:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteFeather](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@WhiteFeather](https://forum.kirupa.com/u/WhiteFeather)\
**Post date:** [September 26, 2004, 4:29am UTC](https://forum.kirupa.com/t/need-example-code/123679/1 "2004-09-26T04:29:19Z")

</div>

Hi, I’m trying to create a dynamic URL from within my Flash MX file.

I am passing a variable “customer\_ID” to the flash as a parameter field, and I’ve verified that it is being passed and received correctly.

I have a button in the flash, which, when pushed, I want to link to

[http://www.somedomain.com/customer](http://www.somedomain.com/customer)= (whatever the customer\_ID is)

I’ve tried everything I’ve seen in all the tutorials, but my URL is always either an empty string, unevaluated, or only the literal part.

Can someone please show me a piece of example code to do this seemingly simple thing?

Thanks
