Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Flash SWF and JSP page?? (Using netbeans)

  • 29-03-2010 4:34pm
    #1
    Registered Users, Registered Users 2 Posts: 3,109 ✭✭✭


    Hi all, any suggetsions would be great, not sure if this should be in design or development...

    I'm basically trying to embed a flash SWF file into a JSP page, but nothing is showing up. I'm coding the JSP with latest version of netbeans. I've created a JSP page in Dreamweaver, dragged in the SWF file, (with all relevent RunActiveContent files etc)....but when I reopen file in netbeans it says the "embed" tag is an unknown tag, and hence the SWF shows up as blank. It needs to be a JSP page as there is dynamic data also on page which is being pulled from a database.

    I've tried using an iframe, with the SWF in a HTML page, which in turn is embedded into the JSP, but still no success!! I thought it was possible, am I missing something really simple??


Comments

  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    Try using this code rather than all the mess Dreamweaver puts in.

    You'll have to put some details in twice because IE sucks, but it's still way cleaner.
    <!--[if !IE]> -->
      <object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
    <!-- <![endif]-->
    <!--[if IE]>
      <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="400" height="300">
        <param name="movie" value="movie.swf" />
    <!-->
      </object>
    <!-- <![endif]-->
    


  • Registered Users, Registered Users 2 Posts: 3,109 ✭✭✭RikkFlair


    Great that worked a treat, thank you so much.

    I see what you mean about Dreamweaver adding in all that unecessary code.
    THanks again :)


Advertisement