
Untitled
By: a guest on
Jul 15th, 2012 | syntax:
None | size: 0.48 KB | hits: 13 | expires: Never
How to retrieve a variable in a function that's processed in another .as script - flex3?
private function appliquer():void
{
verif='0';
verifierCle();
if(verif=="1")
{
//...Instructions
}
}
//VERIFICATION AVANT ENREGISTREMENT
public var verif:String ='0';
private function verifierCle():void
{
if(dateFin.time<dateDebut.time)
{
Alert.show("La date de fin ne peut pas être antérieure à la date de début.");
verif='0';
}
else
{
verif='1';
}