Welcome Guest. Sign in or Signup

3 Answers

Problems with flashvars/progressive download

Asked by: Thomas Hvitstein 723 views User Questions

An advertiser has sent me a flash that are suppose to progressively download a movie on mouseover.
They have given us two parameters movie7 and movie8 which define a flash 7 movie and a flash 8 movie to download depending on which version the client support. I’ve tried to set this values in the flashvars field, but the movies wont download when i move the mouse over the flash. Here you see the code I’ve used:
movie7=http%3A%2F%2Fwww.melange.no%2Fbannervideo%2FMELANGE_468x400_VideoV7.swf&movie8=http%3A%2F%2Fwww.melange.no%2Fbannervideo%2FMELANGE_468x400_VideoV8.swf

3 Answers



  1. renegade_mike on Apr 21, 2008

    It probably when happened when posting the FlashVars here, but there are a couple of spaces in the URLs which should be removed if they are in the original.

    The problem is probably due to Flash security restrictions. It doesn’t let a SWF load content from another domain by default. You must have a crossdomain.xml file which allows for that.

    If your AdvertPRO is hosted on the domain demo.renegadeinternet.com, for example, your crossdomain.xml file should be located at http://demo.renegadeinternet.com/crossdomain.xml

    Older versions of AdvertPRO did not provide the crossdomain.xml file, but is just a plain text/xml file so you can create one on your server with the following content:

    <?xml version="1.0"?><br /><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><br /><cross-domain-policy><br />  <allow-access-from domain="*" /><br /></cross-domain-policy><br />

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  2. thomashvitstein on Apr 23, 2008

    Well… The spaces was generated by the forum.
    I tried the crossdomain.xml, but it still wont work.
    http://drops.ads.visionweb.no/crossdomain.xml
    Is it correct to put it right under the domain or should it be placed in the AdvertPro folder like this:
    http://drops.ads.visionweb.no/advertpro/crossdomain.xml

    Before I created the crossdomain.xml I tried to set up another media wich is loading a video from another domain. And this works… So either they use other methods to load the video or the variables required in the first ad does not work as intended.

    I’ve got a test page for both ads here:
    http://dev.visionweb.no/ads/test.php

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  3. renegade_mike on Apr 24, 2008

    That’s the correct place for the crossdomain.xml file.

    I just downloaded and decompiled the .swf file and I found the parameter names it uses are movieurl7 and movieurl8, not movie7 and movie8.

    Put the following into the FlashVars field in AdvertPRO:

    movieurl7=http://www.melange.no/bannervideo/MELANGE_468x400_VideoV7.swf&movieurl8=http://www.melange.no/bannervideo/MELANGE_468x400_VideoV8.swf

    It takes about 10-15 seconds to load for me, but you can tell its working if the bottle starts to appear to fill up.

    0 Votes Thumb up 0 Votes Thumb down 0 Votes