Flash Translation Method - Would love help. (1 Viewer)

Not-That-Bright

Andrew Quah
Joined
Oct 19, 2003
Messages
12,176
Location
Sydney, Australia.
Gender
Male
HSC
2004
Am i right that Flash's Debugger is it's interpreter?

And that both Publishing as .exe and Exporting as .swf, avi, mov etc are Compilation methods?

Thanks alot if anyone can help.
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Am i right that Flash's Debugger is it's interpreter?
Its been a while since I've done any flash work. But if the debugger lets you step through your code line by line then its a safe bet it can be called an interpreter.

And that both Publishing as .exe and Exporting as .swf, avi, mov etc are Compilation methods?
I think this will depend on how you define compile. Compiling is usually defined as the process of converting high level code into something low level that the computer can directly understand (ie, machine code). If you take this definition, then its hard to say that "publishing" and "exporting" is the same thing as compiling.
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
sunny said:
I think this will depend on how you define compile. Compiling is usually defined as the process of converting high level code into something low level that the computer can directly understand (ie, machine code). If you take this definition, then its hard to say that "publishing" and "exporting" is the same thing as compiling.
agreed, i would more likely say its compiled to exe for sure, but for swf, avi etc, these are file formats that require an executable to read them.
 

Beaky

You can read minds?
Joined
Apr 5, 2003
Messages
1,407
Location
Northen Beaches Pos
Gender
Male
HSC
2003
Not-That-Bright said:
Am i right that Flash's Debugger is it's interpreter?

And that both Publishing as .exe and Exporting as .swf, avi, mov etc are Compilation methods?

Thanks alot if anyone can help.
Flash is not an intepreter. It Complies (well its a technicality here) all the code before being executed. Even in the preview mode it will compile the .swf file before hand (you can check this by previewing the flash project and then check the directory your .fla file is in. a swf should be made of the same name).

I understand its not converting into code the OS directly reads. It requries as Winston says an external program to read the .swf file. The .exe compliation is merly compiling the .swf and chucking in a .swf player so that you will not need to download it on another machine.

Hope that helps
 

Not-That-Bright

Andrew Quah
Joined
Oct 19, 2003
Messages
12,176
Location
Sydney, Australia.
Gender
Male
HSC
2004
And i don't mean preview, i mean debug.
When you click Debug, it goes through each line of code, shows you the errors.

I basically NEED to explain the translation method.
If flash has no translation method, then i'll fail my assignment i believe. So perhaps u guys could help me with some strong arguments for it being a translation method? lol
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Not-That-Bright said:
And i don't mean preview, i mean debug.
When you click Debug, it goes through each line of code, shows you the errors.

I basically NEED to explain the translation method.
If flash has no translation method, then i'll fail my assignment i believe. So perhaps u guys could help me with some strong arguments for it being a translation method? lol

Hmmm why you choose flash as an example, is it too late to change?
 

Not-That-Bright

Andrew Quah
Joined
Oct 19, 2003
Messages
12,176
Location
Sydney, Australia.
Gender
Male
HSC
2004
my assignment is basically my major work.. we had to do all this documentation...
I used flash, php.
If you know the translation method for php be my guest. I was stumped with that one :)
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Not-That-Bright said:
my assignment is basically my major work.. we had to do all this documentation...
I used flash, php.
If you know the translation method for php be my guest. I was stumped with that one :)
php, not sure it's a web language, furthermore it's server side, when you say translation method, do you actually mean by, like compilation, liek translating from raw high level code, to a machine readable code?
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Not-That-Bright said:
yea compilation...
Well compilation itself as previously mentioned by sunny is taking raw high level source code thats human readable, and compiling it into low level machine code thats understandable under that specific cpu set, i.e. in general x86. and for flash... im not a flash user, but if it translates it to an exe you could argue that it is compilation, however, if it only translate code into swf, avi etc formats, then it really isnt, because im pretty sure its more like saving it into a format that's readable by an actual pre-written program flash has.
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Not-That-Bright said:
it does both, turns it into an exe. and a .swf.. i only used it to create .swf files tho... which are run thru flashplayer.
Oh... well you could probably get away saying it is compiling, to an exe.
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
As what Beaky had said about Flash's "compiling", its going to be difficult to say that the compilation method of Flash is 'real'. I'd agree with Beaky: the 'compilation' is just putting the swf with a Flash player in the one file - not actually creating a standalone executable file as such.

But really, I don't think theres too much you can do to get away from this one, once you start getting to specific it becomes obvious that Flash isn't really "compiling" at all. I mean, its even called publishing and not compiling.
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
i honestly dont know why some school approves flash to be used for major projects.
 

Not-That-Bright

Andrew Quah
Joined
Oct 19, 2003
Messages
12,176
Location
Sydney, Australia.
Gender
Male
HSC
2004
Well i actually used flash with php server-side script to create some online-email forms & this form which automatically updates my dad's 3 main clients job information on their own 3 unique pages which require their login and they can create feedback for, taking information from job processing as it is done through myob.

So yea, u can make complex things with flash.

Alot of people at my school who have made their VB projects have no clue. Flash is a great software tool :p
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Flash and Actionscript can be used to make some funky stuff....I personally find alot of the stuff in Flash when I did it (Flash 6) kinda quirky.
 

Beaky

You can read minds?
Joined
Apr 5, 2003
Messages
1,407
Location
Northen Beaches Pos
Gender
Male
HSC
2003
Winston said:
shoosh im just jealous coz i duno how to use flash lol... :p...
I got my .NET working and cranking some VB. I have never done it before... (well did a bit in year 9-10) and Im loving it. Cant wait to start VB.NET next semester...

Dat your speciality Winston?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top