# onClipEvent (load) Text Formatting?

**URL:** <https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617>\
**Category:** Uncategorized\
**Created:** [March 10, 2006, 10:26pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617 "2006-03-10T22:26:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Post date:** [March 10, 2006, 10:26pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/1 "2006-03-10T22:26:07Z")

</div>

Is there a way to change the font of ButtonTextVariable? This is a button that slides in from the left.

I have spent three hours looking for a way, but have yet to find one???  
//Button text and URL  
onClipEvent (load) {  
ButtonTextVariable=“Links”;  
url = “links.swf”;  
placement = “\_root.DisplayArea”;  
scale = 0;  
}

//Sliding in  
onClipEvent (enterFrame) {  
if (scale == 1) {  
\_x = \_x+(100-\_x)/6;  
}  
if (scale == 0) {  
\_x = \_x+(20-\_x)/10;  
}  
}

Thank you in advance, :bounce:

---

<div class="post-metadata">

**Author:** ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Post date:** [March 21, 2006, 4:03pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/2 "2006-03-21T16:03:25Z")

</div>

Greetings,

I have tried over the last 10 day to find a solution to formatting the text below, but to no avail. I have included a part of the fla in case anyone has an idea (had to remove some things to make the 74k upload limit).

Note:  
I have learned a LOT from reading the posts here at Kirupa and am greatful for this forum! I am actually creating my own flash wedding album from scratch (the photographer wanted $1,500 for one!!!) which I will post when completed.

Regards,

Rustyd

> [@Rustyd](#):
>
> Is there a way to change the font of ButtonTextVariable? This is a button that slides in from the left.
> 
> I have spent three hours looking for a way, but have yet to find one???  
> //Button text and URL  
> onClipEvent (load) {  
> ButtonTextVariable=“Links”;  
> url = “links.swf”;  
> placement = “\_root.DisplayArea”;  
> scale = 0;  
> }
> 
> //Sliding in  
> onClipEvent (enterFrame) {  
> if (scale == 1) {  
> \_x = \_x+(100-\_x)/6;  
> }  
> if (scale == 0) {  
> \_x = \_x+(20-\_x)/10;  
> }  
> }
> 
> Thank you in advance, :bounce:

---

<div class="post-metadata">

**Author:** ![999](https://avatars.discourse-cdn.com/v4/letter/9/c5a1d2/32.png) [@999](https://forum.kirupa.com/u/999)\
**Post date:** [March 21, 2006, 5:07pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/3 "2006-03-21T17:07:33Z")

</div>

Go into the library (or from the stage) and double click to get into the ButtonMaster clip. Lock and hide the first layer called HitZone and you’ll see the text box on the second keyframe. Use the properties panel to change your font settings. Uppercase,lowercase, numerals, and punctuation have already been embedded for the field.

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 21, 2006, 5:12pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/4 "2006-03-21T17:12:37Z")

</div>

I’m gonna have to get into the wedding gallery business…🙂

---

<div class="post-metadata">

**Author:** ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Post date:** [March 21, 2006, 5:18pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/5 "2006-03-21T17:18:21Z")

</div>

Thank you 999,

I tried the button master a few days ago, but didn’t have properties open when clicking on that frame - works perfectly now!

Best Regards,

Rustyd

> [@999](#):
>
> Go into the library (or from the stage) and double click to get into the ButtonMaster clip. Lock and hide the first layer called HitZone and you’ll see the text box on the second keyframe. Use the properties panel to change your font settings. Uppercase,lowercase, numerals, and punctuation have already been embedded for the field.

---

<div class="post-metadata">

**Author:** ![Rustyd](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@Rustyd](https://forum.kirupa.com/u/Rustyd)\
**Post date:** [March 21, 2006, 5:24pm UTC](https://forum.kirupa.com/t/onclipevent-load-text-formatting/181617/6 "2006-03-21T17:24:12Z")

</div>

It’s big $$.

I’m more of an ASP VBScript guy learning (trying!) Flash, so if you are using VBS, drop me a note if you need some assistance.

Rustyd

> [@Defective](#):
>
> I’m gonna have to get into the wedding gallery business…🙂
