View Full Version : player 6 vs player 7
alflashy
05-04-2005, 05:32 PM
i am working on flash movie and i notice that when i publish that movie for flash player 6 it work fine and when i publish it to player 7 it doesn't work right.
can any one suggest me what the problem could be.
its just me or many of us had this issue
please let me know
thanks
hangalot
05-04-2005, 06:28 PM
player 7 as1? also player 7 is case sensitive
alflashy
05-04-2005, 07:26 PM
player 7 as1?
i didn't get it
i tried to publish my movie with both as1 and as2 on player 7 and came out with not good result. but when i publish with player 6 works fine with both as1 and as2
thanks
Another major difference is that undefined or null variables do not automagically convert to the appropriate data type and value when used in an expression, such that while this will work in the Flash 6 player, with no prior declaration of the icrVar, automagically incrementing to 1, if not previously declared:
++icrVar;
...with the Flash 7 player, icrVar must somewhere be explicitly initialized -- declared with a numeric value -- in order for the incrementation to occur, otherwise the value upon each incrementation will be NaN.
hangalot
05-04-2005, 07:42 PM
yeah thats a big difference. also strings evaluate differently when casting them to boolean so Boolean("false") will still evaluate to true since its not a empty string.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.