Flash swf in a JPanel

Hi guys,
is it possible to show a swf flash file in a swing jPanel?
With a java based web browser I wasn't successful in it.
Alternatively is it possible from Java, launching Internet Explorer (or Mozilla) with an assigned webpage?
Thanks in advance
Bye
Edited by: giuseppe_italiano on Nov 13, 2007 7:55 AM

Alternatively is it possible from Java, launching Internet Explorer (or Mozilla) with an assigned webpage?
Thanks in advance
Bye
Yes, like this ...
try {
  Process myProcess = Runtime.getRuntime().exec(
    new String[] {"C:/Program Files/Internet Explorer/iexplore.exe", "C:/MyDir/MySubDir/HiYa.html"});
} catch( Exception e) { /* ... */ }

Similar Messages

  • How can I make hyperlinks work from a Flash/SWF presentation?

    How do you make hyperlinks/buttons work in Flash/SWF Captivate 5.5 presentations? This did not seem to be an issue with Version 4. I cannot publish to video (i.e. mp4) or as an executable file for posting on our internal system. If it cannot be done in Flash/SWF, how else can I get buttons/hyperlinks to work? Thank you.

    Welcome to our community
    Please take a look at the links below. Not only do they answer your question, they are there to help you get the best forum experience.
    Forum Participation Suggestions
    Frequently Encountered issues
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Flash swf that runs on every browser except in Firefox. Can anyone help me please?

    Hello.
    I have an flash swf in a site that runs on every browser except in Firefox. I get an warning telling me that the page requires a newer version of flash player but i already have the 10,0,32,18 and the swf was published for flash player 9.
    Can anyone help me please?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • Need help with importing flash/swf into fireworks???? Is it possible???

    Hi, Is it possible to import a flash/swf file in to
    fireworks... If so... how..????
    Thank You for Your Help...

    can you post your code

  • Importing Flash (.swf) to Keynote

    Hi all,
    I am working in Keynote '08 (4.0.2) and have Quicktime 7.4.1 (14) installed. I need to import a Flash (.swf) file and play it in Keynote. Even though the online help says this: "You can also add video or Flash movies that play within a slide. For Flash to work with QuickTime 7.1.3 and later, choose Apple menu > System Preferences, click QuickTime, click Advanced, and select Enable Flash." Keynote 4.0.2 does not accept .swf files (they are grayed out) and Quicktime 7.4.1 cannot play an .swf (This is not a movie file). Should I unistall QT 7.4.1 and install a previous QT version? Can Apple fix this problem? Any other suggestions? Thanks

    Thanks for your quick response. Perian helps with Flash video but as far as I can tell it does not help with swf format. I have an actionscript loaded flash file that cannot be converted to MPEG-4. If you are indeed correct and Apple no longer supports swf with QT then I want my money back for iWork. It clearly states in their manual/help that users can import swf files and play them in Keynote. What a rip-off.
    Is there a way to unistall QT 7.4.5?
    Thanks.

  • Firefox Embedded Flash swf not shown in asynchronous desktop

    Hi all,
    in a jsp I embed a binary property of a content node that includes a flash .swf file. All that in an asynchronous desktop, using Firefox.
    I use the follwing code:
    "<embed scale="exactfit" quality="high" menu="false" width="600" height="400" hswLiveConnect="false" src="<%=myPropertyUrl%>">
    When the page is loaded by "normal" browser request, the flash animation inside the jsp renders as expected. After click on an url (<a> ....</a>) inside the same JSP the portlet content refreshes (via Ajax request), only the flash disappears. After F5 it's back agian.
    The problem does not exist with IE!
    How do i need to handle this for Firefox?
    Thanks for help.

    Firefox uses the object if there isn't a classid to specify an ActiveX control for IE.<br />
    You didn't specify such a classid (classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"), so there is actually no need for the embed in this case.<br />
    As jscher2000 posted above, an object tag only works in Firefox if there is a data attribute present (copy of the movie param) to specify the Flash file and a possible MIME type.
    <pre><nowiki><object style="width:420px;height:272px" data="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" type="application/x-shockwave-flash" >
    <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" />
    <param name="flashvars" value="mode=mini&amp;backgroundColor=%23222222&amp;documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" />
    <param name="allowfullscreen" value="true"/>
    <param name="menu" value="false"/>
    <param name="wmode" value="transparent"/>
    </object></nowiki></pre>

  • How to set up one-button embed-hotlinking for Flash SWF?

    Hello,
    I'm publishing a webcomic in Flash.swf format and I'd like to make it as easy as possible for people to grab my comic and put it on their website. How can I set up one-button hot-linking that will automagically provide the code so that they can easily drop it into their website, similar to the way YouTube does with video?
    Thanks,
    Tom

    you can use the following.  the bolded lines require you to use appropriate values:
        <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="yourswfwidth" height="yourswfheight" id="swfname" align="middle">
                    <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="http://www.yourdomain.com/path/swfname.swf" width="yourswfwidth" height="yourswfheight">
                        <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#ffffff" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="window" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>

  • New to flash, swf loaded while changing size

    i'm trying to create a button that will replace the current
    swf with another and i want the size to change between the various
    sizes of each page. i'm currently using the following code in the
    action inspector:
    on(release){loadMovieNum("myfilename.swf",0);
    i know there has to be a simple way to do this! a very
    grateful thanks to anyone who tries to help!

A: new to flash, swf loaded while changing size

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

  • Get Url doesnt work in my flash .swf page

    Get url doesnt work in my flash .swf page
    www.wackyworld.biz/north.swf
    click on the building is supposed to go to a site. I made all the buildings symbols and when i hit f9 the actions window opens i put
    on bowling building
    on (Release)
    get URL (http://wackyworld.biz/bowling/bowling.html", "_self ") ;
    why when i click on the buildings they dont work? can someone download the file and convert it to fla and tell me what im doing wrong?
    Brent
    Message was edited by: crashncrazy

    i did click on the button and then put in the code.
    on (release)
         "getURL" (http://www.wackyworld.biz/bowling/bowling.html, "_self");
    like this?
    if so this is what i have. still no way to click on button on site

  • Flash SWF Performance Testing and Data

    Looking for some recommendations on tools that can be used independent of the source (that is just on the swf) to check for Frames Per Second, total size and how often the movie loops.
    Needed for Flash Banner ad quality assurance.

    The need was solved by writing my own AIR app to read the SWF file header.
    http://www.lonhosford.com/lonblog/2011/01/17/read-flash-swf-header-in-air-with-parsley-fra mework/
    You can drag a swf file and see the header data. As well you can load a swf from the web.
    Enjoy.

  • Horizontally centering flash .swf" and disallowing horizontal scroll??

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    I made my website in Flash Catalyst, and I made the width 1700px and the height 1200px. I made the width large because I wanted it to look good in the largest screen resolutions, but my biggest problem now that I've finished making the website is putting it up. Simply embedding it makes it scroll horizontally all the way to 1700px, which isn't good for those with small browsers.
    Originally, I was planning on making the flash file the background in CSS (using body {background: url(FILE.swf) no-repeat #000 top center}) but then I found out you can't put .swf's as backgrounds.
    Basically, I want to know if it's possible to center the .swf horizontally, and then disallow horizontal scrolling. I want to keep vertical scrolling,
    Any help appreciated!

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    Yes, but it introduces other problems. With scrolling disabled, you might not be able to see all the page. I DO NOT recommend what you are trying to do. Flash scaling would most likely give you better results.
    Background images if intended to cover a large area are typically very small images which are repeated to create a pattern. Using one large image will still never cover all the possible screen resolutions or page sizes... for example larger than 1700 or taller than 1200 pixels.
    Centering requires a set dimension, like 1700 so auto set margins would center it, but it still may not cover 100% as using a width of 100% would.
    That being said, turn off horizontal scroll and leave vert on with:
    overflow-y: auto !important;
    overflow-x: hidden !important
    then you'll need to use z-indexing to lay anything else over the top of you background .swf
    Here a sample page that should get you going... dimensions are smaller so you can see how it works... the principle is the same.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>No Scroll</title>
    <style type="text/css">
    <!--
    body, html {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    overflow-y: auto !important;
    overflow-x: hidden !important
    #main_container {
    position: relative;
    width: 800px;
    height:800px;
    background-color:#ff0000;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    #flash {
    position: relative;
    width: 800px;
    height:600px;
    background-color:#cccccc;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    #content {
    position: relative;
    top:-600px;
    width: 400px;
    height:300px;
    background-color:#00ff00;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    z-index: 5;
    -->
    </style>
    </head>
    <body>
    <div id="main_container">
    <div id="flash">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="overflow" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="overflow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffff00" /><embed src="overflow.swf" quality="high" bgcolor="#ffff00" width="800" height="600" name="overflow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </div>
    <div id="content">
    <p align="center">This is the center</p>
    </div>
    </div>
    </body>
    </html>
    Best of luck!
    Adninjastrator

  • Flash SWF file within Swing JFrame

    I was wondering whether its possible to open a Flash swf file within a JFrame
    I am looking for a solution similar to the usage of Flash Activex control in .NET
    thanks in advance
    Vikas

    I have read the forum link and other such entries in this forum. I have found the following:
    1.) JFlash - a java based flash player. https://jflash.dev.java.net/
    Could'nt find the app or the official site
    2.) a few projects on sourceforge.org :
    java flash bridge where you embed the flash inside an Integrated Browser Component
    3.) SWT Flash integration.
    I do not find any of these solutions satisfactory.except the SWT/Flash integration which I havent tried.
    My question is that isnt there an easier and simpler way to :
    Embed Flash into Swing app where actionscript and java can communicate.
    I am aware of Remoting and web services. But It is a desktop app I am talking about.
    Can anyone suggest anything?
    thanks in advance..
    from a very frustrated programmer....

  • Swing and Flash SWF objects

    Is there a way to embed Flash files on a Swing application?
    What I want to do is grab locations of images through the java application and pass it to an SWF file to display an animation.
    If embedding flash in Swing isn't possible, what other options are there in Swing for animation?
    Thanks

    there is one more way to embed flash swf file in swings . ie thru JDIC .
    java desktop integration compnentsMy current favourite way is thru the DJNativeSwing project. I realised it provides a slightly better renderering of components than JDIC, especially for the embedded IExplorer on Windows platforms, and it also has some extra cool features that one can use out of the box, like mixing heavyweight and lightweight containers. And Swing borders even work great.
    ICE

  •  Why would certain users not be able to open a mail to url from a Flash swf on my website?

     Why would certain users not be able to open a mail to url from a Flash swf on my website?

    1. Because they're using Android or iOS and can't see the Flash container.
    2. Because they have Flash Player, but NOT Shockwave, which works for Interactive content like games and links in Flash containers.
    3. ActiveX controls are blocking Flash content in IE.
    4. Any of about a dozen other things.
    As a web desginer since 2003, I can tell you that these days, it's a terrible idea to have Flash content in a website (outside of games that require it). Video should be HTML5. Navigation, content and other links should be HTML, CSS and/or Javascript ONLY, because placing them in a Flash container makes them invisible to literally half of your viewers or more, since SmartPhones can't and don't see Flash, and tablets don't either without special browsers, which may or may not work with embedded links.

  • Bringing Flash .swf files into Captivate

    Greetings,
    I use Captivate 2.0. I have been trying to bring a Flash .swf
    file into Captivate with very little success. The flash file is
    clickable (so that users can review case study information as they
    complete Try It simulations). When I bring the Flash .swf file into
    Captivate, it works. However, correction (or failure messages)
    display every time the user clicks the Flash .swf file. Is there
    anything that I can do within Captivate to stop this issue?
    Ideally, I would like the Flash .swf to run on top of the Captivate
    file so that users can view the case study details without having
    to see the failure messages.
    Please let me know if you have any questions about this. I
    hope it makes sense to you.

    Hi Zabcde (or PMW or P?)
    Can I just understand (sorry for being thick) your situation.
    You're trying to get a flash movie into a captivate session that
    the user can work on, see, interact with whilst they're also going
    through a Captivate simulation (try it)? Does that mean that slides
    are advancing for the simulation whilst you're watching the flash
    movie? Or are they watching the Flash movie as a kind of help to
    then go and do the Try It session?
    If it's the first, then I would suggest calling the Flash swf
    and the Captivate swf as seperate instances in flash (using
    loadmovienum or something). If it's the second, you should be able
    to remove the failure captions from that slide so they don't bug
    you.
    Apologies if I've got the wrong end of the stick though
    Cheers
    AJ (jiminiCricket)

  • Maybe you are looking for