Integrate Flash banner in Flash website?

I'm building a portfolio website for my design work. The whole website is Flash based.
I have a Flash banner that I would like to add to the website but I can't seem to place it on stage.
Is there a way to stream the banner? If I do that, how do I place it's location on stage?
Thanks!

Assuming that you are making the Flash website, just use a loader to load the .swf file and add it to the stage, like you would an image:
pseudo code (meaning that im just typing from memory, so it should work but might have an error)
var myLoader = new Loader();
var myBannerUrl = ("bannerFolder/banner.swf"); //full url OR path relative to the file loading it.
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, addMyBannerToStage);
//to be thorough, an error listener and posibly a progress listener would be useful
myLoader.load(new URLRequest(myBannerUrl));
function addMyBannerToStage(event:Event):void{
     myLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, addMyBannerToStage);
     var myBanner = myLoader.content as MovieClip; //if you want to access its functions/vars etc like any movieclip
     myBanner.x = 0; // x position
     myBanner.y = 0; // y position
    addChild(myBanner);
HTH
-Ted

Similar Messages

  • Steps to insert a clickTag in a Flash Banner with Flash MX 6 & Adobe CS3 Version

    Hi Folks
    I am very new to this forum + having a basic level of
    understanding with Flash Software (like Flash MX & Adobe CS3).
    By profession i am online trafficker, and because of the fact that
    our Flash Creative Designer has gone on a leave, i therefore
    stumble upon with a challenge of inserting a "clickTag" in a flash
    banner.
    Here my expertise stands null, but yeah offocurse i did try
    many options but no result.
    So guys help me in this, what i wish to know the exact step
    by step procedure to insert a "clickTag" in a Flash banner for both
    Flash MX version 6 & Adobe CS3 version.
    I'll be happy if you guys come up with any step by step
    sitemap.
    Thanks & Cheers
    Nawaz Shahzad

    Right, well who could blame Adobe for saying that? It's not
    Adobe's fault. It's that most of the hosting sites have cold feet
    (IMHO) and fear that they'll have viewers who don't have the latest
    version which means their advertisers won't get the most bang for
    their buck.
    I keep waiting for them to at least increase the max
    allowable player version to FP8... but I have not seen that yet...
    will keep my fingers crossed that it happens soon. But what it
    boils down to is that you need to check with the hosting site
    before designing a banner so that you don't include filters (FP8)
    or use AS3 (FP9) if they are not supporting those players
    yet.

  • Adobe flash crashes on my website

    Hello. I have adobe flash banner on my website http://www.adopoznaika.com . Time to time when i open my website adobe flash player stops response. And it crush my chrome. I did update flash to latest version but it did not help. Any advices?

    Flash Professional Forum
    It's most likely in your Actionscript or code.

  • 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.

  • How can I add a flash banner to my site?

    Hi,
    I own http://www.globalpay.me/ and I would like to add a flash banner on the website, currently we are using Wordpress and I am not sure what is the procedure of doing it with Wordpress.
    Thank You,
    Andrew.

    GOOOD

  • 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>

  • 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.

  • Creating a banner in Flash

    Hello all,
    I am thinking of creating a banner in flash..
    What are some of the advantages or options I would have versuses just creating a banner in fireworks..
    -One I know I could fade in and out for effects..
    -Two I can create movement..
    -Is there anything else??
    I am creating this for a website and I am using Photoshop, Fireworks, and Dreamweaver..
    I am thinking I can just plug into the Fireworks file before I splice it..
    -Does this sound right?
    I guess I could also just do this in Fireworks yet it probably will not look as cool.

    If you want alot of animation or dyanmic effects use flash.  If it's basically just static with some links use something else.  Of course you can mix and match.  The best approach is to just jump in and try something.

  • How to get flash banner to play back on iphone

    Hello,
    I have website (basic) that i created with a flash rotating banner. Banner works fine on all computers but won't play on iphone. I'm aware that there are limitations at this point with flash and iphones. How are webdesigners creating rotating banners and the like that play on iphones? Can this be done in flash cs3? thanks, Owen

    Well you are on your way to success then, GOOD JOB!!
    Here's the simple, easy way to get this going:
    Download swfobject ver 1.5 here (my site):
    http://www.cidigitalmedia.com/swfobject.js
    Let's just put all your Flash files in the the same folder to simplifly things during testing... later you can move them to any folder you want, just remember that the paths to those files then need to be changed to be relative to the Web page that your .swf file is on, not the physical location of the actual file.
    Practice in a brand new html Web page......copy and paste this into the code view, or copy and paste into NotePad and save as file type .html
    Be sure to put the swfobject file, the Flash .swf file, the .mov file and this html file all in the same folder during testing.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject_off.js"></script>
    <title>Flash on the iPhone</title>
    </head>
    <body>
    <div id="flash">
    <p>This this the .mov version and not the Flash version</p>
       <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
        <param name="src" value="sample_iTunes.mov">
        <param name="autoplay" value="true">
        <param name="type" value="video/quicktime" height="256" width="320">
        <param name="wmode" value="transparent"/>
        <embed src="sample_iTunes.mov" height="256" width="320" autoplay="true" type="video/quicktime" wmode="transparent" pluginspage="http://www.apple.com/quicktime/download/">
        </embed>
       </object>
       <script type="text/javascript">
      // <![CDATA[
      var so = new SWFObject("sample_iTunes.swf", "sample_iTunes", "320", "240", "8", "#ffffff");
      so.addParam("wmode", "transparent");
      so.write("flash"); 
      // ]]>
      </script>
       </div>
    </body>
    </html>
    Edit to match your .swf and .mov file names and change dimensions to suit.
    I've purposely "turned off" swfobject by giving it an in-correct file name "swfobject_off.js"... so initially it will NOT work..result is you will see your "alternate content", the .mov.
    Once you can confirm that your alt content is working, edit the swfobject file name to "swfobject.js", removing the _off part.
    Now your browser will find that file.. swfobject will try detect the Flash plugin, if it finds it, it will
    so.write("flash"); 
    rewrite the div id=flash with the Flash content and violla... you'll have your Flash banner and iPhone users will have theirs!
    The best of both worlds!
    Best of luck!
    Adninjastrator

  • How can I fix a jumping flash banner images?

    I made this Flash banner few months ago for this website http://www.hmghotels.com/
    When I play the banner on my computer everything is fine but when is on the web you can see the saccade (the image is jumping it is not smooth)
    How can I fix that
    Thanks for your time
    JP

    In the library, right click each image and select Properties.  In the Properties window select the option to Aloow Smoothing.
    Also, if the images are scaled down from their actual size, meaning you imported them large and resized them in Flash, it will be better if you resize them to the sizes they will be before you import them.

  • Using javascript to delay flash banner from loading

    I have a website built in HTML with a small flash banner. My
    problem is that the flash loads before the rest of the page loads.
    Is there a way to delay the flash from loading using javascript
    until the rest of the page has loaded?
    Thanks for your help.

    It is a bit complicated but you can set a delayed function,
    where you will load the flash banner:
    var interval;
    interval = window.setInterval("loadBanner()", 1000);
    var i = 0;
    function loadBanner() {
    // code for banner load
    it is not a best methode but it works,
    Titti
    http://textures.z7server.com/

  • Replacing flash banner in dreamweaver 9

    Hi everyone here ! I hope you are all well and ready for weekend !
    I would like to really ask for your help guys... Thing is i have a website which is connected with my dreamweaver 9 and i would like to replace flash banner on my web. The new banner that i got is the same with and lenght as old one, but i dont know how to replace it, i have tried to delete old one, put in new one and save all to update my web but nothing is changing at all.... Could you guide me through how can i do it ? And also i woul like to add a logo as well - i have it saved as .jpeg or .jpg... Thanks in advance ! I really hope someone can help me out... Thanks to everyone

    Open your Template.dwt file.
    replace all this:
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="857" height="209">
          <param name="movie" value="ads/dr_banner_oak.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="8.0.35.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 type="application/x-shockwave-flash" data="ads/dr_banner_oak.swf" width="857" height="209">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="8.0.35.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>
    with your new images
    <img src="logo.jpg"><img src="new-banner,jpg">
    Save Template.  Update child pages.  Upload child pages and new images to server.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • 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

    Hi guys and girls,
    I have been on sites recently, where, theres a flash banner,
    lets say horizontal. When i move my mouse over the banner it
    expands, overlapping the websites content.
    How on earth is that acheived.
    I have tried with css using z-index, but that seems to be not
    much help. I`ve search majority of the forums but i thought why
    dont i just visit the official one and see if they can shed any
    light.
    Any direction in regards to creating this would be much help.
    Cheers

    Copy our flash .swf file e.g. flash.swf up to the web server under the /i/ #IMAGE_PREFIX# location and just paste you flash object into the template
    e.g.
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
               width="926" height="157">
                      <param name="movie" value="&IMAGE_PREFIX./flash.swf" />
                      <param name="quality" value="high" />
                      <param name="menu" value="false" />
                      <param name="wmode" value="transparent" />
                      <!--[if !IE]> <-->
                      <object data="&IMAGE_PREFIX./flash.swf"
               width="926" height="157" type="application/x-shockwave-flash">
                        <param name="quality" value="high" />
                        <param name="menu" value="false" />
                        <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
                        <param name="wmode" value="transparent" />
                        FAIL (the browser should render some flash content, not this).
                      </object>
                      <!--> <![endif]-->
                    </object>Cheers
    Matt
    Edited by: mattno on Apr 16, 2010 3:49 PM

Maybe you are looking for