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/
Similar Messages
-
Dynamic Flash banner in Dreamweaver
Hi Everyone,
I am using Dreamweavers' Development toolkit and can upload
images such as JPG and GIF files to my server and add their file
name to a MySQL database. This allows me to then dynamically recall
them and add a rand() function to the recordset for a banner
application.
My challenge is that I want to also be able to upload flash
(swf) files to my server and add the file name to the database.
Thant I can do, whoever when I go to display them through a
recordset, the normal JPG etc images show but not the swf files.
Can anyone help me find a solution?
Many thanks in advance.
Mark this message as the answer.We need to see your code; please post a link to your troubled
page.
"Amots" <[email protected]> wrote in message
news:g9qe56$2qh$[email protected]..
>I made a flash file which load dynamic text for external
.txt file into a
> scroll box. Now, when I add the swf file into my .aspx
page in dreamweaver
> there is a problem. The scroller load alright but the
text is not shown
> up.
>
> ( i saved the txt folder into the same folder of ny site
so it's not the
> problem.)
> I work with CS3 and built my project by AS3.
>
> thanks,
> KDEN
> -
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> -
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/ -
Dreamweaver, Fireworks pop menu and Flash banner issue
For some unknown reasons I am not getting my Fireworks
pop-menu to show over a flash banner. It looks like it's working,
but hidden behind the flash banner>>but hidden behind the flash banner
That's because Flash content rises to the top, so to speak.
There is a
kludge/hack using the wmode parameter but I believe it only
works in IE.
Your best bet is to redesign the page so the Flash is
separated from the
menu.
Walt
"snazaire" <[email protected]> wrote in
message
news:f747u9$cqk$[email protected]..
> For some unknown reasons I am not getting my Fireworks
pop-menu to show
> over a flash banner. It looks like it's working, but
hidden behind the
> flash banner -
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 -
Insert 100% width flash banner in HTML
Hi all,
i am trying to insert a 100% width flash banner in an html
page. The problem i am facing is that i am inserting the banner
inside a div which has some margin in it. This is effecting the
percentage size of the flash banner. How can i display the flash
banner in that div without the margin width effecting the flash
banner size.
(01) - <div style="margin:0px;"> <object
classid="somevalues"></object>
The size of the flash banner is perfect and when the window
is resized the flash banner fills in perfectly with the div tag and
the retains its width and height
(02) - <div style="margin:50px;"><object
classid="somevalues"></object>
The flash banner gets effect and the width is effected.
Please help....> 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/ -
Is Edge Animate intended to replace Flash?
Is Edge Animate intended to replace Flash? I have worked with Flash for almost 15 years and love it, what is its future?
With Apple rejecting mobile support for Flash and Apple's dominance in those markets, I believe Edge is Adobe's attempt to stay relevant in areas where Flash is not (HTML5, JQuery the new web darlings). As far as Flash's future it's an open question, I don't think it's predicament is Adobe's fault, but end users that use it primarily for it's animation/video prowess,which it's great at. Few use it's ability to marry the former with it's ability to retrieve and serve data as another part of an interactive banner, for example. Plus the tablet market is in flux. Apple is still the dominant player but it's market share is slipping (most other tablets support flash), at least in the recent fiscal quarters. I have worked on a two large jobs in which this situation was ignored and upon completion the reality set in and I'm sorry to say, heads rolled. They didn't listen to the market, which Adobe is doing or heging. That's my two cents.
-
I was wondering if there is any way to place an image behind a flash banner or picture so incase someone dosnt have flash they can still see a non animated verson of what would be there.
Use SWFObject Replacement.
Add some alternate HTML content for non-Flash supporting devices.
http://code.google.com/p/swfobject/wiki/documentation
See also, jQuery Cycle.
http://jquery.malsup.com/cycle/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
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
Thanks0k 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 -
Apple says html 5 will replace flash
When I asked an apple rep if the ipad and iphone will ever support flash player they said not because html 5 is going to replace Flash.
What code can I place in my Dreamweaver file so viewers on an ipad can view a flat jpeg instead of the flash animation?use swfobject to embed your swf. you can then easily designate alternative content (like that jpg).
-
Flash buttons in dreamweaver 8
Hi,
i am having a problem with inserting flash button in
dreamweaver 8, when i insert the buttons it appears on the page as
a grey box with "F"(flash) and not displaying the proper text. The
user is a standard windows users and has not administrator
privilidges. but if an administrator loggs into the pc and does the
exact same process then the flash button work.
has anyone come across this problem ? does anyone know how to
resolve
cheers
davidYou'll need to go back into Flash and build the links into the buttons before you create the swf's. Look in the Flash help docs regarding the getURL function as far as the code you'll need for linking. If you have problems, post in the Flash AS1 and AS2 forum.
Beyond that, don't be surprised if some feedback arises here regarding using Flash buttons. -
How to use Flash Skin in Dreamweaver 8
Hi,
I'd like to use a Flash Video Skin
(SteelExternalPlaySeekMute) that came with Flash 8, in Dreamweave.
I copied the skin file (SteelExternalPlaySeekMute.swf) into
Dreamweaver's Configuration>Templates>Video_Control folder,
but although I see the skin in Dreamweave's popup skin menu, I
doesnt function correctly.
I assume I need to be doing somethign with the .fla file
(SteelExternalPlaySeekMute.fla), but I cant figure out where to put
that in Dreamweaver.
Any suggestions on how to get my video to work with this skin
would be appreciated.
thank you....bump...
would really appreciate it if someone could help me out
here....
thank you. -
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
Maybe you are looking for
-
Help! iPhoto crashes every time I try to open and view photos.
Every time i try to open iPhoto it unexpectedly shuts down. Here is the begining of the problem details: Process: iPhoto [242] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier: com.apple.iPhoto Version:
-
I reciently downloaded the PPC version of Flash player 9 from: http://www.adobe.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash However, whenever I navigate to a page with Flash content, I see a faded QuickTime logo with a '?' over it.
-
Will a new router increase my broadband speed in this configuration
How much (if at all) can I increase my broadband speed by getting a faster router. Here's my config: DSL line --> DSL modem --> Lynksys BEFSR41 Router --> Ethernet cat-5 wiring in house --> TimeCapsule WiFi The computers using this network are an Int
-
I don't know if this can be done but here it goes. I have 2 flash anamation on my site. Both have several scenes in them. My question is? When linking over from one swf. to another. Can you script it to start at a specific scene or must you start at
-
I made a cube based off a tutorial, using the Flash 3D tools and z-index. When I rotated it on the z-axis, it works fine. However, I tried doing the same in a different file with two sides of an envelope with the z-index of the front set to 0, and th