Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to get control of the .SWF files in JSP files

843842Jun 27 2009 — edited Jul 2 2009
Hi All

In my web application, I got 4 swf buttons which are created by flash and they are embedded in the jsp's. Each button perform the navigation to other page.

this is the jsp file.
     <table width="100%" border="0">
              <tr> 
                <td width="2%" height="26">&nbsp;</td>
                <td width="31%"> <object classid="clsid:...." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                    <param name="BASE" value=".">
                    <param name="BGCOLOR" value="">
                    <param name="movie" value="button1.swf">
                    <param name="quality" value="high">
                    <embed src="button1.swf" width="100" height="22" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" base="." ></embed> 
                  </object> <font size="-1" face="Arial, Helvetica, sans-serif">&nbsp;</font></td>
                <td width="67%" class="sitemapgy">*Add*  </td>
              </tr>
              <tr> 
                <td height="26">&nbsp;</td>
                <td><object classid="clsid:..." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                    <param name="BASE" value=".">
                    <param name="BGCOLOR" value="">
                    <param name="movie" value="button2.swf">
                    <param name="quality" value="high">
                    <embed src="button2.swf" width="100" height="22" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" base="." ></embed> 
                  </object> </td>
                <td class="sitemapgy">*Edit* ;</td>
              </tr>
              <tr> 
                <td height="26">&nbsp;</td>
                <td><object classid="clsid:..." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                    <param name="movie" value="button13.swf">
                    <param name="quality" value="high">
                    <param name="base" value=".">
                    <embed src="button7.swf" base="."  quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed> 
                  </object></td>
                <td class="sitemapgy">*Create*</td>
              </tr>
              <tr>
                <td height="26">&nbsp;</td>
                <td><object classid="clsid:.." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
                    <param name="BGCOLOR" value="">
                    <param name="movie" value="main_print.swf">
                    <param name="quality" value="high">
                    <param name="base" value=".">
                    <embed src="main_print.swf" base="."  quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed> 
                  </object></td>
                <td class="sitemapgy"><font face="Arial, Helvetica, sans-serif">*Print*</font></td>
              </tr>
              <tr> 
                <td height="26">&nbsp;</td>
                <td><object classid="clsid:..." codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22" >
                    <param name="BGCOLOR" value="">
                    <param name="BASE" value=".">
                    <param name="movie" value="button3.swf">
                    <param name="quality" value="high">
                    <embed src="button3.swf" width="100" height="22" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" base="." ></embed> 
                  </object></td>
                <td class="sitemapgy"><font face="Arial, Helvetica, sans-serif">*_Admin_*</font></td>
              </tr>
              <tr> 
                <td height="24">&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
When I click the button3.swf (Admin) button....it navigates to other page...Before that I need to get control of swf button and need to perform some login checks.

Is it possible to get control?


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2009
Added on Jun 27 2009
12 comments
308 views