Hey,
I have a simple button with a dynamic text field in it. I also have a few movieClips on the same stage that are doing funky things ....
Basicaly I am looking to change the colour of the text in the button when one of my MC's is release/clicked. Release Notes - Maven 2 - Version 2.0.5 - Text format - jira :: Release Notes - Maven 2 - Version 2.0.5 - Text format . [MNG-1379] - Wrong path for artifacts with system scope * [MNG-1395] - Change all m2.bat and m2 http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12294&styleName=Text&projectId=10500&Create=CreateHOME |
I have the following code :
mc1.onRelease = white;
^^ Function caller on a MC
function white() {
myTextFormat = new TextFormat();
myTextFormat.color = '0xFFFFFF';
_root.stopSounds.stopText.setTextFormat(myTextForm at);
}
^^ Function itself
Now my text field is inside a button with instance name stopSounds and the field itself has the name stopText. Rich Text Format - Microsoft Exchange Server Solutions Administer :: Rich Text Format Exchange solution guide. You'll need to wait about 15 or so minutes for the change to take effect unless you want to manually force the http://emailsolutions.searchexchange.com/exchange/kw;Rich+Text+Format/Rich+Text+Format/exchange.htmHOME |
All the code is on an actions frame on the root timeline. Problem is, sod all is happening and its driving me nuts. I must have been staring at this too long because I cannot see whats wrong with the code.
Any help is appreciated.
Kind Regards,
There's nothing wrong with that code if your text field already has text in it. If it doesn't then you must use setNewTextFormat.
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|