Link on a flash banner

Hello !
As a beginner at Flash, I encounter my first difficulty ... I want to create a banner, linked on all its surface to an Url.
I created a transparent button on a special layer a the top, and converted it as a button, before applying it the "click to go to web page" action.
Whenever i load the scene by "ctrl enter", to test on the flash software itself, everything is ok, but I need my scene to be exported on a swf file, and when i do so, and launch it on Chrome or Filezilla, it apears, runs correctly, but there is no action when i click on the banner.
Can anybody help me, please ?
I'm sorry if the answer is hidden somewhere, but i Couldn't find it.
Excuse me also if my message is not in a good english, I'm French so do not hesitate to ask if anything is not clear.
Thank you all !!!
Eva

Arrrg ! I'm so bad at web stuff ... I've been trying but apparently I can't embed the swf file on my website, because of a security that prevent me from uploading it on my FTp... and it definitely exeeds my abilities with websites
I think I may have to give a first try to my customer and then wait for his webmaster to tell me if the file is OK or not ... Not very professional, though :/
(little precision : my real job are graphisms and drawings, but a customer asked me to put my graphism on a swf file, with a simple "blink effect" and an url ... no choice on that one, but I'm perfectly conscious that this will not be my job. Never. Thank to you guys that make our word look brighter with all those animated stuff, I bow down ... my world is definitely the one of paper drawing and photoshop & Illustrator  tricks ! )
Thank you, if you have a solution to embed the file somewhere, it would be nice but i don't want to bother ...

Similar Messages

  • Add a URL link to my Flash banner ...

    I am also fairly new to flash and have made my first
    banner...
    http://www.airboxmedia.com/rhythmpunkz/
    As you can its finished now but I cant figure out how to make
    it link back to the page (listed above). I have created rectangle
    as a seprate layer over the whole stage, coverted it to a button
    and set the Alpha to 0% as the idea the user can click on the
    banner at anytime to open a new window.
    I have tried adding this action scrip to the rectangle layer:
    link.addEventListener(MouseEvent.CLICK,clickHandler);
    function clickHandler(event:MouseEvent):void{
    navigateToURL(new URLRequest("
    http://www.airboxmedia.com/rhythmpunkz"));
    but all I get is an error saying:
    Statement must appear within on handler ->
    link.addEventListener(MouseEvent.CLICK,clickHandler);
    The class or interface 'MouseEvent' could not be loaded.
    -> function clickHandler(event:MouseEvent):void{
    Many thanks, J

    You don' t need to add that to the layer, you need to add
    that script to your root.. normally you create a new layer and lock
    it immediately so you can't add any shapes / objects to it, then
    add your code above in that frame, test the movie :)

  • Link not working properly in flash banner

    Hi,
    We have a Flash banner on the home page and each slide has a link to some other page. Everything works fine, exept in IE.
    Basically what happens is that if you click on the banner the first time, the link will work fine and bring you to the new page. However, if you go back to the home page again, then the banner does not even present a link anymore (it will still work fine as far as the banner rotation is concerned - just no more links)...
    Any advice?
    Here is the site:
    www.jamesbeard.org
    Thanks in advance,
    biorn

    the banner slideshow works fine - it is the link from the banner that only works once. when you go to the site for the first time, and click on one of the banners of the slide slow it will have a link and the link will work fine. if you then try to hover over any of the banners in the slideshow again - you will see that no links are there anymore.
    biorn

  • Problem with a flash banner in a php includes

    I am creating a site that has many pages and I made an includes file for the header of the page that contains my navigation bar, i then made a template of the page to use for all my pages.
    Now I have created a flash banner that i want to play in the header of all my pages but i´m having problems getting it to show on all the pages.
    Firstly I added the flash swf into my includes file and inserted the flash into the includes file page using insert flash from the dreamweaver menu (code below):
    <?php $currentPage=basename ($_SERVER['SCRIPT_NAME']);?>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <div id ="adBanner">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','468','height','60','title','advertise','src','advertise_banner','quality','high','plu ginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveF lash','movie','advertise_banner' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60" title="advertise">
        <param name="movie" value="advertise_banner.swf" />
        <param name="quality" value="high" />
        <embed src="advertise_banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>
      </object></noscript>
    </div>
    <div id ="NavBar">
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p><a href="index.php" <?php if ($currentPage == 'index.php') {echo 'id="here"';}?>>Home</a></p>
        <p><a href="about.php" <?php if ($currentPage == 'about.php') {echo 'id="here"';}?>>About Us</a></p>
      <p><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';}?>>Contact Us</a></p>
      <p><a href="advertise.php?ad=y" <?php if ($currentPage == 'advertise.php') {echo 'id="here"';}?>>Advertise</a></p>
      <p> </p>
        </div>
    Great the flash ad works when I load the includes page in a browser and when i look at all my other pages that have the link to the includes file the flash file shows as a grey box with F in the center, however if i load any of these pages into a browser the flash ad does not show.
    I also tried doing exactly the same, adding the flash to the header of my template and saving it. However this did not update all of the pages that use the template, the flash ad would play in the browser if I load the template in the browser. (in this instance the actual swf file was in my templates folder with the template page).
    The final thing i tried was just to add the flash to one of my pages just to see if it would work when i loaded the page into a browers, it didn´t and i don´t understand why as it worked on the includes page and template page. (the swf file in this case was in the file along with all the pages of my site).
    It doesn´t seem that i have a problem with the actual flash banner, i just cannot seem to put it in the pages that i want to.
    Any help or input in this matter will be greatly appreciated.
    Thank you in advance.

    I don't know if this will be of any help but I have a flash rotator that I use on a few pages setup in a seperate file as well, here is the code from my include file
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="884" height="402" id="myFlashContent">
        <param name="movie" value="/Image-Rotator-V2.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="/Image-Rotator-V2.swf" width="884" height="402">
        <!--<![endif]-->
         <a href="http://www.adobe.com/go/getflashplayer">
          <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
         </a>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    I also added the following to the head section of the page the flash is used on.
    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
    Regards
    Richard

  • Problems zooming out with a Flash Banner

    I have created a Flash banner for the home page of my website.  Here is the link to the page I am working on:  http://adirondackvic.org/CSSTest9July2012-2.html
    When I zoom in to increase the size of the web page, the Flash banner rescales automatically.  However, when I zoom out, to decrease the size of the web page, the Flash banner does not automatically rescale.  It remains the same size and you have to hit the refresh button to get it to rescale to fit the newly resized page. 
    Is there a fix for this?  I searched the forum and the web and have not found an answer.  I put a question on this in another forum, but received no responses. I found some discussions of the issue on the web and on this forum, but I was not able to figure out how to incorporate the suggestions into my page.  I tried changing the scale from exactfit to showall, as recommended, but that created a problem with the appearance of the page. (The banner no longer fit properly into the header window.) I also tried (as recommended by one of the entries in this forum) to change width="100%" height="100%" or width="100%" height="auto".  This fixed the problem for Internet Explorer, but then the entire banner disappeared in Firefox. 
    Please help!  I am at my wit's end....  Thank you.  ellen
    Here is the relevant  code:
    <div class="header"><!-- end .header -->
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="100" align="absmiddle" id="FlashID" title="FlashBanner">
          <param name="movie" value="BannerTest16.swf">
          <param name="quality" value="high">
          <param name="wmode" value="opaque">
          <param name="swfversion" value="6.0.65.0">
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="../Scripts/expressInstall.swf">
          <param name="LOOP" value="false">
          <param name="SCALE" value="exactfit">
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="BannerTest16.swf" type="application/x-shockwave-flash" width="960" height="100" align="absmiddle">
            <!--<![endif]-->
            <param name="quality" value="high">
            <param name="wmode" value="opaque">
            <param name="swfversion" value="6.0.65.0">
            <param name="expressinstall" value="../Scripts/expressInstall.swf">
            <param name="LOOP" value="false">
            <param name="SCALE" value="exactfit">
                  <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                  <div>
          <img src="Images/Banner102 -- Saint Regis Mountain from the Barnum Brook Trail --  June 2012-1.jpg" width="960" height="102" alt="Paul Smith's College VIC" align="absmiddle">         
                  </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </div>

    Kevinsoffice wrote:
    iDevices are pretty much dead hardware since they dont support popular flash. How many mac forums are filled with people complaining about Apples choice not to support it. And with much better hardware coming out like the Samsung line there are better choices then iStuff.
    The evidence does not support that position.
    As expected,  Adobe has stopped developing Flash on mobile devices (iOS and Android)
    http://www.businessinsider.com/adobe-to-kill-mobile-flash-starting-august-15-2012-6
    http://www.digitaltrends.com/mobile/adobe-flash-for-android-gone-with-barely-a-whimper/
    Flash is dying, iStuff is alive and well.

  • Flash Banner has two hyperlink, how do i make that work in iweb?

    I created an iframe for a banner. It works great. However, the flash banner has two different links depending as to when you click on it it can take you to one of two sites. When using iFrame, the new windows open within that frame. Is there a way to code iframe to open in a new window when clicked?

    maybe I should be more specific.
    This banner... http://files.slamcom.com/Ricard/Banner-560x120-Boule-NYC.8.html has two links associated with it. During the first half (time wise) of the loop, it takes you to http://www.fullfrenchexperience.com -- during the second half of the loop it takes you to
    http://www.shop.ricardpastis.com/boutique/index.cfm
    I've added this banner to my site but only successfully linking it to the first site. What code would be required for both links to open up in a new window?
    I tried using a iframe, but the links open up inside the iframe banner.... I want it to open a new page.
    Anyone?????

  • Publishing custom flash banner???

    Hi,
    I have made a flash Banner for my friends website. It is
    intended for my wordpress blog and on myspace etc. The dimensions
    are 468x60 and it all works.
    Trouble is I don't know how I would go about embedding it
    into a profile using html or php. I know I would have to load it up
    on to a server and link it from there. I've tried but I keep
    getting error messages. When I looked at how the html is put
    together when I put the swf into a webpage in dreamweaver I get a
    bit lost.
    Is there an easy fix to this problem, i.e. somewhere I
    caninput the swift and have them generate the code for the desired
    profile? Or can you advise where to look for a solution through
    educating myself on the problem
    Thanks

    0k i followed a tutorial and got it up on my myspace profile.
    However, I had a flv in the swf of an old style video as a
    background which doesnot show in the banner. Do I have to upload
    the flv with the swf?
    PS: find attached the code used to embed the flash
    banner

  • Creating a Flash Banner

    Hi All
    I have just been asked to create a very simple Flash Banner -
    468 x 60 px which I understand is a standard size for a flash
    banner.
    To be included on the banner are a couple of small images and
    also 3 or 4 lines of the text and a link to a website.
    Not being a Flash Guru I am struggling to complete this
    banner so I am wondering if there might ba a Flash Guru who could
    be interested in assisting.
    Its 7am in Sydney and I have to have it completed by 11am
    Sydney time.
    Thanks in advance for any assistance that can be given.

    your guru is Jen deHaan:
    http://www.adobe.com/devnet/flash/articles/intro_flash_print.html
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    toby007 wrote:
    > Hi All
    >
    > I have just been asked to create a very simple Flash
    Banner - 468 x 60 px
    > which I understand is a standard size for a flash
    banner.
    >
    > To be included on the banner are a couple of small
    images and also 3 or 4
    > lines of the text and a link to a website.
    >
    > Not being a Flash Guru I am struggling to complete this
    banner so I am
    > wondering if there might ba a Flash Guru who could be
    interested in assisting.
    >
    > Its 7am in Sydney and I have to have it completed by
    11am Sydney time.
    >
    > Thanks in advance for any assistance that can be given.
    >
    >
    >

  • Flash banner not displaying correctly

    I am definitly a newbie to flash.  Actually just gave the free download a try on this project.  The trial ran out and that might be part of the reason why I can't figure out this problem.
    I created a flash banner for a website, I have it embedded and it shows up, but it has cropped part of the scene, so the whole background image isn't showing.  I have tried resizing in my html, but it doesn't seem to affect the cropping issue.  You can view the site here.
    Any help would be appreciated!
    Margaret

    If you cannot edit the file due to the trial period ending, I don't know what you can do except to purchase the software, but that will be unrelated to the banner not displaying what you expect.
    I attempted to look at the page you linked, but the page is not loading, at least not quickly enough for me to feel comfortable waiting for it, so I passed on that.
    A Flash file will display in its entirety regardlkess of what dimensions you specify in teh html code for it, it will just distort to fill the area defined for it.  So the file is most liikely displaying correctly.  What your problem might be is you might have placed an image in the banner without realizing that the stage defines the viewable dimensions you are limited to, so you may need to either adjust the size of the image to fit the stage, or adjust the stage size to suit the image.
    It could be due to other reasons, but there isn't enough information about the design to determine as such.

  • Help with Flash Banner Opening on every page

    Hey guys I been trying to optimize my site abit. I seen on
    some new flash templates that when the flash banner opens the first
    time the browser will not call it again when clicking on new page
    links. I also seen the banner incorperated with an iframe so it
    only calls it once.
    Currently I have 6 .html pages each calling the flash banner
    every time their clicked. This is taking loading time whenever a
    user browses to a different page.
    my site is
    http://xpservers.net
    and another i created is
    http://energreenmetering.com
    Can someone help me out ?

    A 5.6MB file is way too big for a Flash movie to stream easily, even over DSL. Even 1 MB is pretty big for a Flash movie. A loading status indicator requires programming using the Flash authoring application.
    The Flash export from keynote is probably not compressing the images a lot. Also the size of the presentation (800x600) is pretty large, and this is giving you a big file.
    Try searching versiontracker.com for other slideshow tools with Flash export that will allow you to create a smaller canvas and compress your images more. But be aware that a series of bitmaps will always create a large Flash movie.
    Good luck!

  • Space issue in Firefox related to Flash banner

    I have a website with validated XHTML and CSS that displays an unwanted space only in Firefox under a Flash banner.  The site has been tested in IE6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  Firefox is the only problem.  After posting this issue to Experts Exchange, it was determined that the code Dreamweaver generates to insert Flash causes the problem.  An expert on that site originally thought there were two instances of the object and removed what handles IE.  The site then displayed correctly in all other browsers, but would continuously try to load the Flash file in IE. Obviously, that is not the resolution.  I have tried inserting various IECCs without finding the right combination.  --  The live site is http://www.imfgsol.com.  The test page that contains code suggested by Experts Exchange is http://www.imfgsol.com/default2.html  --  I would great appreciate any help resolving this issue!!  Thanks!

    Thanks so much for your help!  Adding the param, removing the IECCs, and correcting the tag closing resolved the issue.  The http://www.imfgsol.com/default2.html page now loads in IE 6/7/8 and validates.
    For anyone that might have this issue, following was the problem and resolution:
    When inserting a Flash banner using Dreamweaver, the following code was created:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="963" height="113" class="imgpad" vspace="0" id="FlashID" title="Innovative Manufacturing Solutions">
          <param name="movie" value="images/IMSbanner.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
            <!--[if !IE]>-->
            </object>
          <!--<![endif]-->
        </object>
    The display was fine in all browsers other than Firefox.  In Firefox, an unwanted space was created due to the way it read the IE code.  The space below the banner is illustrated here:
    By removing the separate objects and IECCs and adding the param as suggested, there is no longer a space in Firefox and the display is correct in IE 6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  The code that works correctly is:
    <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <param name="movie" value="images/IMSbanner.swf" />
            <param value="high" name="quality" />
            <param value="opaque" name="wmode" />
            <param value="6.0.65.0" name="swfversion" />
            <param value="Scripts/expressInstall.swf" name="expressinstall" />
            <img width="112" height="33" alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"></a></p>
              </div>
        </object>

  • How do I make my flash banner change frames on a timer?

    Hello, I'm new to flash and I recently just made a flash banner where you can click buttons to change frames. I also want to add the ability for it to automatically change frames after 7 seconds. I've put all of the pictures on the same frame and gave them frame labels. What would be the actionscript code I should use to make this work, along with making the buttons still functional? Also, how can I put buttons to go to the last frame from the first, and first to the last, while still making them stop at every frame? I keep trying and nothing's working.
    If you'd like a more in-depth look, I've provided the .FLA file here:
    http://uppit.com/v/ZJOKIQ59
    The easiest way to explain it would be to re-upload an .FLA file with all of the above completed bug-free, and show me how you did it. I hope I'm not asking too much with that, but I would be able then to take a look at it and compare it to my code to learn it myself.
    Thanks in advance for any help! =]

    Well I done some more work this time. As i had some problems uploading files I'v made these screanshots.
    - On the first frame add just this:
    var secTimer:Timer=new Timer(1000,7);
    startTimer();
    - The actual code is on the second frame:
    //secTimer.addEventListener(TimerEvent.TIMER, tik);
    secTimer.addEventListener(TimerEvent.TIMER_COMPLETE, skipFrameT);
    next_btn.addEventListener(MouseEvent.CLICK, playNextFrame);
    function playNextFrame(e:MouseEvent):void {
    if(currentFrame < 50){
    resetTimer();
    play();
    else{
    resetTimer();
    gotoAndPlay(2);
    prev_btn.addEventListener(MouseEvent.CLICK, previousFrame);
    function previousFrame(e:MouseEvent):void {
    if(currentFrame <= 11){
    gotoAndPlay(42);
    else{
    gotoAndPlay((currentFrame-10));
    resetTimer();
    /*function tik(e:TimerEvent):void {
    trace("frame ",currentFrame,", tick", secTimer.currentCount);
    function startTimer():void {
    secTimer.start();
    //trace ("timer Started");
    function skipFrameT(e:TimerEvent):void {
    //trace ("time stoped");
    if(currentFrame < 50){
    play();
    else{
    gotoAndPlay(2);
    resetTimer();
    function resetTimer() {
    trace("Timer Reseted");
    secTimer.reset();
    startTimer();
    - Remove your code for the buttons;
    - And use 10 frames spaceing for the images:
    2 to 11; 11 to 21; 21 to 31... and so on.
    Hope this will be real help now.

  • .mov to flash banner ad via media encoder, size issues

    Looking for some compression feedback, as I cannot get the results dialed in thru Adobe Media Encoder CS4.
    Creating a flash banner ad, 11 seconds total, with 5 seconds of video from final cut. The size of the exported .mov is 784 KB, and I still have to hit a target of less than 60KB (yikes) on the final FLV export for the ad specs. Anyone had any luck here in these type of productions? When I convert to FLV (heavily compressed) and import into timeline of flash as embedded file, keeps increasing in size, hovering just below the 1MB mark. Without the video, the flash ad is at 20KB, so I really only have 40KB to work with.
    When I open the FCP .MOV in Quicktime Pro and "export for web," I see a small file size of 4KB, could it really be that compressed?
    But when I bring that 4KB file into Media Encoder, it goes over the 60KB limit.
    Also, should note that final ad needs to be Flash 7 friendly...
    Your input is appreciated.

    Predicated on info in the other THREAD, I will now ammend my previous post:
    2.) Assets - that's why I asked
    3.) Project - could still be a possibility
    Looks like the Bug is still in the running and gaining fast.
    Have you filed a Bug Report/Feature Request with the data that you've furnished in your two thread?
    Good luck,
    Hunt

  • Flash banner in a Dreamweaver Template

    Hi all,
    I am using one of the provided Dreamweaver Templates (CSS).
    All is fine, except that for some reason it does not like Flash
    imports. I can alter the template as much as I like and it will
    always successfully change across the site, BUT if I try to insert
    a Flash movie/banner into the template - then it does not appear of
    ANY of the site files. The only way I can see the flash banner, is
    if I open the template.php file in a browser - then you can see
    that it is in fact there and working - but for some reason the
    other pages refuse to acknolwegde it. Images / Tables / Text - all
    work fine - just not flash banners. I even tried saving the banner
    as a JPG file in Flash, then sticking the JPG file in the template
    where the banner should - and it worked perfectly, but as a .swf
    extension it fails.
    Am I missing something?
    Nathan

    > BUT if I try to insert a Flash movie/banner into the
    template - then it
    > does not appear of ANY of the site files.
    Because of the active content .js fix, when you insert a .swf
    file into a
    template, you must use a Site Root relative path for it.
    Open the .dwt template file.
    Double-click on the .swf in design view- the "browse to file"
    dialog box
    should come up showing the currently selected file.
    look in the bottom of that dialog box for the pulldown to
    change from
    document relative path to site root relative path. Change it
    to site root.
    click okay and save the file, and let changes propagate.
    does it show in the child files now?
    [note- It may still not show during local preview because
    site root relative
    paths in javascript will not make any sense during local
    preview- they
    should work fine on the remote host if the site has it's own
    domain name
    though]
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How to publish a flash banner without generating errors?

    I need to upload a flash banner every time a condition is
    verified. But I have troubles from the HTML code I use to call the
    flash banner.
    <CFIF #file# IS "fox">
    <div><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="468" height="60" vspace="0" hspace="0"><param
    name=movie value="
    http://www.site.com/banners/#address#"><param
    name=quality value=high><embed src="
    http://www.site.com/banners/#address#"
    quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="468" height="60"
    vspace="0" hspace="0"></embed></object></div>
    </CFIF>
    The error i receive is:
    Just in time compilation error
    Invalid parser construct found on line 30 at position 220
    ColdFusion was looking at the following text:
    =
    Invalid expression format. The usual cause is an error in the
    expression structure.
    This error is generated by the HTML code inside the CFIF tags
    because if I change the code between the conditional tags CFIF, it
    works fine.
    Exemple:
    <CFIF #file# IS "fox">
    <div>
    Now it works correctly!
    </div>
    </CFIF>
    Please could you suggest me how to resolve this trouble?
    Than You,
    rikros

    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=5,0,0,0"
    # is a reserved CF symbol. If your template has a
    non-CF-related # symbol
    in it, you need to escape it (##).
    http://www.adobe.com/go/tn_17016
    Adam

Maybe you are looking for

  • How do I limit the character count in a text field?

    I'm creating a form for co-workers to use when creating web content. I need to restrict their character count for items like headlines, titles, subtitles, etc. Any suggestions on a ready-made form to use out there? And how can I limit those fields so

  • Help concerning web attacks and Photon

    Hello, I was recently on the Photon browser, and I went on a website that I thought seemed rather suspicious, but I didn't really think much of it at the time. Later, I decided to look the same website up on the safeweb.norton.com site, and it said "

  • App Update Fail

    I cant update my apps anymore. appstore keeps sending me: Update Unavailable with This Apple ID THis update is not available for this apple ID either because it was bought by a different user or the item was refunded or cancelled. Apps like viber, dr

  • Forms 6i information please

    Guys , Can you please convey me 5 new features in Forms 6i ? What can be described as the dominant feature of Forms 6i? Please help . Regards

  • Itunes/iPhoto will not auto-launch on non-Admin account

    I have looked and looked and have not see this exact problem. Got my wife an iPhone for xmas, and we share an iMac, I have an admin account on the computer and she has a user account. We both share an iPhoto and iTunes Library via an external drive.