# Flex internals: Setting a button label

DevFeed: [Flex internals: Setting a button label](<https://devfeed.tech/articles/flex-internals-setting-a-button-label-35400.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/flex-internals-setting-a-button-label/>)

Author: Graham King

Published: 2009-03-16T23:50:32Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [Framework](<https://devfeed.tech/topics/framework.md>), [ActionScript](<https://devfeed.tech/topics/actionscript.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [event](<https://devfeed.tech/tags/event.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [framework](<https://devfeed.tech/tags/framework.md>), [interface](<https://devfeed.tech/tags/interface.md>), [render](<https://devfeed.tech/tags/render.md>), [screen](<https://devfeed.tech/tags/screen.md>), [software](<https://devfeed.tech/tags/software.md>)

## AI overview

This article traces how changing a button label in a Flex application triggers the framework's invalidation and validation cycle. It explains how Flex queues updates and uses Flash RENDER and ENTER_FRAME events to call update methods on the next frame.

## Source excerpt

Unraveling the Flex framework: A journey from button click to screen update.