Multiple Flash banner ads
I've already created one banner ad in Flash and have it displaying on one of my web pages. I'm creating a second ad and would like to have it display in the same area as the first one with each ad playing once and then switching to the next. I will eventually have three ads rotating, one after the other. I'm working with Flash CS4 and am pretty new at this.
What's the best method with a Windows server? Do I use Actionscript...Java Script? Do I simply combine the ads into a larger Flash file and, if os, might this cause overly long download times for the browser?
you will need to find a player system that will rotate out the ads. I dont recall the name(s) of them currently but there are plugins for your code that will allow you to do so.
try searching for flash ad banner rotaters.
Similar Messages
-
How to make agency-level HTML banner ads
I've done a ton of Flash banner ads at agency-level over the years, but I'm trying to figure out how to create html banners now, in addition.
Here are the HTML Ad Spec requirements:
- HTML code cannot exceed 3k
- 2 images maximum, total file size of images cannot exceed 20k
In Flash, I've used these extensions to publish and am finding it's difficult to meet the required specs by the ad hosts:
1. CreateJS (creates a small html file (3k or less), but requires to be linked to js files which are double what my swf would be)
2. Swiffy (puts out just one nice simple html file, but it's almost triple the size of my swf, coming in at 86kb)
I've also used:
Edge Animate (creates a html file, but also links to js files that are over double what my swf would be).
Either my animations have to become way less complex or I'm missing something in this new world of html animated ads. It seems there's little findable information on how to make html banners at the agency-level.
Can anyone educate me or point me in the right direction?The easy answer is those libraries are full of functionality "you might use". Those libraries are not built like libs such as Modernizr where you can select the exact functionality you need to reduce the library size.
You're left with two options from there, neither are really ideal.
1) You can hand code the JavaScript you require. Libraries help by providing extensive functionality beyond your absolute needs as well as cross-platform tweaks so your results are expectedly similar in all browsers. By writing your own code (plus required tweaks) you can drastically reduce the JavaScript size (amongst minification and gzip). That puts all the hard work on you which may not even be possible or feasible in your projects timeline.
2) You can rely on newer HTML5 elements like Canvas, CSS3 and code from option #1. There are many effects in your example (directional blur, rotation, etc) that aren't easy to pull off but with the help of something like Canvas you can at least reduce the amount of JavaScript required. Think of it like a BitmapData object you can update at high speed that's mobile friendly. That aside, not all desktops users are guaranteed to support it and here comes the fallback bloated code.
Your ads compatibility requirements will guide you on either path. I'd probably opt to look forward with basic fallback (to a static image) and go route #2 with Canvas. If so, here's one of many tutorials/blogs that can get you started:
http://creativejs.com/2011/08/31-days-of-canvas-tutorials/ -
Help with creating a flash banner
Hi,
I need some help with a creating/replicating a flash banner I
saw online. I cant find it anymore but I will do my best to
describe it.
The banner had multiple images layered on top of each other
horizontally. Each image covered the image to the left of it. When
you moused over an image the image expanded to full size while the
other remained contracted.
How can I create something with the above description? Are
there any good tutorials for something like this or maybe someone
can provide me with a few tips/tricks for doing this?
I am proficient in PShop and a beginner with Flash so the
design portion is not the hard part, just the programming/setup in
flash is what has me stumped.
Thanks in advance for any assitance.
Regards,
Mike
Hookah LifeUpdate:
The banner on this template has an exact example of what I am
shooting for.
http://www.algozone.com/zencart-templates-zc03c00287-p-1191.html -
Is there a simpler solution/directory/file structure for banner ads?
I also have to wonder what a pain this has to be for a large website with many rotating banner ads - having all of these same files copied over and over in separate subdirectories. Flash had 2 files - a html file and swf file stored in the same directory. Am I missing something?
the banner name - with config.xml - created by Dreamweaver
Assets - 4 or 5 files, not counting json or sound files
edge_includes - and its 2 files
images - at least they are unique
And I, maybe wrongly, create a html file in Dreamweaver with the oam file inserted in it.
BobFrom the Edge Animate JavaScript 2.0 API Docs:
CDN Hosting
Using the Adobe Content Distribution Network (CDN) is a great way to speed up Animate composition delivery. Compositions using the Adobe CDN all share a single URL for jQuery and the Edge Runtime. The browser caches the runtime, so the user only downloads the library once no matter how may Animate compositions they view, even if compositions are on different sites and produced by different authors.
Don't use the CDN if your composition needs to run without an Internet connection or if you want to use your own hosting exclusively.
The Edge Runtime CDN uses the following URL:
<script type="text/javascript" charset="utf-8" src="http://download.adobe.com/pub/adobe/edge/animate/2.0.0/edge.2.0.0.min.js"></script>
So now I know what that CDN option is about.
Bob -
Flash banner specs...question
hello,
i am working on a flash banner campaign where the specs say:
- Animation permitted – up to 3 loops
- Maximum animation length: 15 seconds
i got the ads approved. now i am making them loop 3 times, is
it customary for the 3 loops to happen within 15 seconds, or can
the approx 12 second animation loop 3 times, approx 36 seconds?
any previous experience with this situation is greatly
appreciate.
thank you!This is generally true so long as you embed the font.
However, if you have a large display font used as a headline,
it is always best to break it up. This is the only way you can
guarantee that the exact appearance--size, kerning, etc.-- will be
preserved. -
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 everyoneOpen 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/ -
Self served banner ads in air app
I dont want to serve ads for ad companies but i want to serve ads for myself to my app. So i am trying to setup a way to add banner ads to my app and have them just served from my web server. I keep running into road blocks in doing so.
i am using is flash builder 4
the closest i have gotten is i had an old as2 xml banner rotator and tried to just embed them locally and have the xml file and images remotely loading. The flash files loaded up right but it seems the xml file from inside the flash rotator wont load from my site once in the air app. they work flawlessly when not in the air app.
Is there a simple way to do this so i can have an xml file and some images on a remote server and the banners rotate in the app? I have searched google for hours and haven't found anything close to this. a code example would be really appreciated if applicable i am pretty new to this.RTMP should work on AIR for TV. This is a known issue and we are working with Samsung to fix this. They should be releasing an update to there products which fixes this issue. (Sorry I can't give a timeline, you will need to talk with Samsung about when they will update there TVs and Blu-ray devices).
John -
Hello,
I was wondering if anyone has come across banner ads such as
these? Please click on the example below.
http://adinterax.com/partners/centro/nacholibre/tearsheets/dailynews-cp.html
I'm so lost on how to do this. Does this involve action
script 3? Does this involve a total of 3 Flash files? Does anyone
know of any good tutorials on the web for how to do this or could
anyone recommend any good books on the subject? Please advise. How
does the shadow on the corner peeling appear transparent over the
html?
Thank you.This would only require one flash file. It is an SWF that
sits on the upper right edge of the website, in an absolutely
positioned <div> that overlays that part of the site (flash
movies can be made to be transparent by using the
wmode="transparent" parameter). So, you'll need to get familiar
with both Flash and CSS, in addition to html.
All of the effects can be animation... the dropshadow is
simply a movieclip or graphic element that has partial alpha (is
halfway transparent). If you use Wmode=transparent in your
<object> and <embed> parameters, within the HTML that
causes the SWF to display on the web page, your entire SWF can have
transparency in any area you wish.
There are really a lot of ways to do the page effect. This
one just looks like simple tweened animation, not hardcoded via
Actionscript. Though it does involve a lot of interaction (rollover
on the main movieclip to have the page "pulse" when the mouse is
over it, and then to animate "closed" when the user clicks the
close button). Might be difficult for a beginner. I can't think of
any tutorials that show exactly how to do THIS particular effect,
but try flashkit.com and other flash tutorial sites, some have
examples of "page turn" effects that aren't exactly the same, but
might steer you in the right direction. -
Banner ads (how to get rid of them???)
im annoyed personally by the fact so many sites have these
banner ads, and adobe or flash player makes no consessions for a
person to block out the unwanted frames off the screen. to me this
not only waists memory its stuff i really prefer not to be on my
computer in any shape or form. it seems you find a way to block the
silly things then they find some way around it and you cant block
them anymore. i think their needs to be a feature in brousers that
gives the opperator the right to veiw or not to view banner ads.
something i call useless internet clutter.For dealing with duplicates in iPhoto check out Duplicate Annihilator
-
How can I combine multiple flash banners
I have multiple flash banners for specific product pages and
would like to combine them to play in order for the main product
page. What is the easiest way to do this?you could put them in a MC on the timeline and call to a
frame label of the banner that cooresponds with the current page.
Or you could go more dynamic, list the banners Linkage ids in an
array and use attachMovie, or use the MovieClipLoader class and
load them as external swfs.
easiest? if your new to scripting and if you don't mind the
extra space in the file, go timeline. -
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. -
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 -
.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/
Maybe you are looking for
-
How can I remove the forced U2 songs from my iphone without synchronizing?
Hello. I have about 100 songs merely on my iPhone, nowhere else. Apple moved somehow these U2 songs on my iPhone without permission. Now it is like having an undesired cupboard standing in the middle of my living room and I cannot remove it. A synchr
-
Been using Yahoo toolbar for a long time. Suddenly my bookmarks have disappeared. How do I get them back. Notice other people seem to be having this issue as well.
-
"itunes encountered a problem and needed to close" help?
thats the message i get when i try to click on the itunes icons. it won't let me in at all even a smidge. its done this ever since ive tried to load it on this new computer. ive uninstalled and reinstalled millions of times yet it still has the same
-
Article preview not working in iPhone App
I have free articles available for preview before you hit a paywall and have to pay for the app. This works fine in my universal app on ipad, but on iphone the preview button does not appear. Please help
-
hi i have the taskflow which got view when i navigate to next view.screen i what it to appear as popup how can i do that am in jdeveloper 11.1.1.6