Solved

Integrating JSP and Flash

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Problem with Pie chart in Jsp 20 250
Multiple Images Upload [JSP Web-application] 3 53
iterator example remove 8 75
doubleChar java challenge 7 131
Invest in your employees with these five simple steps to improve employee engagement and retention.
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

752 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