Here is my setup:
Master.MasterPage -> Content.aspx -> UserControl.ascx
UserControl has the swf object on it, but since it is a user control, there is no head or anything like that. It is simply a table with the object and detection script init. Now here is the last one I tried: This is the code from my Content Page -
<script src="IntelliSafeWebDoc/AC_OETags.js" language="javascript" type="text/javascript">script>
<script language="JavaScript" type="text/javascript">
script>
Code Behind on Content page:
protected void Page_Load(object sender, EventArgs e) { HtmlGenericControl body = (HtmlGenericControl)Master.FindControl("theBody"); body.Attributes.Add("onload", "pageInit();"); }
User Control code:
<table cellpadding="0" cellspacing="0" class="sectionlayout"> <tr> <td style="text-align: right"> <asp:Label ID="lblSigCapObj" runat="server"> <script language="JavaScript" type="text/javascript"> script> <input type="button" id="btnClear" value="Clear" onclick="interfaceObj.clearFlex();" /> asp:Label> <br /> <input type="hidden" id="flexStuff" runat="server" /> td> tr> table>
Now the Flex Component will not even display?!!! What in the world do you have to do to detect flash in a multi browser environment?!! This should not be that hard. If I take and put all of this code together on the same page, it renders properly and even gives me the error when I uninstall flash. Can this be done, and I just have some of the code in the wrong places?
Thanks,
CK
dulkiPosted Oct 27, 2009, 7:45 PM
charlesPosted Oct 9, 2008, 1:35 PM