.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Flash Banner

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net
 

Hi,

I add an ad banner to my page. This ad banner should play .flv flash file. Because I don't know how to add an Ad Rotator that can play .flv file, I simply add an Flash player. My problem is how to let it play repeatedly (non-stop)?




View Complete Post


More Related Resource Links

Flash player doesn't send cookies while requesting an aspx page

  

Hi.

 I'm developing a web-site, that uses SWFUpload for multiple files upload to the server. Page, that uploades files, is accessable only to registered user. Authentication is done via web-forms (authentication mode="Forms" in Web.config). Flash uploades files to special web page - upload.aspx. In IE everything works great, but Flash player in non-IE browser (in Firefox, for example) does not send any cookies to upload.aspx. Because of it no sesion and no authentication information is available in this page.

 I can pass all the information, necessary for uploading, in GET-parameters, which upload.aspx recieve. But this is a serious security hole and I don't want to expose session information. I can pass session identifier in GET-request. But the question is the following: how can I restore session information from the session identifier? How can I make HttpContext.Current.User point to currently logged in user in this case?

Any help will be appreciated.

Send HTML email with banner inside

  

Hi all,

I want to send html emails with one promo-banner inside. Have a look at my code... I try but with no success.

 

            Dim strFrom, strTo, strSubject, strBody As String
            Dim myMessage As MailMessage
            Dim mySmtpClient As SmtpClient
            strFrom = "SENDER<test@example.com>"
            strTo = Session("eemaill")
            strSubject = "HELLO THERE!"
            strBody = "HELLO THIS IS MY MSG<br />" + _
            " <script type='text/javascript'> var ai = 899; var rc = 40; var rt= 2; var rc_width = 724; var rc_height = 90; </script>" + _
            " <script type='text/javascript' src='http://assets.example.com/s/ads.js'></script><br /><br />" + _
            "<b>THANK YOU</b>"
            myMessage = New MailMessage(strFrom, strTo, strSubject, strBody)
            myMessage.IsBodyHtml = True
            mySmtpClient = New SmtpClient("mail.example.com")
            mySmtpClient.Send(myMessage)


 

 

 

Thank you


flash player

  
Hi does anybody know how to embed flash player(to play mp3 songs) in asp.net using c#.net. does flash player support all extensions(like .flv,.vlc.mp3). could anyone help me out.Thank youkranthi

Placeholder Until Flash Video Loads

  
 VWD 2008 Express.  Adobe Captivate 3.  Visual Basic. I have a page onto which a flash video loads.  The flash video was created in Adobe Captivate.  Usually the 665x335 area where the flash video object loads just shows as an empty 665x335 frame (with a little picture icon in the upper lefthand corner) for a few seconds until the flash video finishes loading.  Then the video appears and starts running.  It makes the page look unprofessional.  Does anyone have an idea how I could have a default image show in the 665x335 space until the video loads, then to have the video take over?  Perhaps the flash player has an event that fires when it finishes loading and initializing?  Below is the flash video object that is embedded in my page: <div style="width: 665px; height: 335px" class="clickarea"> <object id="OneDay" codebase="http://fpdownload.macro../media.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="../media/video/homepage/OneDayAlternate.swf" width="658" height="335"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="../media/video/hom

problem with banner s structure

  
 Hello everyone,   Last night I was watching the banner of the first page of this website I mean this address http://www.asp.net/ and when I save background of that (I mean the blue part)I could not understood how it was made could you please help me to understand how I can do that?

Capture posted image from Flash/swf for uploading

  
This is the first time I've come across this kind of problem before and I'm having trouble approaching it.  I have a swf developed by someone else that posts an image and I have to create a handler of some kind to capture it, name it, then upload it to a directory.  I've tried a couple ways and nothing is working.  this is a quick an dirty approach, just an aspx file<%@ Page Language="C#" %><%@ Import Namespace="Components" %><%@ Import Namespace="System.IO" %><script runat="server">    public partial class upload : System.Web.UI.Page    {        protected void Page_Load(object sender, EventArgs e)        {            string uploadDirectory;            uploadDirectory = Server.MapPath(@"images/");            string imageName = "image.jpg";            string uploadPath = uploadDirectory + imageName;                        //FileUpload imageUpload =

How do I get the "Device Instance Id" of USB flash drive?

  
Hello, How do I get the "Device Instance Id" of USB flash drive? WPF C# code to accomplish this will be greatly appreciated. I'm trying again to get an answer to the above question.  It appears that some do not know what I mean by "Device Instance Id".  Here is how you find it on a computer with the XP operating system: If you go to it the wrong way you will not find it.  You have to follow these steps (on XP): 1) Make sure you have a USB flash drive inserted into one of the USB ports. 2) Click "Start" then right click "MyComputer" then click "Manage". 3) In the "Computer Management" window click "Device Manager". 4) In the right pane expand the "Disk drives". 5) Right click on "USB Flash Disk USB Device" (Will NOT be there if no USB Flash drive inserted). 6) Click "Properties". 7) Click the "Details" tab. 8) The drop down should already have "Device Instance Id" showing, if not, select it. 9) The contents of the text box below contain the information I want. Again, if you get to this window a different way, the "Details" tab may not appear. Again, if you do not have a USB flash drive plugged into your computer, the "USB Flash Disk USB Device" will not appear. This is what has been suggested before, but does not w

background image in banner, over-ridden?

  
Hi folks, I am working on a master page with a stylesheet.css I put together.  Originally, I set the background as a simple color for the banner attribute until I had an image.  Now that I have the image, I have replaced the background color with the new image in the css file.  While in design mode, it works.  The background color has been replaced with the image.  However, when I run the application, it defaults back to the color (green for simplicity).  I am not sure why this is happening.  Somehow the original background is being pulled from somewhere, and I do not know where.  Has someone had this happen as well?  Why would the background image be displayed in Visual Studio, and then revert back to a previous setting when you run the application?Here is the master page <!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 runat="server"> <asp:ContentPlaceHolder ID="head" runat="server"> </asp:ContentPlaceHolder> <title></title> <link href="StyleSheet.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form2&q

Ajax Control Toolkit - ModalPopup displaying behind Flash

  
HiI have a flash on my page and I need to popup an ajax window, I use ModalPopupExtender. The problem is that ajax popup window always shows behind the flash in Internet explorer and Google Chrome. In firefox there are no such problem.I tried to set wmode="transparent" but id didn't help.Thanks

Embeded flash in an UpdatePanel

  
Hello I have a 2 flash files inside an UpdatePanel. But they don't reload when there is a postback. How can I make it work?Here is my code:<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </cc1:ToolkitScriptManager> <script type="text/javascript" src="flash/swfobject.js"></script> <asp:UpdatePanel runat="server" ChildrenAsTriggers="true" ID="ReviewAndSendUpdatePanel" UpdateMode="Conditional"> <ContentTemplate> <div id="sld3" class="sld3" runat="server" style="margin-top:0px; border:1px solid #000; width:360px; height:240px"> <div id="flashAd1" style="width: 360px; height: 240px"> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("public/flash/house%20drop.swf", "flashAd1", "200", "200", "9", "#FF6600"); so.addParam("wmode", "transparent"); so.addParam("quality", "high"); so.addParam("allowscriptaccess", "samedomain"); so.useExpressInstall('flash/expressinstall.swf'); so.write("

How do I have a banner that doesn't scroll?

  
Can someone please point me to an example of how to, in MVC 2, do a master page so that the banner/menu area of the page does not scroll with the rest of the page? In the past with ASP Classic, I would just use Frames... Richard  

embedding flash image in SSRS report 2008

  
HI ALL, I have image "Shockwave Flash Object" and i want to upload it into SSRS report ,but when i select the report into ADD Image it shows it will not support the format,suggest how to upload the same image into the SSRSreport 2008   Regards Amit

Crystalreports using flash

  
 i'm working on crystal reports, its ok but, i need to generate them using flash.How to do it. thanks in advance

Flash Content missing in firefox redirected

  
Hi,    Do not know if anyone has encountered this problem? Not familiar with Flash. Here's the situation. We have a public client site with Flash content (uses url rewriting) say "\malls"  but at server side it is something like Default.aspx?page_id=456. Now since this site comprises of several sub sites like malls, which has existing public url like www.mymalls.com which is redirected to www.mysite.com\malls no problem with other contents (all displayed ok except for the flash content). but when you click another within www.mymalls.com say going to www.mysite.com\mall2 the flash content is displayed ok (not missing). Can anyone show me where to look or how to fix this? Thanks.    

Adobe Flash Player Problems With IE8

  
I keep getting a message (for various programs) that there's a missing component (Adobe Flash) but when I try to download it to IE8, another message declares that it doesn't work with 64 bit.net framework.     1.  What to do now? 2.  Is MS working with Adobe to get onto the same page?

Flash like functionality

  

Hiii Coders,

I want that images should be flashed one by one like in flash with some good effects.

But i don't want to achieve this using flash.

How can i achieve this without using flash?

plz rep asap

thanx and regards 


Login Page issue with the Banner

  

Hello,

I'm using Visual Web Developer 2010 Express.

I've published the application however when I view the login page the banner is not displayed I just get the red x.. It's fine in pages in other folders but not the Login page which sits in the Account folder however I'm getting the menu so it seems to be picking up the master page.

I've added the image to the Account folder but it just wont show, any ideas?

 

Thanks

Mark

 

<%@ Page Title="Log In" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Login.aspx.vb" Inherits="PODPortal.Login" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Log In
    </h2>
    <p>
       
        <asp:HyperLink ID="RegisterHyperLink" runat="server" Visible="false" Enab

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend