ActionScript 3.0 :: Java Applet On The Same HTML Page?

Jan 19, 2009

I am an amateur game developer working on a class project. I have created a game in Flash AS3 that needs to send variables to a Java Applet residing on the same HTML page. (The Java Applet is a separate interactive audio engine that I am constructing for my thesis work.) Both Flash game and Java Applet work fine on their own. The solution needs to run in a web browser,have not found a solution that encapsulates the usual three languages (ActionScript 3 > JavaScript > Java Applet) within a single tutorial, snippet of working code, or forum thread. I have tried piecing together countless combinations of AS3 > JavaScript and JavaScript > Java solutions, but have not yet found a successful combination. I have found an instance of AS2 > Java communication working, but aspects of the JavaScript source were not available for me to piece it together. I am not a JavaScript guru by any means, and have just recently begun learning AS3 and Java

View 1 Replies


Similar Posts:


Java :: Any Opensource Alternative To Squish To Test Flash / Silverlight / Java Applet Gui Objects?

Jun 3, 2011

If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.

In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.

View 2 Replies

Java :: Load External Page HTML Via Javascript Or Flash Or Java?

Nov 13, 2011

I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?

View 2 Replies

Java :: Flash Whiteboard Web Applet?

Nov 5, 2009

I want to put a whiteboard on my website so users can draw something and then save the image to the server containing the drawing. Are you aware of any open source/free already made whiteboard application out there ? I also need the save image function.

View 2 Replies

Java :: Video Uploading Applet For Users?

Apr 17, 2010

I am working on a small project that I need the ability to let users upload a video to my website or use a webcam to record a video and then upload it. I have seen this done on several sites (youtube,facebook etc) so I know that there is a java or flash applet that supports this. However I have not been able to find one. Any good flash or java based video uploader with these features?

View 2 Replies

Flash :: Do A Audio Video With Java Applet?

Dec 16, 2010

This is the code i wrote in J2SE with Native java wrapper for Gstreamer. But alas it does not work in Web Browser, i am very upset what i can do now, i have no alternative to end this project. IS it impossible to use audio/video with Java Applet for Gstreamer or To build a CD/DVD quality audio ? (this is not targeted for world wide web, only web browsers between peer to peer or peer to 10 peer). ex: working sample as j2SE but same code does not ever work with java applet from browser.

[Code]...

Note: Follow up: In any web browser this native way works, when you have java. So JAVA applet works in any browser. Those who are like me, faced this problem, do not get confused.

View 3 Replies

Java :: Voice Recording Applet / Flash In Web Browser

Mar 21, 2011

I'm going to do a voice recording plugin/addon on a website that will record audio and send it to the server for further processing. I have had two suggestions; either write a java applet or use flash. The service is supposed to work for all major browsers(IE, Firefox, chrome,..). I'm new to this area of development and is looking for tips on how to proceed with this. What is the pro's and con's for each solution?

For java applet, what Java speech API library do you recommend? I want a simple, small library, I only need voice input. Also, I am puzzled by Flash development, I can't find any good information about development, the adobe website dosn't make much sense. What is the programming language for flash, and how do you actually run it in html code? I have found ActionScript 3, is that used to create Flash plugins and can it perform voice recording?

View 2 Replies

Flash :: Javascript - How Does A Browser Interact With A Player Or A Java Applet

Nov 9, 2010

I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.

These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets

(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?

View 2 Replies

ActionScript 2.0 :: Use Java In Html Page?

Sep 20, 2007

how can I use javascript codes in flash(actionscript)? I don't want to use getURL or use java in html page

View 5 Replies

Flex :: Actionscript - Wrap A Java Applet Around A Flex Application?

Oct 20, 2009

I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case: How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integrate NASA's World Wind applet in a Flex panel, similar to what Adrew Trice did with the Google Earth API.

An alternative would be id Flex would support direct access to the 3D hardware through OpenGL or DirectX. But I do not think that that is the case yet, not even through AIR.

View 2 Replies

Java :: Youtube Keep Flash Video Playing / When Go To Users Profile Page From Video Page?

Aug 31, 2011

In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)

View 2 Replies

IDE :: Preload One Html Page / Once It's Loaded Into Cache Automatically Jump To Page With Big Swf?

Dec 29, 2009

I have a flash header for an html site that is about a megabyte and obviously needs a preloader. Unfortunately it won't work to have the preloader loading at the top while the rest of the html below is visible — it will end up looking like the top navigation is cut off, as the top 10 pixels of the nav bar is actually in the swf header (fully loaded it will look contiguous)Is there a way to preload it in one html page and then once it's loaded into the cache automatically jump to the page with the big swf?

View 1 Replies

Flash :: Program An Html Page To Move To A New Web Page On User's Clicking An Item Of An Embedded Movie?

Nov 21, 2011

Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.

View 2 Replies

Professional :: Preloading An HTML / Flash Page On PREVIOUS Page

Jul 1, 2010

I have a site where all the pages have a common SWF embedded at the top (Nav and banner), but the rest of the page is HTML.Everything is working fine, but I'm finding the 'independence' between the HTML and Flash is making for some sloppy transitions from page to page.I was expecting the SWF to be delayed, at least for the first page visit(and I have a preload routine inside the swf to make it's delay and appearance a bit more visually pleasant), but was surprised to sometimes find the SWF appearing and playing while the HTML content was delayed (resulting in a SWF floating in black).What I'm wondering is if there's a way I can do some sort of preload on my index page.BUT, not the standard one that I'm sure everyone would suggest (like the javascript image 'preload', or the newer 'css visibility' preload trick). The problem with the standard one is that it doesn't check to see if everything is loaded.What I'm after is a routine on my index page that invisibly loads some of the elements from my inner pages (common swf, maybe some of the images) and WAITS until it's done before moving to the inner pages (displaying the company logo and/or a load status in the meantime).Many people would suggest a preloader inside the common SWF on my inner pages (which I have), but the problem with that on its own is that it doesn't stop the HTML from displaying.

I'm trying to figure out a way to do a preloader (like those in a SWF, which loops until everything is loaded) that controls both the SWF AND the HTML.Recently, I found that you can use one swf to preload another, which would be a potential solution, as I could make an SWF on the index page whose sole purpose is to load (invisibly) the common SWF, displaying the load status and then loading an inner html page once it's done.Problem is, I have bee having trouble finding the coding for that, as most searches for preloaders end up being about standard preloaders, where it's monitoring the same SWF that the code is on, as opposed to controlling a second, external SWF.Can someone point me to or provide me with the proper coding/procedure for a preloader that controlls a second external swf or give me a better solution?
 one?

View 1 Replies

Making A New Page Popout From An Existing Html Page

Sep 9, 2009

I want to build function on my site where I click on the link, and a new page (background opacity maybe at like 50%)  - which consists of a video in the center and a link or two - floats on top of the already existing html page. I've seen this done a few times and I think it's a really cool function.

View 1 Replies

ActionScript 2.0 :: Make A .swf Placed Onto A Html Page Be As Wide As The Page?

Oct 11, 2006

I've been trying to recreate the effect on this page [URL] change the height of the page and notice how it's content moves.

how you make a .swf placed onto a html page be as wide as the page, and let the flash file know how wide it is being displayed so the content does not stretch out

View 1 Replies

ActionScript 2.0 :: Passing HTML Form And Hidden Variables From Flash To Html Page

Dec 3, 2003

I have a html/flash site now, [URL]. i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire <form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window. now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:

[Code]...

View 1 Replies

ActionScript 3.0 :: Controlling Sound Of Separate Html Files Within Same Html Page

Sep 11, 2010

I need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf .The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.The following items have not worked: soundChannel.stop();,soundMixer.stopAll()

View 2 Replies

ActionScript 2.0 :: Flash + HTML + Variables - Go To The Home.html Page An Animation Will Play From Start And Then Stop At The End Of It

Feb 25, 2010

when you go to the home.html page an animation will play from start and then stop at the end of it. However, for all other pages i.e contact.html aboutus.html we need the animation to skip to the end straight away and not to play the whole animation through. I was thinking this would be controlled by a variable or some kind of external text file ect. Basically in the first frame the actionscript needs to basically say

"if this html page is aboutus.html then go to the last frame and stop" and with the index page it would say "if this html page is index.html then keep playing"

View 2 Replies

Html :: Set Link Of Another Html Page On Flash File

Mar 11, 2011

I want to set link of another html page on flash file.

View 1 Replies

Flash :: Html - SWF Object Rendering At The Html Page

Jun 19, 2011

I would like to ask when swf object rendering at the html page? Is it rendered only it's visible? If swf at the page bottom that is not visible, will swf be rendered when I scroll down? The problem is that swf object raises some events when it's rendered and I would like to force rendering even if swf object is not visible.

View 1 Replies

Html :: Load Html Page Into Flex Textarea?

Jun 2, 2009

I would like to show some textcontent from a website in a textarea box in flex.

<?xml version="1.0" encoding="utf-8"?>
import mx.managers.PopUpManager;
import mx.core.Application;

[code].....

View 3 Replies

Html :: Works When Tested In Flash, But Not On Html Page?

Feb 29, 2012

I am trying to create an ad for a website. When someone clicks on the ad, it is supposed to redirect them to a website, and register the click with google analytics.I have done this with the following script:

import flash.external.ExternalInterface;
movieClip_3.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void {

[code].....

View 2 Replies

ActionScript 3.0 :: Load HTML Page Without Html Tags?

Jan 16, 2010

I was wondering if flash can load html document, the way browser displays it.

View 1 Replies

Java :: Approaches To Creating Screen Capture Functionality On A Web Page?

Oct 11, 2011

I have read the various posts here on SO regarding screen capturing, but none seem to be answering my situation.On our website (inside a web page), essentially here is what I would like to be able to do.

User clicks on a 'capture region of screen' button.They get some sort of draggable/sizable box they can use to define the area to capture the captured area gets converted into a (preferrably) .png image is uploaded (or at least made available to upload - maybe saved somewhere).I realize this is not doable with javascript alone.So,I am open to a Java or Flash solution, and/or even a commercial solution (a drop-in java applet that I can add to our site).

View 1 Replies

ActionScript 2.0 :: Get Around Using Java Script In The Html Of The Site?

Oct 21, 2002

I am trying to get around using java script in the html of the site. I found this script , is it possible to adapt this, see below?

'This script will detect which version of the player a user is using and redirect to an appropriate page. This script checks for the first decent build of the v6 player build 29. Just change the anmes of the destination files and paste this script in the very first frame of your swf.'

version= getVersion(); space=version.indexOf" "); myString=version.substring(space+1,version.lemgth) ; myArray=myString.split(","); player= new Object(); player.platform=version.substring 0,space); player.majorVersion=parseInt(myArray[0]); player.minorVersion=parseInt(myArray[1]); player.buildNo=parseInt(myArray[2]); player.patchNo=parseInt(myArray[3]); if (player.majorVersion==6) && (player.buildNo >= 29){ getURL("myversion6page.html"); }else{ getURL("myotherpage.html"); }

[Code]...

could the Flash 5 file do either the following depending on which flash player is detected:

1. Have the Flash 5 swf display the text 'You need to update your Flash player' and open up the macromedia download page in a new window.

2. If the Flash 6 player is detected, have it load the Flash 6 that was originally intended to be in that place of the html.

View 1 Replies

Java :: BlazeDS - Catch SecurityExceptions And Display An Error Page If The User Was Trying To Do Something

Jan 4, 2010

I'm trying to write a Flex client that interacts with a Spring-Flex java application. I would like to catch (the flex equivalent of) SecurityExceptions and Display an error page if the user was trying to do something they aren't allowed to dox op up a login box if the user wasn't logged in According to the Spring-Flex docs,

[Code]....

View 2 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

Java :: Get Flash To Respond To External Html Events?

May 17, 2011

I want my flash movie to respond to rollover type events for links on my website. The idea being that the flash movie will provide descriptions of the links when moused over, but if the user doesn't have flash the functionality isn't lost. What's the best way to do this (if it's possible)?

View 1 Replies

Flash :: Embed Applet In It?

Apr 9, 2007

Possible to embed a java applet into Flash?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved