hi
I'm working on a project and it's about eyePhone ui for my Nokia 6700 Slide
and I'm having trouble combining both function in the swf file
I'm following those two tutorials
http://www.developer.nokia.com/Commu...gnal_indicator
http://www.developer.nokia.com/Commu...tery_indicator
here's my code
the battery were working but after I added signal indicator, the battery follows signal functionCode://battery status = fscommand2("FullScreen", true); fscommand2("SetQuality" ,high); blevelsNumber=15 batMax = fscommand2("GetMaxBatteryLevel"); batLevel = fscommand2("GetBatteryLevel"); batSource = fscommand2("GetPowerSource"); batLevel2 = Math.ceil(batLevel*blevelsNumber/batMax); if (batSource == 1) { gotoAndPlay(blevelsBumber+1); }else{ gotoAndPlay(batLevel2); } //(Signal) levelsNumber=5; signalMax = fscommand2("GetMaxSignalLevel"); signalLevel = Math.ceil(fscommand2("GetSignalLevel")*levelsNumber/signalMax); networkstatus = fscommand2("GetNetworkStatus"); if (networkstatus == 0) { signalLevel = levelsNumber + 1; }else{ gotoAndPlay(signalLevel); }
for example if there were 3 bars of signal the battery signal will be 3 too
any suggestion?




