Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Am I missing something, or are there some acceptable parameters from this page missing from the swfobject code? I recently tried to add an align and salign parameter to my swfobject code, only to find that those parameters were ignored. After searching through the swfobject.js file, I found that those parameters have been left out. I'm wondering:

    1. if there was a reason for that

    2. if there are other params mysteriously (or purposefully) left out


    Maybe this was just an oversight? I would be more than willing to help fix it if lack of time is an issue.
  2.  
    Sorry, forgot to mention that it is totally possible to overcome this issue by using Stage.align within flash, but I was just wondering if there was a reason that this was left out of swfobject's implementation.
    • CommentAuthorGeoff
    • CommentTimeFeb 9th 2007
     
    you can use them:

    so.addParam("salign", "TL");

    or

    so.addParam("align", "t");

    will add <param> tags to the object tag (or attributes in the case of browsers that use embed tags)
  3.  
    No, you don't see what I'm saying. I did that. Doing that effectively does not work properly because the code of swfobject doesn't ever write that information into the embed tag (though it probably writes a param tag out for it.
    • CommentAuthorjesterworld
    • CommentTimeFeb 9th 2007 edited
     
    Well, now I'm looking at the code of swfobject, and I apologize. I missed the loop through the params in the embed tag. My mistake.

    It still doesn't work though. Take the following Page/Code for a crude example.

    The yellow part should be flush left, and the gradient has an instance name of "rt" and on the first frame I have the following ActionScript:

    rt._x = Stage.width;
    sizeListener = new Object();
    sizeListener.onResize = function() {
        rt._x = Stage.width;
    };
    Stage.addListener(sizeListener);
    /*
        Stage.align = "left";
        Stage.scaleMode = "noscale";
    */

    When I uncomment the bottom few lines, it works as shown in the bottom example on that page.