You can achieve this with CSS.
| Code: : |
a:link {color: #FF0000;}
a:hover{color: #00FF00;}
|
The Flash help files cover this topic in detail.
The following code may be useful as well if you need to know when a text field has been updated by Flashblocks. "complete" is dispatched from each Editblock instance when it is populated with content.
| Code: : |
var ebListen:Object = {};
ebListen.complete = function(obj:Object){ // {type, target, tagData}
// Editblock instance
// obj.target
// movie clip that is attached to Editblock:
// obj.target.targetMC
// trace the entire data object with TraceObject
// flashblocks.Flashblocks.TraceObject(obj.data)
}
myEditblock.addEventListener("complete", ebListen);
|