Web browser inside web flash applications
Dear all, I need web browser inside my web flash application.. i use Flash Builder.. i dont find a any straight way to do this.. i saw examples using iFrames.. cud anyone help with how to do this in the best way..?
JEditorPane (http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JEditorPane.html)
offers some support for displaying HTML.
Similar Messages
-
Launch a default web browser from my java application
Hello,
I have been trying to launch my default web browser from my java application, but am unable do it. Right now, I am using ---- "Runtime.getRuntime().exec("cmd /c start <url>"); to launch my webbrowser. It launches the browser but displays the command prompt for a second or so, and then replaces my already existing page with the new url.
Is there any way for me to launch the url in a completely new browser each and every time. And I don't want the command prompt to show up for a sec. Please help...!
Thanks in advance.
-BusyBusyBeeIf by any chance your application is an Applet, you can use this to open a new browser window:
getAppletContext().showDocument(new URL(theUrl), "_blank");
But, you probably would have specified if that were the case. Oh well. Hope it helps someone!
-sheepy. -
Web Browser inside flash?
Hey,
I was just wonder if you could have a small window inside a
flash window, that has real time web connections.
NOTE: I know that you can make it create a pop-up window, but
thats not what I am looking for so please don't post that.
Such as u click a button on the flash document that say lets
say 'google.com' ...
After you click it, it sends the explorer window to
www.google.com....
Kinda hard for me to explain... I can clarify if you are to
confused.Hmmmm - in all my years this has been impossible - you can't
view or browse the web inside what is
merely a browser plugin - it doesn't make sense even in
theory - the flash player is designed to
play flash content - it is not a browser - it was never
designed to render like this - you can't
make a plugin that is installed in a browser to act like a
browser. I'm pretty darn sure of that and
if it is possible I have no clue why it would be importent to
have this.
Flash can do a lot of things but it isn't a browser.
Sorry.
Chris Georgenes
Adobe Community Expert
www.mudbubble.com
www.keyframer.com
www.howtocheatinflash.com
Twinbird24 wrote:
> Yes, you can make it so you can view other web pages in
a Flash .swf file. I'm
> not quite sure how you do this, let me look into it and
I'll see if I can get a
> solution. You can also make it so if you click on a
button it loads the web
> page in a separate (_blank) window or in the window
you're viewing the current
> web page in (_self).
> -
Open URL in Web Browser from a Java Application
Hi,
I have an HTML document that I want to load in a browser window by clicking on a button in my java GUI application.
Any suggestions?
Thanks.You can use the Process class to start the web browser with the proper command line arguments (depends on the web browser though). Or on windows, you can have your program create a batch file with the code start url (where [url] is your url), and this will open the default web browser when run (again you must run it with a Process).
-
How To Customize A web browser when running an application
Hi,
I have a little problem.
I want to customize my web browser when i will deploy the application.
fore example The browser Firefox have the following tabs: (File--Edition--History--BookMarks etc...)
How can I proceed to avoid displaying these tabs in the page of the deployment of my application.
Thanks Jdeveloper loversHi,
Thank you shay it was a great step for the solution ,
I can avoid watching Unwanted tabs.
I hope frank you are not ungry against me ;)
I am obliged it is a professional Requirement.
Thank you for all Jdeveloper Lovers -
Using safari as web browser in a classic application
I have version 5 of adobe go live and I use it in classic mode in osx.4.8. In order to create my web site I need to specify safari as the web browser, can this be done?
Hi katharineimac;
I tend to agree with Tom that you are going to have difficulties using Safari from a "Classic" application like Adobe Go Live. Have you attempted to save your web page to disk and then attempt to open it from Safari?
I think by using such and old outdated application you are leaving yourself open to more problems then just the inability to open with Safari. As Tom says there are vastly improved applications available on OS X today that can be used to replace what you are currently using.
Allan -
Video Streaming on Web Browser from Web Camera
How to run Web Camera on to the Web Browser through JAVA and JMF?
How to run Web Camera on to the Web Browser
through JAVA and JMF? As someone who has written dozens of applets, and
helped debug hundreds of them, I can tell you that
applets are not for beginners.
Whenever I must have an applet that is any more
than completely trivial, I will code it as a combined
application/applet, if only for making testing faster
and easier.
Further, if you have a working application, it can be
'launched from a link', just like an applet, but using
web start.
I suggest you put aside the applet idea for the
moment, and concentrate on doing this in an
application.
When that is working, you can decide whether
to launch it using web start, or embed it as an
applet in a web page.
Here is an example of launching JMF (the
player) using web start.
http://www.javasaver.com/testjs/jmf/#test5
As far as coding for a web cam, a quick Google leads to..
"Here is the source code to JMF Webcam app + saves jpeg"
http://forum.java.sun.com/thread.jspa?threadID=247253
2 notes:
1) I found that URL for the web cam code using
Google. I have never dealt with web cams myself.
2) Normally I ignore threads with no dukes. I am
usually pretty busy, and dukes indicate how
important a thread is - to whoever is asking.
So, if you want to complete this task faster, you might
- search for answers first.
- add dukes to any question, to indicate interest.
HTH -
I heard that in Flash 9/AS3 would be possible to open inside
the SWF file a web site and navigate on it. Is is true? How should
it be implemented? Dynamic Textfield?
Tks in advance
WilsonAre you trying to open the copy in deploy-to-web or run-local? The SWF in run-local should open without issues.
-
How can I launch a web browser from my Java application?
I've reed about this at Question of the Week (http://developer.java.sun.com/developer/qow/archive/15/index.html). It doesn't work for me. I'm running win2000 and trying:
try {
Runtime.getRuntime().exec("start iexplore http://java.sun.com");
} catch (Exception e) {
System.out.println( e.getMessage() );
I get:
CreateProcess: start iexplore http://java.sun.com error=2
What's wrong?This function will launch the default browser under Windows.
public static void displayURL(String url) throws IOException {
String cmd = null;
Process p;
try {
String os = System.getProperty("os.name");
if (os != null && os.startsWith("Windows")) {
if (os.startsWith("Windows 9") || os.startsWith("Windows Me")) // Windows 9x/Me
cmd = "start " + url;
else // Windows NT/2000/XP
cmd = "cmd /c start " + url;
p = Runtime.getRuntime().exec(cmd);
catch(IOException x) {
// couldn't exec browser
System.err.println("Could not invoke browser, command=" + cmd); -
NEW web browser, Digia @Web
A mobile browser with touch interface based on Qt and WebKit.
Browser UI features:
Full finger touch UI
Accelerated panning
Automatic full screen browsing via auto-hiding controls
Multiple browser windows
Page rotation for portrait and landscape browsing
Multiple zoom levels
Password manager
Intelligent Bookmark functionality (auto-sorting)
Bookmark folders
Bookmark favicons
URL auto-complete (from history)
'Page loading in progress' indicator
Text select for copy/paste
RSS feeds.
Browser Engine features:
HTML 4.01
True web page rendering
JavaScript(tm) 1.5
HTTP 1.1 with support to secure and non-secure browsing
HTTP cache
HTTP cookies
AJAX support
Flash content support
Netscape compatible Plug-in interface.
it is in the EXTRAS-DEVEL repository
if you have rootsh installed:
open xterm
sudo gainroot
apt-get install digiaatweb
Solved!
Go to Solution.i've got upto 2 weeks without my N900 so everyone feel free to test this for when i get mine back :-)
damn thing's gonna come back with pr 1.vodafone!
and sadly thats not a typo -
Browser inside a Flash/FLex/Air-App with WebGL-Support?
Hello,
I´m using Adobe Air/Flex to build a Desktop App. Inside the App the user should be able to access an Internet Browser. This part is actually working so far.
BUT: THE ADOBE AIR BROWSER IS NOT SUPPORTING WEBGL.
Is there any method to activate the WebGL Support so I could open WebGL-Dependent URLs from Inside my Desktop App?
Sure, I could tell the User he should Alt+Tab to switch to an WebGL-Compatible Browser, but it would so much better if this all would work from inside my Application.
Thanks for answering!
StefanThe syntax for the update is incorrect, you can use the update statement as
sqls.text = "UPDATE videos SET thumb = 'ram' + '''s' where id = 2";
Let me know if this worked. -
Web Service Inside Web Service
hi there,
I've been trying to create a web service that is a combination of already existing web services. The code compiles and deploys ok but when i restart apache the http://localhost:8080/axis/servlet/AxisServlet page is empty. the service implementation code is-
package mu;
//Standard libraries
import javax.xml.rpc.Service;
import javax.xml.rpc.Stub;
import java.util.Vector;
// Our glue code
import services.webservice.hgu.WebService;
import services.webservice.hgu.WebServiceService;
import services.webservice.hgu.WebServiceServiceLocator;
import hgu.WSDLGenerated.SubmissionQuery.GeneExpressedQueryShortDetails;
import hgu.WSDLGenerated.SubmissionQuery.ComponentExpressQueryShortDetails;
public class Mu_Impl implements Mu{
public String[] getMouseAbstractNodes(String timedNodes[]){
String abstractNodes[] = null;
try{
WebServiceService mouseService = new WebServiceServiceLocator();
WebService mousePort = mouseService.getma();
abstractNodes = mousePort.getAbstractNodes(timedNodes);
}catch(Exception e){}
return abstractNodes;
Any ideas why this is fruitless?
-cheers, IanHi Daniel,
As per the latest documentation :
http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T434255.htm#3503342
There is not such XML element to call a webservice method.
Nevertheless you can still do this either:
- Create a store procedure in DB and within this proc call the webservice method, then you can call this procedure/function within your SQL statement in your data template.
- Or create a java servlet and from within this call your webservice and finally in your data template call the URL that invokes the webservice using the URL element.
Just some ideas to get around what you want.
regards
Jorge
p.s. If this answers your question then please grant the points and close the thread -
Using StrobeMediaPlayback inside a Flash application?
hi all - i've got this to a point where i feel like i'm banging my head against the wall.
i used this thread as a guide and it got me further along than all my previous attempts:
http://forums.adobe.com/thread/702338
HOWEVER, i still can't get it working. flash is giving me this error:
ReferenceError: Error #1065: Variable StrobeMediaPlayback is not defined.
at global/flash.utils::getDefinitionByName()
at main::Video()
at InterfaceLayout/loadedVideos()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
i am creating a flash professional project in flash builder, and i've got a class that i'm trying to instantiate SMP from. the plan is to add my class (which extends sprite) to the display as needed, with the smp inside it.
here is the code for my parent class:
package main
import flash.display.DisplayObject;
import flash.display.LoaderInfo;
import flash.display.Sprite;
import flash.display.Stage;
import flash.utils.getDefinitionByName;
public class Video extends Sprite
public static const MAX_VIDEO_WIDTH:Number = 1000;
public static const MAX_VIDEO_HEIGHT:Number = 600;
private var _stage:Stage;
private var _loaderInfo:LoaderInfo;
private var _source:String;
public function set source( string:String ):void { _source = string; }
public function get source():String { return _source; }
public function Video( src:String, loaderInfo:LoaderInfo, stage:Stage )
super();
_loaderInfo = loaderInfo;
_stage = stage;
source = src;
// For statically linked StrobeMediaPlayback you can use this snippet
var strobeClass:Class = getDefinitionByName("StrobeMediaPlayback") as Class;
var strobe:Object = new strobeClass();
strobe.initialize({src:source}, stage);
addChild(strobe as DisplayObject);
am i totally barking up the wrong tree here? i've added the smp source to my source path in flash builder, i've configured the CONFIG::LOGGING and CONFIG::FLASH_10_1 vars in flash pro, i've put the assets.swc and the OSMF.swc files in my lib dir that is configured in my swc paths in flash builder.
what am i missing?Hi,
I assume that the StrobeMediaPlayback class is not linked into the SWF that is generated.
Try adding the following metadata on top of your class definition:
[Frame(extraClass="StrobeMediaPlayback")]
Hope this helps,
Andrian -
No sound in browser when viewing flash applications
Hey people, I hope someone can help me...
I have no sound on anything related to flash when viewing
pages online. Flash games or movies (for example) play the video
just fine, but no sound. This has been happening for a few days and
I can't recall anything I did to trigger this.
I am running windows xp home edition, sound card drivers are
all updated, no viruses or spyware, and I have uninstalled and
reinstalled flash player, shockwave player and quicktime a few
times to no avail.
Seems I have done everything in my power to find out what is
wrong, and nothing seems to work. All of my volume control settings
are unmuted and turned up full...
Help?pandorya wrote:
> Hey people, I hope someone can help me...
>
> I have no sound on anything related to flash when
viewing pages online. Flash
> games or movies (for example) play the video just fine,
but no sound. This has
> been happening for a few days and I can't recall
anything I did to trigger this.
>
> I am running windows xp home edition, sound card drivers
are all updated, no
> viruses or spyware, and I have uninstalled and
reinstalled flash player,
> shockwave player and quicktime a few times to no avail.
>
> Seems I have done everything in my power to find out
what is wrong, and
> nothing seems to work. All of my volume control settings
are unmuted and
> turned up full...
We are currently researching this issue, and are actively
seeking more
cases of this problem (on Windows...)
Please open a case via
http://www.adobe.com/support/flashplayer.
Bentley Wolfe
Senior Support Engineer, Flash/Flash Player
Adobe -
Displaying a PDF for a form on web browser in Web Dynpro Abap
Hey
I have a form (a set of input elements) on a view
Now i want that as soon as i press execute , a pdf form is displayed with the values entered on the view.
Thanks
Shivi GoelHi ,
you can refer below links for interactive forms.
[http://www.sdn.sap.com/irj/scn/logon?redirect=https%3a%2f%2fwww.sdn.sap.com%2firj%2fscn%2finteractiveforms-elearning]
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
[http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf]
[http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm]
Reagrds,
Priya
Maybe you are looking for
-
HELP. My Safari won't open. It keeps crashing unexpectedly
Everytime I open Safari it crashing almost instantly. It started after I download this vpn app from the internet. I can't find a bad plugin and I have the latest version of Safari. I have no idea what to do. I have 10.10.1 of vosemite, Here is a co
-
Problem in dynamic file configuration
Hi All, I am working on a scenario for which different files must be generated for each recorset. The file name should be generated dynamically based on the input fields. I am able to generate different files but with same file name for all the files
-
Images in Aperture are fuzzy but crisp in iPhoto.
I have a new MacBookPro with Retina display and Aperture v. 3.4.1 and iPhoto v. 9.4.1. Identical images in an Aperture Library and iPhoto Library appear fuzzy in Aperture but crisp and sharp in iPhoto. Interestingly, if I use the loupe to observe t
-
all my tech stuff is write my computer meets the requirements but it has an error and it says "not reconizable startup disk"
-
WebLogic 12.1: PDT vs. RDT in clusters
Hi, we are using a dynamic cluster with a clustered JMS server configured. Because a clustered JMS server only accepts Partitioned Distributed Topics (PDT) we are forced to use them. This works fine. Except for one atypical use case: There we have on