Tue 15 Apr 2008 12:29:31 PM UTC, comment #5:
Alright, culprit is a BOM at the beginning
of the variables file. Gnash does NOT ignore it
so what the movie expects to be called 'liczba_miast'
in gnash is instead '<EF><BB><BF>liczba_miast'.
Next thing to test is wheter the BOM is expected to be
ignored in all functions taking a string in input
or only when it is found in a loaded file (vars, xml.. others ?)
For more info about BOM:
http://unicode.org/faq/utf_bom.html#29
http://en.wikipedia.org/wiki/Byte-order_mark
|
Tue 15 Apr 2008 11:47:53 AM UTC, comment #4:
It's the onLoad call. Only loop in onLoad shown by listswf_d is this:
php_vars_load.onLoad = function (success) {
if( success ) {
var lmiast;
lmiast = Number(parseInt(php_vars_load.liczba_miast));
var j = 1;
while( !(j>lmiast) ) {
mcMain.MIASTA[j] = this['miasto'+j];
++j;
}
trace(mcMain.MIASTA);
mcMain.mc_data_preloader.alphaTo(0,0.5,'easeInQuad',0);
mcMain.wypelnij_liste_miast(mcMain.mc_listy.mc_lista_miast.mc_lista,'mc_tf.bt_tf',mcMain.mc_listy.mc_lista_miast.mc_scroll_mask,'mc_bt_miasto',mcMain.MIASTA,this._name,mcMain.mc_listy.mc_scroll_up,mcMain.mc_listy.mc_scroll_down,bt_on_press);
mcMain.mc_listy.alphaTo(100,0.5,'easeInQuad',0,hide_zakrywka);
}
};
Next thing to check would be:
lmiast = Number(parseInt(php_vars_load.liczba_miast));
And, well, liczba_miast value from the file...
|