Toon posts:

[FlashMx] backgroundColor textfield vaagheid

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik zet mbv onderstaande function de background van een textfield, bij rollout rollover. Zodra ik de variabele van het textfield wijzig (varHeadline), werkt het toekennen van de backgroundColor niet meer.

Dit lijkt me een Flash bugje, niets aan het textfield wijzigt behalve de variable. Wat kan ik hier erm... aan doen :P

function setHeadline(){
_root.currentHeadline.currentEntry.html = true;
_root.currentHeadline.currentEntry.selectable = false;
_root.currentHeadline.currentEntry.background = true;
_root.currentHeadline.currentEntry.textColor = 0x004477;
_root.currentHeadline.currentEntry.backgroundColor = 0xFFFFFF;
_root.currentHeadline.varHeadline = aTicker[0].headline;

_root.currentHeadline.onPress = function () {
this.currentEntry.backgroundColor = this.oldColor;
getURL(this.currentEntry.link, "_blank");
};

_root.currentHeadline.onRollOver = function () {
_root.allowChanges = false;
this.oldColor = this.currentEntry.backgroundColor;
this.currentEntry.backgroundColor = 0xDDEEFF;
};

_root.currentHeadline.onRollOut = function () {
_root.allowChanges = true;
this.currentEntry.backgroundColor = this.oldColor;
};
}

  • oh,when?
  • Registratie: April 2000
  • Niet online

oh,when?

...

Flash ActionScript:
1
this.currentEntry.background = true;


toevoegen....

/edit aan de onPress en Rollover methods dan he :)

[ Voor 27% gewijzigd door oh,when? op 19-05-2003 15:16 ]

"You're only as good, as what you did last week."