How to add a flash frontend?

I have a client server application written in Java. Currently the server is Java based and the client side is a Java applet. I would like to know what techniques are possible to add a flash front end. There is a lot of presentation logic processed on the client side in the applet, and I essentially would like to just replace my rendering/painting mechanisms.
For backwards compatibility I still need to support the Java based front end.
I was thinking I need a mechanism where I can call for example a function such as view.showPopupWindow(popupMessage, onOkClickedCallbackCommand), where view is either a Java or a flash view which then knows how to display the graphical component respectively, and can communicate backwards when an action is performed on the GUI.
I would appreciate any advice or links that would help me further understand the issues related to the this task and possible solutions.
Thank you.

1. Split presentation layers
Your application will have one presentation layer with multiple implementations. Or in other words, views. For example, one might design an application to be accessed (viewed) from an HTML browser and also a standalone client application. Here you have only one presentation layer with two implementations. If you later designed a WAP interface for wireless phones, you would then have three implementations in the presentation layer.
2. Embed the flash movie and java applet in same window
If you wanted you could do this. I thought you wanted to replace the applet with a Shockeave component (Flash movie). You need to think about the presentation requirements a bit more.
3. Use http/javascript to communicate between flash and java
Not Javascript. You can send data variables and recieve data variables from the Shockwave component using something like a URL object in ActionScript. The GUI for writing ActionScript will guide you in this process. I can't remember. Been a long time :o)
Do you know what kind of dev environment would facilitate this type of development? Your environment would need to include a Macromedia Flash editor and a Java compiler and JRE.
Is it possible for example to have the flash side running and then launch the applet out of Eclipse for debugging or vicaversa (or something with a similar effect)If you are building a HTML page that contains both Shockwave and and applet, then no.
You need to create the HTML in one step. You cannot have the Shockwave component already running prior to creating the HTML page with the applet.
Having both a Shockwave component and an applet on the same page will be tricky, especially if you want them to communicate with each other. Remember, since you will be using HTTP requests, you will be serving up the same page with the response.

Similar Messages

  • How to add one flash file to another?

    ok, im making a flash website, and in a different file I created a music player that plays a song when the play button is clicked and stops when the stop button is clicked. My question is how do I go and put that song player on my flash website and have it work?

    First, create an empty movieclip in the main file so that you'll have a place to paste the content from the movie you want to add.
    Then you need to copy the entire timeline of the movie you want to install:  Open the file you want to add and select all occupied frames/layers of the timeline (click one frame at one end of the top layer, then shift-click the last frame on the bottom layer--or further down if other layers extend further).  Right click on the selection and choose copy frames.
    Note: You need to be sure that the file you copied does not contain library objects with the same names but different content than the main file's library objects to avoid having things replaced.
    Back in the main file, right click on the one and only frame inside the empty movieclip you created and choose paste frames.
    You should now have a movieclip containing the other file contents and code that you can place on the stage of the main file.

  • How to add a flash animation into another flash presentation? Help!!!

    I made an animation and I am wanting to add it to a flash portfolio that I am now creating. I am creating the portfolio so I can send it to potential employers. I am new to Flash but not to Illustrator, Photoshop or InDesign. I am adding several different files from those other programs to the porfolio and want to add a few Flash creations also.So how can I easliy bring the Flash animations into the Presentation? I want the animation to play in the same timeline but I don't want to have to recreate the whole thing or recreate the portfolio. What type of file format does the animation need to be to play? Can this be done?

    In AS2 you can use loadmovie to load a .swf into another .swf.
    http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dic tionary423.html
    In AS3, something like this:
    http://www.kirupa.com/forum/showthread.php?t=269964
    Best wishes,
    Adninjastrator

  • Please can you explain how to add adobe flash player when using Mozilla ?

    I cannot view videos without them constantly stopping.
    I have been told that I need to use adobe flash player.
    When I try to load this, though, the download will not work.
    A message apprears to say I must turn Mozilla Firefox off.
    Please can you explain how I can get around this ?
    Please note, I am not very good with computers, so it would be good if you can make the instructions as basic as possible.
    Many thanks !
    Trev Stafford
    <sub>edit: removed your mail address from public display, since the only thing it will attract are spam bots. you will be notified per mail once somebody replies to the thread. (philipp)</sub>

    Download the non-IE version of Adobe Flash for your system here:
    https://support.mozilla.org/en-US/kb/keep-flash-up-to-date-and-troubleshoot-problems
    Close the browser, and temporarily disable your anti-virus
    Install the non-IE version of Adobe Flash
    Re-enable anti-virus
    See that you have the current version here
    http://www.adobe.com/software/flash/about/
    replaced unofficial third-party download site link.

  • How to add adobe flash player to ipad4

    I keep running into sites that require adobe flash player and I get a message that the device doesn't support it. How is that possible. How can I download what I need

    IOS device do not support Flash
    However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability

  • How to add in flash

    Hi.
    I want to create an application which counts my clicks.
    I want to have a score(textfield) which will record my
    clicks.
    So when i press the mouse button it will count my clicks.
    Here is the code:
    _root.mask_mc.onPress = function() {
    _root.bat_mc.gotoAndPlay(2);
    _root.scor_txt.text=0++;
    I want the text field to display zero (O) when the
    application loads, but to add one number everytime i click:
    click 1: 0+1 = displays 1
    click2: 1+1 = displays 2
    Can someone correct my code above?
    Thank you very much.

    Problem figured out. Thanks anyway.
    If there is anyone interested how i did it:
    i changed "_root.scor_txt.text=0++;" with
    "_root.scor_txt.text++;"

  • How to add the flash plugin in firefox beta linux x86_64

    Someone give me the solution in a live chat session so I share it here.
    If you are testing firefox under linux (x86_64 in my case) and the flash plugin is installed but not detected by firefox, it's probably because you are testing it in a single user environment.
    For example, you have downloaded and unarchived firefox beta in your home directory :
    /home/toto/downloads/firefox
    And flash plugin was already installed in :
    /usr/lib64/mozilla/plugins/libflashplayer.so
    All you have to do is to create a personal plugin directory :
    mkdir -p ~/.mozilla/plugins
    And then, copy the flash plugin :
    cp -a /usr/lib64/mozilla/plugins/libflashplayer.so ~/.mozilla/plugins/

    A symbolic link to that file should be sufficient.

  • How do I add adobe flash player to my Ipad

    How do I add adobe flash player to my Ipad

    You can't, it's not supported on any iOS device (iPad, iPhone, iPod Touch) : http://www.apple.com/hotnews/thoughts-on-flash/ . Apps such as Skyfire claim to support flash, but their reviews are mixed. Some websites (especially news sites) have their own apps in the App Store, so you could check to see if your favourite(s) have apps.

  • How do you add adobe flash player to your mac computer

    How do you add adobe flash player on a mac computer so you can watch youtube and or listen to music?

    Click here and download it.
    (119142)

  • How to add a dropdown menu in flash document (.swf, .fla) ??

    How to add a dropdown menu in flash document (.swf, .fla) ??
    as i am developing a website for my semester proj, i need to add some flash contetn in the website..
    here is the link, http://www.mediafire.com/?wnx1jkwkkx9c118
    Check Out..
    the thing is i want a dropdown list/menu in "language selection - tab " (check the html page in above link).. plz help me out..
    Thank You,
    sairam

    For Flash questions check the Flash Forums. 
    http://forums.adobe.com/community/flash
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How to add PDF files into a slides? (Flash 8)

    I am new to flash and I am using Macromedia Flash 8. My task is simple enough: I need create a Presentation with Screens from PDF files: I have 10-12 PDF files which I want convert into flash presentation.
    I have read this tutorial:
    http://w3.id.tue.nl/fileadmin/id/objects/E-Atelier/Phidgets/Software/Flash/fl8_tutorials.p df
    Chapter 11: Basic Tasks: Create a Presentation with Screens.
    I'm having trouble how to add PDF files into a slides: I want insert a whole pdf file as separate slide, without splitting pdf file into separate elements: pictures, text, etc. I tried import pdf file into Flash, wheen import there is shown prompt how program should process this pdf file(add in stage, library, as keyframes, etc) , not clear which option is correct for my task. What I got is pdf file splitted into multiple images, text, - which is not what I want. I want keep PDF files without changes, preserve original design and formatting, just convert this pdf into flash, so presentation will consist of PDFs organized in correct order, then add navigation buttons and some effects. How to solve this task?

    Just to avoid potential confusion... PDF is an Adobe format, but Flash 8 is/was not.  Flash 8 came out before Adobe bought Macromedia.  Even today, I don't believe anything has been done to accomodate direct integration of PDF content in Flash.

  • How to add norwegian language to my ipa-file in Adobe Flash Professional and Settings for AIR

    Hi,
    How to add Norwegian languages to my ipa-file in Adobe Flash Professional and Settings for AIR?
    The Norwegian users get my apps in english instead of Norweigan. Desperate for help!
    Regards Ylva

    Sorry but you will not get help here for that problem. This forum is about AIR Help, an online help format produced using AIR, it is not about AIR itself.
    I'll see if I can move it.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to add this mp3 player in my movie flash

    How to add this mp3 player in my movie flash. This mp3 player
    was generated in other web site and after i created what i got back
    was this :
    <center><embed src="
    http://www.mp3asset.com/swf/mp3/myPod.swf"
    quality="high" wmode="transparent"
    flashvars="myid=3597756&path=2007/07/31&mycolor=0xAFC0D4&mycolor2=0x422F21&mycolor3=0xFFF FFF&autoplay=true&rand=0&f=3"
    width="180" height="380"
    name="myflashfetish" align="middle"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    /><br>I made this <a href="
    http://www.myflashfetish.com"
    target="_blank">MySpace Music Player</a> at <a href="
    http://www.myflashfetish.com"
    target="_blank">MyFlashFetish</a>.com.</center><br><br>
    THIS CODE CAN BE ADDED IN ANY WEB PAGE BUT WHAT I WANTED TO
    KNOW IS HOW CAN I PUT THIS INSIDE OF MY FLASH MOVIE???? THANK YOU
    PLEASE HELP ME !!!!!!!!!!!!!

    use the same method that i posted in your other topic, but
    use a new empty movie clip with new instance name and replace the
    "URL" with
    http://www.mp3asset.com/swf/mp3/myPod.swf"

  • How to add flash action

    Hi my friends:
      I want to add a flash action to captivate project,but i do know how to add.
      I want to add "getURL("FSCommand:window","closeResult close");" or "fscommand("window", "closeResult close");" to end of the project or last slide.I try to add in the javascript but not run.If we select close project when play ends and public only swf,the flash player will call IE and jump an error.

    I have a Flash Player,if i have the code ,it will close the movie.
    stop ();
    getURL("FSCommand:window","closeResult close");
    or
    stop ();
    fscommand("window", "closeResult close");
    but,if i type the code to end of the movie by open url of file.I find the captivate code is:
    function endMovieFunction(slide)
        var _loc1 = "fscommand(\"window\", \"closeResult close\");";
        getURL(_loc1, "_self");
    } // End of the function
    function endMovieFunction(slide)
        var _loc1 = "\"FSCommand:window\",\"closeResult close\"";
        getURL(_loc1, "_self");
    } // End of the function
    function endMovieFunction(slide)
        var _loc1 = "FSCommand:window,closeResult close";
        getURL(_loc1, "_self");
    } // End of the function
    so my flashplayer is not close the movie.

  • How to add AIR 3 to Flash Professional CS5.0?

    Hi,
    Is there a way to add AIR 3 to Flash Professional CS5.0?
    Thanks!

    1) I found a page that explains how do add AIR 2.7 to CS5.0 and then upgrade to AIR 3:
    http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/
    Problem: It requires AIR 2.7 SDK, but I can't find where to download it.
    2) Is there a good explanation on how to use the command line to do AIR 3 builds? A batch file would be even better
    PS. I hope Adobe will streamline integration between Flash Pro and the latest AIR versions. Isn't that what software updates are for?

Maybe you are looking for

  • Disabling SSL on my Blackberry Pearl

    Hoping someone can help me.  I am wanting to do online banking on my Pearl, and cannot because it gives me an error message that my "SSL is disabled"--I have scanned the phone and options screen for SSL, but cannot figure out how to disable it.  I ha

  • J2EE add-in on ABAP system (ECC 5.0)

    HI, How to install J2EE Add-in on ABAP system (ECC 5.0). I have installed ABAP stack on ECC 5.0. Now i want to add Java stack. Can any one help me how to add java stack on an existing abap system. are there any pre-requsites to be followed. Regards,

  • [solved] lvm error loading libudev

    Hi, After updating I can't boot my arch linux because lvm volumes can't be found. "/sbin/lvm: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory" There is only a libudev.so.1 in /usr/lib/ Som

  • How can I fix wrong pixel aspect?

    System(s): OS X 10.4.9 FCP 5.1.4 Color 1.0.1 Xsan 1.4.1v81 Aja Kona 3 Panasonic AJ-HD1400 decks Offline / Online workflow: Capture DVCproHD material from tape (not P2) at offline RT using multiple stations to capture to XSAN. Then online / uprezz usi

  • IPhone4S - Password issue

    Cannot get the App store on my IPhone to accept my password....worked on the MacPro....gave up and reset a new password and it still doesn't work on the IPhone. Error message is "Unknown Error". Anyone else having these issues?