Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : player version issue



adi_c_adi
6/9/2004 10:37:16 PM
Hello
I am using flash MX 2004, but my client want the site to use the flash player
ver 6 (and not 7).
I notise that i can publish the swf as 'Flash Player 6', but do i need to
restrict my self in some way when i build the Movie? is all the Action script
the same???

Many thanks
Adi

urami_
6/10/2004 8:01:37 AM
[quoted text, click to view]

Of course , there are features that older player has no idea about and it just can't
utilize it. I don't know about MX 2004 , not using it but in flash 5 and MX if you set export
to lower version , it would highlight in yellow stuff that is not supported, or warn you upon export.


--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

Jeckyl
6/10/2004 10:17:32 AM
Flash tells you very little about what is supported or not when you export
to an earlier version.

The reason is that it has no idea .. all the Classes, object and methods are
determined by the version of the player. NOT by Flash itself, or the
publish settings.

So you can quite happily write stuff with publish settings set to Flash 5,
but uses methods only in Flash Player 7, and you won't know any better.
Unless you are lucky and it has some obvious affect on your movie when it
fails.

Flash Player itself is very quiet and introverted. .. if something goes
wrong it usually says and does nothing. So if you call a method that does
not exist, then you get no errors .. just nothing happens. That is
understandable, because you would not like visitors to your website getting
lots of obscure message if something goes wrong in your movie. But it does
not help you find out what you're doing wrong.

The only things Flash itself will pick up when you publish is syntax that is
not supported (eg try/catch).

For example.. if I start an empty movie and write in frame 1
y = x;
x = f();
then run the movie .. there is no error messages about there not being a
definition for function f. If I do the same thing in SWISHmax, I get this:
[quoted text, click to view]
ERROR: Cannot find variable or function "x" in statement:
Scene_1::onFrame(1)::y = x
Referenced from: "_root"
ERROR: Cannot find function or member "f" in statement:
Scene_1::onFrame(1)::x = f()
Referenced from: "_root"
[quoted text, click to view]

This is one area where Flash is very unhelpful when it come to testing and
debugging script.

AddThis Social Bookmark Button