Solved

Integrating JSP and Flash

Posted on 2006-11-19
6
269 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 500 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

Technology Partners: 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

After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
A look at what happened in the Verizon cloud breach.
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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