Giter Site home page Giter Site logo

Comments (5)

aduros avatar aduros commented on August 18, 2024

I've floated this idea in the past. It definitely seems more Flash-like to only export things marked for export, and that having extra stuff in your FLA that may not even be Flump compatible is really convenient.

I think the reasoning was that Flash artists are terrible at remembering to mark things for export. This seems less of an issue here, where the artist can visually see what Flump exports, and the output formats are text based. As opposed to the bad old days of handing a SWF to the programmer, who couldn't tell if it was valid until missing symbol errors showed up at runtime.

from flump.

TomByrne avatar TomByrne commented on August 18, 2024

Also, sometimes it's desirable to create extra Symbols if you want use filters within a texture. Currently these additional Symbols get included within the texture atlas despite not being used in any of the animations (as they are 'baked' into another texture in the atlas).

from flump.

groves avatar groves commented on August 18, 2024

Huh, I thought we'd switched to doing this? XflLibrary only adds movies to _toPublish if they've got a linkageClassName, which we're using to mean exported. I guess there's also linkageExportForAS, but I thought that was tied to linkageClassName. Maybe @tconkling would know better?

Besides that, non-exported symbols will still be included in the published version, but that should only happen if that non-exported symbol needs to be used to construct an exported symbol at runtime. That's the same as what Flash does.

from flump.

tconkling avatar tconkling commented on August 18, 2024

I also thought we'd switched to doing this. We should switch to doing this!

from flump.

tconkling avatar tconkling commented on August 18, 2024

I just pushed a commit that fixes this. Movies that aren't exported, and aren't referenced by movies that are exported, will not be parsed by flump.

from flump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.