Skip to main content
Inspiring
Aug 18, 2017 7:42 AM UTC
Answered

Converting Flash component to HTMLCanvas

i want to convert "Flash component" to HTML5canvas. Currently i have converted flash canvas fla to "xfl" format. usually, i will change the "DOMComponetInstance" to "DOMSymbolInstance" in xml and in component XML i will change "DOMComponentItem" to "DOMSymbolItem". if i use without changing the tag, objects are created with missing object name after lib. object name is missing. eg (lib. = function(options) { . in the initialization place "new lib.({"   in the generated js file . if i try with symbol tag, object initialization section is not found.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    thirumani_selvamCorrect answer
    Inspiring
    Aug 23, 2017 6:47 AM UTC

    i found solution, symbols will not have parameters, after removing parameters it is working.

    2 replies

    thirumani_selvamAuthorCorrect answer
    Inspiring
    Aug 23, 2017 6:47 AM UTC

    i found solution, symbols will not have parameters, after removing parameters it is working.

    Translate
    Preran
    Legend
    Aug 21, 2017 2:36 PM UTC

    Not an expert on this topic but I found a discussion on Stack Overflow that could help you

    Conversion of Flash Components and 9-Slice Scaling to HTML5 canvas - Stack Overflow

    Thanks,

    Preran

    Translate