Web browser control in Adobe Flash Builder 4.6 - mobile

I'm trying to add a web browser control in Adobe Flash Builder 4.6 to a mobile application.
So far, all I can find on google is to add xmlns:mx="library://ns.adobe.com/flex/mx" to my view and use <mx:HTML> but I'm only getting graph objects.
Anyone know if a browser control is available and where to find it?
This is my view declaration:
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" title="myView">

Related

WinForms WebBrowser control's JavaScript execution context

I am using the WinForms WebBrowser control in my C# application and I can interact with the JS code on the web page by setting a COM class in the ObjectForScripting property of the control.
Is it possible to get the JavaScriptContext object from the web browser control that I can use with the ChakraCore API?
No sir, ChakraCore is part of the Microsoft Edge JavaScript engine. It is literally a separate engine. The web browser control uses IE's engine. Although admittedly it doesn't help that the dev team at MS called The MS Edge Engine Chakra when they were calling the engine from IE 9 forward as Chakra also.
Anyway if you want to use/embed the ChakraCore engine from C# they did create a getting started page. I will link it here.
The API for the winforms Webbrowser control Engine is here. The is a wrapper around the COM API. If you need to get to the COM api to do advanced things, you will need MSHTML, which you add as a COM reference to Microsoft Html Object library. The reference for MSHTML is here.

Awesomium.NET Flash Player

I'm tring to use Flash Player into WPF application using Awesomium.. I've downloaded and installed the 1.7.2 SDK..
In my WPF app i can now use the Awesomium.NET WebBrowser control, but Flash Player is not working. I've did a quick check on YouTube and videos are loaded using HTML5
I've searched multiple times on google and also on the official website, but there is not much documentation available, and for some users Flash Player is working.
Is there any option to set up? Or i need to specify a Plugin Path?
I don't know if Awesomium is getting the Flash from IE/Chrome/Firefox already installed Browser.. But i do have them all, with Flash plugin Installed.
Currently i do not have much code, only the XAML Awesomium Control, added from VS2012 ToolBox
PS: In my application i only need to open a static SWF with parameters, and a HTML5+JS page so if there is something better for that, i apreciate also alternatives, except the WPF WebControl since it use IE Engine and the HTML5 page i'm loading into it only support IE 10 +
Are you sure that you use correct control? WebControl it is Awesomium control, WebBrowser it's WPF control. If it's correct try create folder 'plugins' in bin folder and put there npswf32_11_8_800_94.dll

Silverlight Object Loads Then Disappears

I am using Windows 7 Ult., IE9, Chrome. I have just installed Silverlight 5 and am trying to develop an app using DevExpress DXMap control and Silverlight. However, I am having issues with Silverlight it seems. When I go to this site (http://www.silverlight.net/learn/overview/what's-new-in-silverlight-5/introduction-to-silverlight-5-3d) to watch a video on the Silverlight 3d feature, the video player which I believe is a Silverlight control loads, but then disappears. When I run the app with the DXMap control, the page loads a blank area with only the zoom control, navigation pad, and scale visible.
I have tried finding a solution to this problem, but have not been successful. Any suggestions?
Okay, I found out what was the issue. I thought that not checking the "Host the silverlight application in a new web site" option (since I never had a website as yet) would let the application load on its own, but I had to enable the "Host the silverlight application in a new web site" option to get it associated with a test page.

How to play youtube vidoes in silverlight(in browser)?

I want to develop an silverlight application which plays youtube videos. I dont want to let users install my silverlight application on thri PCs, so I would need to play the videos in browser. Is there anyway we can achieve this?
Silverlight 4 comes with a new WebBrowser control which lets you display HTML content (e.g. an iframe with youtube in it). Unfortunately, that control will work in Out-Of-Browser mode only. So if you don't want users to install your app on their PCs, that won't be an option for you.
So the only ways I see to work around that problem are
A) Open a popup (new browser window) which shows youtube content.
B) Use JavaScript to open a new div/iframe on top of your Silverlight app which shows youtube. You will have to enable the so-called windowless mode for your Silverlight app then (otherwise, you won't be able to display any kind of HTML on top of your app).
Cheers, Alex

Create a Mobile Web User Control

I am making mobile web pages to be accessed by smartphones and such.
I do not see either Mobile Web Form, or Mobile Web User Control in the list of installed templates in Visual Studio.
I probably need some mobile toolkit or something like that, but I can never find what I am looking for on MSDN. Anyone know what I need to do?
Try downloading the Mobile Web Application Template for Visual Studio.
Source: http://geekswithblogs.net/ranganh/archive/2008/04/01/mobile-web-forms-in-visual-studio-2008.aspx

Resources