Git Product home page Git Product logo

swf-loader's People

Contributors

80prozent avatar amonduul avatar dependabot[bot] avatar dranitski avatar exponenta avatar rob-bateman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

swf-loader's Issues

UIComponents not supported

In AwayJS UIComponents like "InputText" or "ComboBox" are not supported yet.

Often they export and render ok, but the interactivity is broken.

Workaround: use custom-components instead.

Font-Management / missing chars

In AwayJS we have no default fonts yet.

So when a Textfield is not connected to a embed font, it will fail to render any chars. If it is connected to a embed font, but uses chars that arenot part of the char-range set for the font, the char will be missing.

Workaround: make sure all textfield are connected to embed fonts, and that all chars that are used by the textfield are embed in the font.

Constructor of custom classes / symbols not executed at correct time

The constructors of a custom class / symbol is not executed at the correct time.

It should be executed immediatly, but instead AwayJS first finishes executing the current framescripts, before the constructors are executed.

Workaround: Use a "init" function and call it from framescript instead of using the constructor. Than manually call the "init" function after the symbol / class is created.

Timeline-sounds with sync=streaming behave different

In AwayJS timeline sounds with sync=stream behave different to how they behave in FlashPlayer.

They can be auto-converted to snyc=event sounds, but sometimes some additional manual fixes need to be applied in order to get to the correct behavior (manually adding sound-commands to stop the sound at certain position on the timeline)

masking issues with graphic instances

using graphic instances on mask-layers is not always workign correctly.

Workaround: use MC-instances when gmasked graphics-instances make problems.

instances with duplicate names

In AwayJS, instances with duplicate names do not behave exactly the same as in FlashPlayer.

Workaround: Make sure all instances have their own unique name.

return inside with-statement

In AwayJS a return isnide a with statement does not only return from the with statement, but also from the function that calls the with statement.

Workaround: Do not use return in with statement.

GIF not working correctly

When exporting a gif, it doesnt render correctly.

Looks like only part of the image gets rendered.

Workaround: Replacing the images in the FLA with PNG.

Frame navigation across scenes

Calling gotoAndStop with 2 arguments gotoAndPlay("Scene 2", 5) does not behave the same as in FlashPlayer.

Workaround: use framelabels to navigate to specific frames.

Static Textfields not working

In latest swf-test, the static textfield do not work.

It looks like something goes wrong with connecting the font to the static textfield.

When the textfield is converted to dynamic text, it works

float number issues

Both JS and FlashPlayer suffer from the float number rounding issue.

var test = 0.1 * 10 might result in 0.999999998 instead of 1.

This can lead to nasty bugs (for example if-conditions failing, when they should not)

Both Flash and AwayJS suffer from this problem, but not both behave exactly the same.

Workaround: Round numbers to a int, or a float with fixed precision before using them in a if-condition.

broken graphics/shapes

Some complex graphics / shapes are not rendered correctly.

Workaround: Distribute the subshapes of complex shapes to different layers. This should make it easier for our graphics-api to render the shape correctly,

_parent in nested setInterval

if a setInterval creates another setInterval, in the second setInterval function the _parent property will not be available.

Workaround use a absolute path starting with "_root" to access the parent

order of framescript

In some edge cases, the order of executions do not seem to be 100% exactly as in FlashPlayer.

We have only seen this error very rarly.

PNG exported as jpg still supports transparency

When PNG images are exported with jpg settings, in FlashPlayer the transparency is still working ok.

In AwayJS the transparency is lost.

Fixable by setting the image to export as png/loseless.

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.