22-02-2006, 14:21
|
|
|
חבר מתאריך: 14.07.05
הודעות: 558
|
|
שאלה נוספת
עשיתי קוד שקורא נתונים מקובץ אבל אני רוצה לעשות שיהיו נגיד בקובץ את המשתנים הבאים:
LoodI=1
AmirI=1
OhadI=1
אני רוצה שזה יבחר את הנכון מבין השלושה לפי משתנה שלי זה הקוד שכתבתי
קוד:
stop();
loadText = new LoadVars();
_root.myTextLoader(_root.user)
function myTextLoader(textToLoad)
{
loadText.load("DB.txt");
loadText.onLoad = function()
{
myTextLoader+"i".text = this.head;
};
}
_____________________________________
Your signature did not follow Fresh's signatures policy, therefore it was automatically erased. Please see the E-Mail which has been sent to you, to learn how to fix this.
|