Hi, thanks for anwering.

Actually I'm running my application in local since I'm having a lot of
problems with my hosting provider ��

I can paste here my jsp code:

<%...@include file="imports.jsp" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SWFObject embed by Geoff Stearns (basic) @ deconcept</title>
<!-- SWFObject embed by Geoff Stearns [email protected]
http://blog.deconcept.com/swfobject/ -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">

    body {
        background-color: #eeeeee;
        font: .8em/1.3em verdana,arial,helvetica,sans-serif;
    }

    #info {
        width: 300px;
        overflow: auto;
    }

    #flashcontent {
        border: solid 1px #000;
        width: 300px;
        height: 300px;
        float: left;
        margin: 15px 20px;
    }

</style>
</head>
<body>

    <div id="flashcontent">

        <strong>You need to upgrade your Flash Player</strong>
        This is replaced by the Flash content.
        <code>noscript</code>
        tags. Include a link to <a href="swfobject.html?
detectflash=false">bypass the detection</a> if you wish.
    </div>

    <script type="text/javascript">
        // <![CDATA[

        var so = new SWFObject("Evento_Botones.swf", "sotester",
"300", "300", "9", "#FF6600");
        so.addVariable("flashVarText", "this is passed in via
FlashVars for example only"); // this line is optional, but this
example uses the variable and displays this text inside the flash
movie
        so.write("flashcontent");

        // ]]>
    </script>

    <div id="info">
        <p>
            This Flash movie was embedded using the <a href="http://
blog.deconcept.com/swfobject/">SWFObject</a> embed method by <a
href="http://blog.deconcept.com/";>Geoff Stearns</a>.
        </p>
        <p>Other sample embeds:</p>
        <ul>

            <li>Basic Flash Embed with alternate content</li>
            <li><a href="fullpage.html">Full page Flash embed</a></li>
            <li><a href="expressinstall.html">Basic Flash Embed with
Express Install allowed</a></li>
        </ul>
        <p>You can also <a href="flashversion.html">view your
installed Flash version</a>.</p>
        <p>

            <a href="view-source:http://blog.deconcept.com/swfobject/
swfobject.html">View source</a> (in mozilla, firefox) | <a
href="swfobject_source.js">View Javascript</a>.
        </p>
        <p>
            <a href="http://blog.deconcept.com/swfobject/
swfobject1-4.zip">Download Source</a>.
        </p>
    </div>

    <p style="clear: both;margin-left: 20px"><a href="http://
validator.w3.org/check?uri=referer">Validate XHTML</a> and <a
href="http://jigsaw.w3.org/css-validator/check/referer";>CSS</a></p>

</body>
</html>


And here is what a see in the in my web browser (Firefox),
http://www.servidor-imagenes.com/pictures/1730100643937517ab56679566c85157.jpg

swfobject.js and the swf file are in the same folder as this jsp
file.

I must say in addition that i'm a newbie in all this web development
stuff.



On Aug 31, 1:41�pm, Aran Rhee <[email protected]> wrote:
> Without a link to the page in question, it is a bit hard to know what could
> be going on. Can you post a link? If not, can you post the simplest example
> of the jsp code which is doing the page generation?
>
> Cheers,
> Aran
>
> On Mon, Aug 31, 2009 at 9:14 PM, Ana <[email protected]> wrote:
>
> > I'm developing a little aplication in Openxava, a MDD framework that
> > generates servlets from some simple code.
>
> > Well, in one of those servlets I want to add my flash animation, so I
> > made my own jsp including the code necesary to embeded my swf, as the
> > intructions of SWFObject blog indicates.
>
> > But I can't make it work, I get the message "Upgrade your Flash
> > Player". The rest of the page charges fine, but in the animation field
> > I get the upgrade flash player message. I think the application
> > doesn't find or ignors the swfobject.js, despite I put all the
> > necesary files in the same directory. I even try to copy the html code
> > in my jsp file to a common html file (in the same folder), and it
> > works fine.
>
> > Is there �any problem to run swfobject in a jsp file?
>
> > Thank you very much for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to