# Help! seeking and changing only part of URL

**URL:** https://forum.kirupa.com/t/help-seeking-and-changing-only-part-of-url/304132
**Category:** flash
**Created:** [February 2, 2010, 7:42am UTC](https://forum.kirupa.com/t/help-seeking-and-changing-only-part-of-url/304132 "2010-02-02T07:42:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![micronet](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@micronet](https://forum.kirupa.com/u/micronet)
#### Post date: [February 2, 2010, 7:42am UTC](https://forum.kirupa.com/t/help-seeking-and-changing-only-part-of-url/304132/1 "2010-02-02T07:42:00Z")

</div>

Hi,  
I have a question about my site…  
I have to set button for changing the default language with another one … this button have to be in my flash header … only the header in my site is flash …  
How can I do this … ?  
I want to read the current URL and change the part of it …  
for example:  
www . [myweb.com/en/about.html](http://myweb.com/en/about.html)  
\>\>\>\> www . [myweb.com/fr/about.html](http://myweb.com/fr/about.html)

Is this possible with ActionScript 2.0???  
Sorry about the question … but I really need the answer!!!

Thanks a lot!!
