Ad rotator - add supporting gif for flash file

Hi there, I am using the ad rotator to host 3rd party advertising. I have been supplied with a flash file (swf) and also a gif version of the ad. I want to be able to point to the gif file if the swf file is not able to be played by the browser/device. Is this possible within the ad rotator to have a fall-back gif file?
thanks

This functionality isn't native to BC but I've done this before for a client.  Just beware that using an .swf (flash) file embed for the ad won't let you track the BC Ad Rotator links.  Typical, image-only ads in the AdRotator can be tracked in BC's reporting but using a .swf file doesn't work and you have to embed the link in the actual .swf file itself.  Before we get you working with a flash fallback solution, if you have access to the .swf file or can tell your client what URL to use in the flash ad then you should use the AdRotator trackign URL if you can.  Do do that, setup an image-only ad rotator item first in one of your ad rotators.  Add that rotator to a demo page to get the URL of the ad rotator (it contains the unique id of your ad for tracking). Once you have that URL you can update your flash file to use that URL to take advantage of tracking on BC or give it to your customer to update the flash file themselves before sending you the flash file.
Once you've taken care of the link in the flash ad or if you don't care about not tracking flash ad clicks in BC's reporting system, let's move on to building a flash fallback ad solution. We'll be using SWFObject which is the correct way to embed flash with fallback content.  The hardest part of this whole scenario is we have to get the ID of the ad rotator item (not the ad rotator ID) below.
The javascript I came up with requires jQuery and it's usually already loaded on many sites. Make sure jQuery is loaded in the HEAD of your page or page template where you'll be serving the ads in the ad rotator.
Download the SWFObject project and unzip it locally.
Upload the whole "swfobject" folder to the root of your website.
In your page template or page that you will be serving your ads on, add this script reference to the HEAD of your HTML doc:<script src="/swfobject/swfobject.js"></script>
Download my custom javascript function and upload it somewhere on your website. For this example we'll assume you are placing it in the "js" folder in the root of your site.
In your page or page template where you'll be serving ads, reference the script you just downloaded. Make sure it goes after our swfobject.js and jquery references in the head of your HTML doc:<script src="/js/adRotatorFlashFallback.js"></script>
Now that our jQuery, SWFObject & adRotatorFlashFallback scripts are in place in the HEAD of our page or page template, let's move on to creating your ads with fallback content
Upload the backup image you want to use for non-flash devices to your website and remember the URL/path of that image. For our example we'll use "/images/demoad.gif".
Upload your .swf file to your site and rember the URL/path to that file. We'll need it later.
Once the image and flash file are uploaded we'll create our ad rotator item for that ad:
Create a new ad rotator item
Choose the Item Type as HTML
Add your Label (title) and Item Click-thru URL
In the Item HTML box manually insert your HTML markup for the image:
<img src="/images/demoad.gif" width="125" height="125" />
(I won't be covering styling the ad so you can wrap a div around that image if you want to use some CSS to target the ad:(Optional) <div class="ad-item"><img src="/images/demoad.gif" width="125" height="125" /></div>
Save the ad first before we add the flash option. We need to get that ad rotator item's ID first before we can hookup javascript to embed the flash over the backup image. If you have many ad rotator items already in place you might want to temporarily disable all the ads already setup except the one you are working on so you don't have to refresh the page a bunch of times to wait for your ad to randomly appear.
Goto a test page and use BC's module manager to insert your AdRotator.
Preview your test page with your ad rotator and once you see your ad you are creating, right-click the ad (this works in Chrome for sure) to copy the URL of the ad. You can also see what the URL is just by hovering over the ad in most browers.  The goal here is to jot down or grab the ID of the web app item and that should be in the URL similar to this: "/BannerProcess.aspx?ID=32713&URL=%2ftest".  I bolded the ID we'll be grabbing. This ID is unique to each ad rotator item and we need that so that we can embed a specific flash file for that specific ad rotator item. 
Once you've got your ID of the item, head back to the Ad Rotator Item you just created in the BC Admin.
You'll want to add some javascript after your image markup in the "Item HTML" box
Before we had: <img src="/images/demoad.gif" width="125" height="125" />
and it becomes:<img src="/images/demoad.gif" width="125" height="125" />
<script>adRotatorFlashFallback('32711','/demoad.swf', '125', '125');</script>
Replace the bolded items above with the ID of your ad rotator item we pulled from the URL before and the URL to the flash file we uploaded to the site before.  In our case, I uploaded "demoad.swf" to the root of the website. Also, the '125' and '125' above are the width and height, respectively for your flash file. For instance if your flash movie is 300 pixels wide and 100 pixels in height then calling our functions with those dimensions would look like:<script>adRotatorFlashFallback('32711','/demoad.swf', '300', '100');</script>
Make sure the ad rotator item is enabled and you're all set.
You can see a demo of it working at http://www.chrismatthias.com/demos/swf-fallback-ad-rotator
After your initial setup of downloading the javascripts and referencing them in your page or template, the hardest thing about creating new ad rotator items with fallback is getting the ID of the ad rotator item from the URL in steps 12-14, but it's the only way I know of to get the ID of the ad rotator item. I can't find it in the BC Admin anywhere.

Similar Messages

  • Insert animated gif or flash files (.swf) in Form?

    How can i insert animated gif or flash files (.swf) or another type of animated files in Form?

    If you are web deployed you can put an animated gif as the image to an iconic button.
    Image items cannot display animated gifs.
    Anything else you can do through a JavaBean if you need to.

  • In the product/app Adobe Acrobat reader mobile.it would be good to have layer support working for pdf files.

    In the product/app Adobe Acrobat reader mobile.it would be good to have layer support working for pdf files.

    http://winsupersite.com/article/windows8/windows-8-tip-change-file-associations-144102

  • How to add payment advice for XML file filed in vendor account group

    Hi All,
    I have a requirment to add Payment advice for XML file field in vendor account group under payment transcation tap,
    kindly advice where i can add above mention field in vendor account group.
    thanks
    khaja

    done

  • Wallaby dosenot work for flash files Indesign CS 5.5

    Wallaby when used for flash files created from Indesign CS5 are successfully exported in HTML5
    on the contratry flash files created from Indesign CS 5.5 are not

    Just to be perfectly clear, have you tried trashing your preferences
    Trash, Replace, Reset, or Restore the application Preferences: http://forums.adobe.com/thread/526990
    After that well, when InDesign hangs, there are two chunks of data we can look at to see why it hangs. Please save both of them and upload them to http://pastebin.com/, and post a link here. Please don't post the data here, it is too large for this forum and makes the forum un-navigable.
    Obtain both by running Activity Monitor and selecting InDesign.
    1. Sample Process. Save to file.
    2. View > Send Signal: Abort (SIGABRT). You'll get a crash report. Save to a file.
    Upload both and post links here.

  • What is the Adobe Contact Support Phone # for flash?

    What is the Adobe Contact Support Phone # for flash?
    I searched and tried this number.  Flash isn't list as one of the options for help in the extentions.  Any help would be great.  Thanks
    All other product help
    800-833-6687 begin_of_the_skype_highlighting              800-833-6687     end_of_the_skype_highlighting
    Monday–Friday, 5am–7pm PST

    They might not specify product-specific phone numbers (or if they do, maybe not for every product).
    The number you mention is what also I see at:
    http://www.adobe.com/aboutadobe/contact.html
    (and click on the "+ Phone Numbers) link)
    If you have own your copy of Flash, I'd imagine that this general ph# will be able to get you through to somebody appropriate, ti field your install or activation issue.

  • Add HTML Code to Flash File?

    Hello All,
    I am building a website, but am fairly new at it on flash... Am I able to add HTML code to the file? I am trying to add a code which creates a map from mapquest...?
    <iframe style="height: 270px; width: 450px;" src="http://www.mapquest.com/embed#a/maps/lisneyland:1313+S+Harbor+Blvd:Anaheim:CA:92802:U S:33.8127:-117.9154:address::1/m::12:33.8127:-117.9154:0:::::1:1:1::/io:0:::::f:EN:M:/e" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe><br/>

    Flash only supports a minimum number of html tags and they can only be implemented in textfields using the TextField.htmlText property.  "iframe" is not a supported tag.

  • How do I add a link for a file that can be downloaded

    I'm sure that there's a very simple answer to this, and I
    can't believe that I don't know it.
    How can I add a link to a file that will then be dowloaded by
    the user?
    Thanks

    Zip the file. Link to it. Upload it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Si Fi" <[email protected]> wrote in message
    news:e73jd6$i3m$[email protected]..
    > I'm sure that there's a very simple answer to this, and
    I can't believe
    > that I don't know it.
    >
    > How can I add a link to a file that will then be
    dowloaded by the user?
    >
    > Thanks

  • Feature Request: support previews for png files

    hello,
    i like to see previews supported for png files.  This is a common file type and should be supported  Especially since it is one of the options supported for export to creative cloud from photoshop touch.  It would make a lot more sense.
    Thanks.

    You would want to go here for feature requests: Photoshop Family Customer Community
    Gene

  • Does Adobe have a tech support contact for Flash on browsers?

    I am looking how to escalate to Adobe Tech Support but paying 29 bux an hour for some recruited college Grad that knows to little doesnt suit me.
    Bought an HP Quad and it had Win7 home so poorly installed, configured, overloaded with junk, would not backup, when it did backup and create a repair disk they wouldnt restore.  HP's preloaded Win7 build both IE8 and Firefox were crashing with both BSOD and Browsers not responding and dying. Firefox never responds to anything, Microsoft indicates is an add on problem but I think it can be a flash issue although it occurs much more on Wiin7 (ANY Version) for 32 or 64 bit.  I have been screwing with this for a month screaming at Microsoft and Mozilla but its a waste of time.  
    Microsoft forums are polluted for Win7 browser BSOD and Browser halting then crashing posts, there answer is disable add-ons.  I cant surf the net without add ons so that is a stupid reponse of finger pointing, giving appearance that Msoft, Adobe and Mozilla dont communicate.  No company will take ownership and drive the issue to find the root cause and where ever that cause is make them fix it, Msfot, Adobe of Firefox.   so what do ya do?
        The HP PC with horrible preload of win7 finally died and killed the build but Microsoft was equally useless in helping me repair that preloaded junk even though the OS is theres.    I BOUGHT real disks because HP couldnt support the mess - HP couldnt support chewing food let alone the mess they place on PC's with 90% asian parts with old drivers.   Eleven escaltions starting on DAY 1 of ownership of a Pavilion.  Hundreds of crash dump error reports sent to Firefox has still gone unresponsed, as they employ the 5th ammendment ,method of silence without support and Msoft remove all add on is laughable but proves HP. Firefox and MicroSoft wont assume responsibilty.  
    This sucks as all three gloat and boast about a HIGH levels of support and awards won for support but it is all myth, and laughably a lie but I still want it repaired.   28 years in IT - retired I feel qualififed to make the observation.
    I never attempted to contact Adobe but I get redirected after seeing the warning about 39 bucks an hour to answer a phone for a freeware add-on.
    Does anyone know of have a escalation path to a real person at adobe or department beause tthis site redirects from the ASK Adobe Support link meaning I cant even mail a question to then,  Already a BAD sign but the driver is free, but they wrote, and millions are having issue so where is there support -  Why bother writing  the addon if people cant even ask a question.
    So does any know if they support the flash add-on without charging?     a Glitch they might want to know about is flash 10.0.0.1 shows in Win7 Event logs as version 0.0.0.1 and I have logs showing that an addon report from the DEP (Data Execution Service) saw an add-on go to a non executalbe memory region whenthe only add-on I have is flash.
    Google for IE8 Browser Crash 566,500, Win7 Browser crash 1,500,000,  Firefox crashing 587,000, Firefox flash crash 1,420,000, Adobe flash crash 1,820,000,   are 4,615,500 google posts found for one issue and I know there are more than that failing but Im sick of the whole thing so adobe is my last gasp.   Please respond if you have a fix or path to escalate to adobe.
    Thanks.
    What a mess that no company so far stands up willing to take ownership of this just to find the root cause.

    I don't have a definitive answer, but I would guess you won't find a tech support service dedicated to the Flash Player since it is free software and customers apparently have problems getting tech support for the products they buy.  But here are a couple of things worth considering.
    Try posting/looking thru the Flash Player forum...
    http://forums.adobe.com/community/webplayers/flash_player
    Try submitting a bug report...
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to add a field for multiple file upload in WebApps ?

    I am creating a WebApp for user to save some information with multiple pitcures. I can only see a single uploader.
    How can I add multiple image uploader and How can I create a custom file upload field rather than image upload ?

    Hi,
    There's no other upload field type for web apps.  You'll need to use the "image file type" to apply multiple file upload fields within the web app form in this case.
    Kind regards,
    -Sidney

  • Need help exporting transparent gifs for flash - rough edges

    Hello,
    I have a flash header i am building for a website. The layers i am exporting for web have a rough white edge (gif.s - save for web). Basically I am trying to transition the flower group to another color saved from a layer in Photoshop.
    Would a path help? The image in the library is set to allow smoothing.
    Here is a link to a screen shot in a new window.
    http://www.kineticcreativeco.com/forums/index.html

    gif has no »soft« transparencies if I understand correctly; are psd or png-24 possible to use for you?

  • Support image for Flash

    I created Flash movie for Home Page. The movie is not visible on I Phone and cell phone screens so I would like to create static image to replace Flash movie on those devices. How do I have to set up Home Page/Flash on Adobe GoLive CS to achieve it?

    My current notebook wasn't shipped with W8, so no. But it's officially supported by Microsoft. So as long as you have the right edition (Standard or Pro), it will use the key stored in the BIOS.
    There was some documents lying around the web regarding this and several posts and articles.
    Cheers.
    If I helped you, please give me some kudos! ^^

  • How to add chapter markers for each file in a folder?

    Hello,
    I have several image folders with up to 700 images per. I would like to drag & drop them into the timeline but I want to be able to use the chapter/arrow button on the DVD player remote to scroll through them.....like a videoscrapbook, per se.
    Is there a setting that will allow me to drop them into the time line and automatically generate a chapter marker for each image, that will be read on export to DVDSP? Surely, there is something like this built in that I just have not yet found; I cannot believe the only alternative is to manually add 700 chapter markers per folder. And do they always go into the timeline in alphabetical order? Can that be prevented or altered?
    Also, doesn't it seem strange there is no single-button option (I'm presuming here, since I have not found one) for adding a chapter marker; the '~' button adds a generic marker but you must 'edit' it and click 'chapter marker' - very time-consuming --- or am I missing something here, too? If so please enlighten me! I've experimented a lot but no luck.
    Many thanks!
    jf

    I thought there was a folder size limitation on DVDSP - these folders have digital family photos on them and they are jam-packed; 600, 700, whatever. And there are several of them. I guess I thought putting them in FCP was the only way to avoid the limitation - if there is one.
    I'll try putting them straight into DVDSP and see what happens. Thanks!
    jf

  • Problem with loading flash files in applet

    hi
    using JEditpane i can load html pages but it's not supporting gif and flash files.is there any way to open a html page which contains flash and gif files.
    please help me...

    jeditpane does not support flash files etc, i am not sure if it even support applets if yes probably with some limited way, anyway flash files are not supported, but you can lanch system web browser to show content with flash like internet explorer, latest mustang will suport this

Maybe you are looking for

  • Error while booting Tuxedo

    OS:HP-UX Tux8.1 (32-bit) I am getting below error while trying to boot the tuxedo app. FATAL: conflicting options: CMDTUX_CAT:762: ERROR: LAN mode not specified for multiple node application few other facts: MODEL param is SHM The TUXDIR, TUXCONFIG &

  • Getting jeditorpane to scroll to a piece of text

    I am highlighting text in a JEditorPane and can't figure out how to get the pane to scroll so the hightlighted text is visible. Any ideas? Thanks

  • Different Reconciliation Accounts for One Vendor

    Hi Gurus, Please tell me how can i use different reconciliation accounts for one vendor? Thank You Regards,

  • Dashboard Design File cannot be opened

    Hi all, I know this is already requested a lot of times but reading through all the different topics did not solve my issue. I've worked on a new .xlf file for about 2 full days without exporting it. What i did was regularly saving the file and conti

  • Sound not working all greyed out

    Hi, recently the sound stopped working on the family Imac. when using volume toggles the speaker icon is all greyed out and there is a kindof cancel icom below the volume level bar. also there are no devices listed in the sound output tab. tried relo