Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Scale shuobject.embedSWF #2422

Open
askeet opened this issue May 12, 2016 · 0 comments
Open

Scale shuobject.embedSWF #2422

askeet opened this issue May 12, 2016 · 0 comments

Comments

@askeet
Copy link

askeet commented May 12, 2016

Scale swf doesn't work. How way scale swf?

    // Create/embed SWF movie.
    var flashvars = {};
    var params = { scale: "exactFit",  
                   wmode: "window",
                   allowfullscreen  : true};

    var attributes = {};
    shuobject.embedSWF(PathToSwf, 'mainSWF', 1000, 1000, '9,0,10', 
        false, flashvars ,params, attributes , 
        function (e) {
            console.log('Object loaded, success=' + e.success);
            swf = document.getElementById("mainSWF");
            //alert("Heloo");
    });

shuobject.embedSWF(PathToSwf, 'mainSWF', '100%', '100%', '9,0,10')doesn't work too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant