Results 1 to 5 of 5

Thread: flash code

  1. #1
    Join Date
    Feb 2008
    Beans
    21

    flash code

    Okay, I really have no clue how one programs in flash. Trying to google for it makes it seem like you have to have some (proprietary windows) program where you click buttons to make your flash application. I have found swftools and they have a short tutorial thing:

    swfc manual

    This is what I want to do. Actually write code.

    So here are my questions:

    1) Is this code stuff specific to swfc or is it just that everybody else uses some program that shields the user from having to look at actual code?

    2) Are there any more tutorials/examples/lists of functions that you know of? The tutorial I linked doesn't seem too exhaustive.

    3) If I have an .swf or .fla file is there a way to see the actual text code? I think that fla is the source code that the proprietary adobe program would use, so maybe it's possible to see the actual text code with it. Obviously, examining working code is a good way to learn.

    Thanks!!

  2. #2
    Join Date
    May 2007
    Beans
    245
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lightbulb Re: flash code

    It is called ActionScript. Read about it here:

    http://en.wikipedia.org/wiki/ActionScript

    You can obtain a free "third party" compiler here:

    http://www.libming.org/WhatsIncluded

    This tool will allow you to examine a symbolic representation of the bytecode (it runs in a Virtual Machine just like Java and .NET does) of existing SWF files:

    http://flasm.sourceforge.net/

    You should search the 'net for ActionScript tutorials and examples...

    Hope that helps...

  3. #3
    Join Date
    Aug 2007
    Location
    127.0.0.1
    Beans
    1,800
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: flash code

    I used Actionscript from version 1 (even earlier).

    The language is very object oriented (AS3), the best part, is that you don't need anything special to work with the in-movie objects, for instance:

    Code:
    _root.movieclip1._x = 200;
    Is completely valid (_root being the top frame).

    Functions are declared with the function statement. And well.. the documentation of Adobe is pretty good, take a look and you'll soon get a grip on the language. I suggest starting directly with AS3, as AS2 is a huge mess (every variable is global).

    If you are just playing around with fla and swf, I suggest to stay away from Adobe Flash ($700!).
    Last edited by Can+~; March 29th, 2009 at 04:35 AM.
    "Just in terms of allocation of time resources, religion is not very efficient. There's a lot more I could be doing on a Sunday morning."
    -Bill Gates

  4. #4
    Join Date
    Feb 2008
    Beans
    21

    Re: flash code

    thanks for helping to clarify this a bit. I am just "playing around" mostly with the goal of theming my mp3 player and potentially making small applications for said mp3 player

    Thanks

  5. #5
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: flash code

    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •