Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. New to Flash

New to Flash

Scheduled Pinned Locked Moved Web Development
questionadobehelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VengefulSakhmet
    wrote on last edited by
    #1

    I'm going through a Flash tutorial and comparing it against a Flash program we have received from a 3rd party. Within the 3rd party package there are separate files that contain code. The .fla file only appears to contain movie clips, jpegs, and etc. In the tutorial file it appears the code is layered in the .fla file. My question is do flash developers alter the .fla files to hide code from end users, or is the .fla file just structured differently? I'm leaning towards an altered .fla file and only by accessing the .as files directly through the code folder, seeing I cannot find any code by going through the .fla file. Thanks for any help in advance.

    enhzflepE 1 Reply Last reply
    0
    • V VengefulSakhmet

      I'm going through a Flash tutorial and comparing it against a Flash program we have received from a 3rd party. Within the 3rd party package there are separate files that contain code. The .fla file only appears to contain movie clips, jpegs, and etc. In the tutorial file it appears the code is layered in the .fla file. My question is do flash developers alter the .fla files to hide code from end users, or is the .fla file just structured differently? I'm leaning towards an altered .fla file and only by accessing the .as files directly through the code folder, seeing I cannot find any code by going through the .fla file. Thanks for any help in advance.

      enhzflepE Offline
      enhzflepE Offline
      enhzflep
      wrote on last edited by
      #2

      It's just structured differently. What if you had a 10,000 lines of code that converted text into speech, and you wanted to implement that cool functionality into a number of projects? Are you (a) going to copy/paste/fix the code into each new project, or are yopu going to (b) trty to put it into a library that you can re-use? Separating the code from the content allows for (a) cleaner/clearer coding practices & (b) ease of reuse.

      V 1 Reply Last reply
      0
      • enhzflepE enhzflep

        It's just structured differently. What if you had a 10,000 lines of code that converted text into speech, and you wanted to implement that cool functionality into a number of projects? Are you (a) going to copy/paste/fix the code into each new project, or are yopu going to (b) trty to put it into a library that you can re-use? Separating the code from the content allows for (a) cleaner/clearer coding practices & (b) ease of reuse.

        V Offline
        V Offline
        VengefulSakhmet
        wrote on last edited by
        #3

        The library idea makes complete sense. It's used in other languages. Perhaps I'm not sure how to navigate thru the flash editor yet, but the library seems to only be filled with jpegs, movie clips, and etc. Is there a special section I should be looking in that I am just passing over?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups