Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Integrating JSP and Flash

Posted on 2006-11-19
6
Medium Priority
?
273 Views
Last Modified: 2010-04-01
I have a JSP page  with an embeded flash file using the following code.

assume that '<c:out value="${myForm.resource}" />'   prints:  'myLocation/myFlashFile.swf' into the object.

I would like some code or function to send an event to the server when the myFlashFile.swf has ended.  

-----------begin jsp-flash code----------

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        WIDTH="320" HEIGHT="240" id="Yourfilename" ALIGN="">
        <PARAM NAME=movie VALUE="<c:out value="${myForm.resource}" />">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFCC > 
        <EMBED src="<c:out value="${myForm.resource}" />"
               quality=high bgcolor=#FFFFCC
               WIDTH="640" HEIGHT="480" NAME="<c:out value="${myForm.resource}" />"
               ALIGN="" TYPE="application/x-shockwave-flash"
               PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
        </EMBED>
</OBJECT>

-----------end jsp-flash code----------

How do I send HTML data triggered by this flash file ending?
0
Comment
Question by:tmonteit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 5

Expert Comment

by:deeppra
ID: 17977334
in the code base u can write the <c:out> statement
0
 

Author Comment

by:tmonteit
ID: 17982916
Example please.  All I know of the "code base" is an example I found online.  How to embed a flash in jsp.
0
 
LVL 10

Accepted Solution

by:
jaggernat earned 2000 total points
ID: 17984430
0
 
LVL 5

Expert Comment

by:deeppra
ID: 17984895
This is the jsp page in the same dir u keep the flash file "swflash.cab"


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="swflash.cab#version=6,0,0,0"
        WIDTH="320" HEIGHT="240" id="Yourfilename" ALIGN="">
        <PARAM NAME=movie VALUE="<c:out value="${myForm.resource}" />">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFCC >
        <EMBED src="<c:out value="${myForm.resource}" />"
               quality=high bgcolor=#FFFFCC
               WIDTH="640" HEIGHT="480" NAME="<c:out value="${myForm.resource}" />"
               ALIGN="" TYPE="application/x-shockwave-flash"
               PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
        </EMBED>
</OBJECT>
0
 

Author Comment

by:tmonteit
ID: 17991848
Can we go to the beginner level?

What's the "swflash.cab"?

So my page runs a flash.swf file after its done running I want the flash to redirect to another web page.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question