Not signed in (Sign In)

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

    • CommentAuthor3stripe
    • CommentTimeFeb 7th 2007 edited
     
    Hey! (Nice forum)

    I have an animation on a site at http://tinyurl.com/2xu8q6 - the text in the grey swf is sometimes not shown according to some users.

    The variable is a substantial paragraph of text from a Wordpress page, perhaps it's too long....

    Should I preload it somehow? Perhaps use an external php file to query Wordpress for the long page of text, and then use loadVars to pull that into my Flash movie?

    Cheers

    3stripe

    <script type="text/javascript">
    // <![CDATA[
    <!-- check flash version -->
    var version = deconcept.SWFObjectUtil.getPlayerVersion();
    var swf = "http://url.com/swf/home_v6.swf";
    var minVersion = "6";
    if(version['major'] >= 8) {
    swf = "http://url.com/swf/home_v8.swf";
    var minVersion = "8";
    }
    <!-- write swf -->
    var so = new SWFObject(swf, "headerimage", "560px", "270px", minVersion, "#FFF", true);
    so.addParam("scale", "noscale");
    so.addVariable("swfPath", "http://url.com/swf/");
    so.addVariable("headertextclean", "Proin sollicitudin. Pellentesque quis orci. Pellentesque nec mauris. Aliquam lorem. Donec massa. Pellentesque lectus. Nullam lacinia iaculis arcu. Praesent ac nisi. Sed lorem ipsum, congue in, ultricies vitae, lobortis vitae, lorem. Aliquam a sem eget sem pretium interdum. Sed lorem ipsum, congue in, ultricies vitae, lobortis vitae, lorem.");
    so.write("contentheaderimage");
    // ]]>
    </script>
    • CommentAuthorGeoff
    • CommentTimeFeb 7th 2007
     
    I'm not sure what the limits of flashvars is on flash movies, but you may want to look into loading it using xml or loadvars instead.

    maybe the issue is with the flash 6 player? since you are loading different swfs, maybe users that have flash 6 or 7 are the ones having the issue?
    • CommentAuthor3stripe
    • CommentTimeFeb 8th 2007
     
    Hey Geoff, thanks for the pointers - we went with loadvars in the end and called the text from an external php file.

    It seemed to be a problem in IE6 but we couldn't quite pinpoint it.