Hello,
I am using SWF Object to insert a Flash movie into an ASP.NET MVC
View.
For that I created a controller:
[AcceptVerbs("GET")]
public ActionResult SSP(int? p) {
return View("SSP");
}
And then I have a view (Html page):
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SSP.aspx.cs"
Inherits="BonsAlunos.Views.Application.SSP"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>SSP</title>
<script src="../../Plugins/DeConcept/SwfObject.js" type="text/
javascript"></script>
<script type="text/javascript">
var flashvars = {};
var parameters = {};
var attributes = {};
swfobject.embedSWF("../Contents/Project/Flash/Promotion.swf",
"Promotion", "515", "115", "9.0.0", false, flashvars, parameters,
attributes);
</script>
</head>
<body>
<div id="Promotion" class="Promotion">
<img src="../../Contents/Project/Image/Promotion.jpg"
alt="Promotion"/>
</div>
</body>
</html>
If I use http://localhost:2920/Application/SSP the flash movie IS
VISIBLE!
If I use http://localhost:2920/Application/SSP/1 the flash movie IS
NOT Visible.
In both cases I get the same code with Firebug:
<body>
<object id="Promotion" height="115" width="515" type="application/x-
shockwave-flash" data="../Contents/Project/Flash/Promotion.swf"
style="visibility: visible;"/>
</body>
Can anyone explain this to me?
I don't even know where to start looking since I have no idea how can
this happen.
Thanks,
Miguel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---