Comments (5)
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.
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.
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.
I also thought we'd switched to doing this. We should switch to doing this!
from flump.
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)
- Sprites with size larger than 2046px break preview mode HOT 6
- What the heck is Flump HOT 2
- Starling 2.0 HOT 3
- Trying to compile exporter project HOT 9
- Is there a way to pause or stop the load process? HOT 1
- Child MC looping behavior does not match Flash's
- Error while building Flump HOT 15
- How to approach frameworks that lack skewing?
- Custom properties HOT 8
- Possibility to use (inject) custom implementations HOT 2
- Issues after packaging exporter
- Simplify Flipbook HOT 1
- Custom texture size export settings ? HOT 1
- Texture creation from flash.display.BitmapData HOT 4
- Error: Unable to parse movie in <MovieClip name> HOT 2
- Possibility to clone Movie, instead of creating new one with the same id
- Any future plans? HOT 1
- Flump exporter stuck in background processes in Windows 10 HOT 3
- Ported to Haxe (Starling + OpenFL) version of Flump HOT 1
- Linux command line exporter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flump.