1 Reply Latest reply: Jul 26, 2011 5:02 AM by SE_0208 RSS

    Newbie questions on fms and actionscript 3

    cane2980 Community Member

      Ok, like I said I'm a newbie, but I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.

       

      1)  What is the advantage of writing a SSAS file over an external AS3 file?

       

      2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.

       

      3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.

       

      I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?

       

      Thanks for any help you might have...

        • 1. Re: Newbie questions on fms and actionscript 3
          SE_0208 Adobe Employee

          1) I did not get this question correcly - for that matter SSAS can only be in AS1 - so i dont see reason comparing them

           

          2) It has to be AS1

           

          3) if you doing "include" stuff - i think code would go into compiled swf and proper decompiler would give you the code.

           

          Last para - Server-side engine understands only AS1 so it wont be able to read and understand your AS3 file.