|
SWiSH Forum Forum użytkowników programów SWiSH |
 |
SWiSH Max - Problem
Thog - Wto 01 Lip, 2008 17:19 Temat postu: Problem Mam problem z wczytywaniem procentowym preloader'a i animacją jednego napisu .
Skrypt preloadera :
Kod: | onFrame (49) {
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent = (percent ((loading/total)*100))*.25;
per = int(percent);
procenty = per add "%";
pasekladowania._xscale = per;
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
procent = int( loaded / total * 100 )+" %";
loaded = (loaded/1024)+" kb";
total = (total/1024)+" kb";
if (loaded >= total) {
gotoSceneAndPlay("Scene_2",3);
}
procent = int( loaded / total * 100 )+" %";
loaded = (loaded/1024)+" kb";
total = (total/1024)+" kb";
}
onFrame (50) {
prevFrameAndPlay();
} |
błędy
Kod: | ERROR: Cannot find function or member "percent" in statement:
Preloader::onFrame (49)::percent = (percent ((loading/total)*100))*.25
Referenced from: "_root"
_root.__teks can't be shown at frame 154 because it is skewed by (1.97°,3.16°)
_root.__teks can't be shown at frame 154 because it is skewed by (1.97°,3.16°)
_root.__teks can't be shown at frame 155 because it is skewed by (3.85°,6.16°)
_root.__teks can't be shown at frame 156 because it is skewed by (5.55°,8.86°)
_root.__teks can't be shown at frame 157 because it is skewed by (7.01°,11.15°)
_root.__teks can't be shown at frame 158 because it is skewed by (8.15°,12.94°)
_root.__teks can't be shown at frame 159 because it is skewed by (8.94°,14.16°)
_root.__teks can't be shown at frame 160 because it is skewed by (9.34°,14.78°)
_root.__teks can't be shown at frame 161 because it is skewed by (9.34°,14.78°)
_root.__teks can't be shown at frame 162 because it is skewed by (8.94°,14.16°)
_root.__teks can't be shown at frame 163 because it is skewed by (8.15°,12.94°)
_root.__teks can't be shown at frame 164 because it is skewed by (7.01°,11.15°)
_root.__teks can't be shown at frame 165 because it is skewed by (5.55°,8.86°)
_root.__teks can't be shown at frame 166 because it is skewed by (3.85°,6.16°)
_root.__teks can't be shown at frame 167 because it is skewed by (1.97°,3.16°)
_root.__teks stretched by (163.62%,129.18%) is shown as 129.18% uniform scale at frame 168
_root.__teks can't be shown at frame 169 because it is skewed by (-1.97°,-3.16°)
_root.__teks can't be shown at frame 170 because it is skewed by (-3.85°,-6.16°)
_root.__teks can't be shown at frame 171 because it is skewed by (-5.55°,-8.86°)
_root.__teks can't be shown at frame 172 because it is skewed by (-7.01°,-11.15°)
_root.__teks can't be shown at frame 173 because it is skewed by (-8.15°,-12.94°)
_root.__teks can't be shown at frame 174 because it is skewed by (-8.94°,-14.16°)
_root.__teks can't be shown at frame 175 because it is skewed by (-9.34°,-14.78°)
_root.__teks can't be shown at frame 176 because it is skewed by (-9.34°,-14.78°)
_root.__teks can't be shown at frame 177 because it is skewed by (-8.94°,-14.16°)
_root.__teks can't be shown at frame 178 because it is skewed by (-8.15°,-12.94°)
_root.__teks can't be shown at frame 179 because it is skewed by (-7.01°,-11.15°)
_root.__teks can't be shown at frame 180 because it is skewed by (-5.55°,-8.86°)
_root.__teks can't be shown at frame 181 because it is skewed by (-3.85°,-6.16°)
_root.__teks can't be shown at frame 182 because it is skewed by (-1.97°,-3.16°)
_root.__teks stretched by (163.62%,129.18%) is shown as 129.18% uniform scale at frame 183
|
Bardzo proszę o pomoc .
|
|