PDA

View Full Version : Making a Web Browser


sycross
03-21-2005, 11:55 PM
Is there any simple way to make a web browser with flash?

If there isn't don't bother answering this, I'm just lazy...

sycross
03-21-2005, 11:55 PM
Thanx to any who can help!

Xeef
03-22-2005, 12:05 AM
there is not just no simple way but no way at all :P

sycross
03-22-2005, 12:45 AM
Oh...







Well, thanx anyway.

CyanBlue
03-23-2005, 02:11 AM
Things like this???

http://www.flashbrowser.com/

hangalot
03-23-2005, 12:39 PM
there is not just no simple way but no way at all :P
wrong.

search for deng made by claus wahlers, is a xhtml based webbrowser inside the flash
client. there are some others around as well

Xeef
03-23-2005, 12:58 PM
Hmmm

at least for me

web browser -->gif tiff .... Flash Plugin other plug ins ... pdf ... wav

how do you wana show this in flash ?

if it's just to show TEXT no problem
but to make a FULL web browser !!!


the link from CyanBlue
If you know that your computer already has Microsoft Java Virtual Machine installed, you may do the fast download from here 315KB

so no way at all to make a web browser in flash !!! unless you mean a text browser !

hangalot
03-23-2005, 01:03 PM
look at deng. granted it does not handle gif's, but if you cannot write a server side function to change an image type, well learn...
here is the deng feature list:

DENG Feature List

Home
CSS

* CSS 2 box model
* Full cascade and inheritence
* Support for initial, default, user and author styles
* Support for XML Namespaces
* CSS 2/3 selectors
o Universal selector
o Type selectors
o Attribute selectors
+ E[foo]
+ E[foo="bar"]
+ E[foo~="bar"]
+ E[foo^="bar"]
+ E[foo$="bar"]
+ E[foo*="bar"]
+ E[foo|="bar"]
o Class selectors
o ID selectors
o Combinators
+ Descendant combinator (E F)
+ Child combinators (E > F)
+ Adjacent sibling combinators (E + F)
+ Indirect adjacent combinator (E ~ F)
o Pseudo classes
+ :link
+ :root
+ :first-child
+ :last-child
+ :first-of-type
+ :last-of-type
+ :only-child
+ :only-of-type
+ :empty
+ :contains()
+ :not()
o Pseudo elements
+ ::before
+ ::after
+ ::value
o Selectors and namespaces
+ ns|E
+ *|E
+ |E
+ E
* At-rules
o @import
o @namespace
* Associating stylesheets thru:
o XML stylesheet processing instruction <?xml-stylesheet href=".."?>
o <link> element (XHTML)
o <style> element (XHTML, SVG)
o Style attribute <div style="..">
o Presentational attributes <g fill="..">
o @import rules
* CSS Linking extension for defining CSS properties to make any XML element's content or attribute values be a link (e.g. making the <link> element in RSS behave as if it has a <a href="...">, including "target").
* Generated CSS content, :before and :after pseudo-classes

XHTML

* Supported tags (stylable with CSS):
o <a>
o <address>
o <b>
o <blockquote>
o <body>
o <div>
o <em>
o <h1>-<h6>
o <head>
o <hr>
o <html>
o <i>
o <img>
o <link>
o <p>
o <pre>
o <span>
o <strong>
o <style>
o <title>

XForms, CSS UI

* Core Model Binding: loading XML instances and binding nodes to user interface controls - <input>, <output>, <select> and <select1>, with multiple models per XForms.
* Full support for XPath
* XML submission
* Repeats (for datagrid / table look-up aggregate controls)
* Model binding for <label>, deriving label values from the XForms instance
* Full CSS styling of text entry / output area of <input>, <output> controls with the CSS 3 Basic UI module's ::value pseudo-element
* Supported tags (stylable with CSS):
o <action>
o <bind>
o <delete>
o <group>
o <input>
o <insert>
o <instance>
o <item>
o <label>
o <message>
o <model>
o <output>
o <repeat>
o <secret>
o <select1>
o <send>
o <setindex>
o <setvalue>
o <submission>
o <submit>
o <textarea>
o <trigger>
o <value>

XFrames

* Basic XFrames implementation
* Supports target attribute on <a> element for XHTML documents inside an XFrame in DENG loading other DENG content into another XFrame.

SVG

* Support for paths (excl. arcs) and basic shapes
* Styling through CSS and presentational attributes
* Basic transformations (translate, scale, rotate, skew)
* Asyncronous rendering, each path rendered one at the time in SVG document order, resulting in an animated loading effect of the SVG image.
* SVG tidying of exported SVGs from Illustrator 9 / 10 and SVG Factory (for export from e.g. Freehand) for optimized rendering of SVGs in DENG (DENG web service edition only).
* Supported tags (stylable with CSS):
o <a>
o <circle>
o <def>
o <ellipse>
o <g>
o <line>
o <path>
o <polygon>
o <polyline>
o <rect>
o <style>
o <svg>

so maybe you are wrong and should admit it now ;)

Xeef
03-23-2005, 03:16 PM
this isn't a WEB browser to me ! (don't miss undarstand the guy did a great job)

http://claus.packts.net/deng/deng_test.php?f=THE anddress

wasn't abel to find any side at all which it's abel to show !
(exept http://claus.packts.net/)

w3.org is showing but totaly distorted

and the fact that you can't show GIF,WAV ... is FACT !


WEB browser --> browse the web

DENG isn't abel to show 99.99% of the web content so it's isn't a web browser

it's no problem to make a browser whit flash but you CAN'T make a WEB browser whit it !


P.S one of my worst sides is my bullishness

claus
03-26-2005, 05:39 PM
xeef,
you are certainly right by saying that you can't do a webbrowser in flash (if you mean a webbrowser like firefox or internet explorer). if that would be possible, someone probably would have done it already (or maybe not, as it wouldn't make much sense to do that, because existing browsers do that job quite well already).
however, you are wrong by saying that DENG is no webbrowser just because it can't render all exisiting content the www has to offer. DENG was designed to render XForms documents in the first place. because the most widely used hostlanguage for XForms is XHTML and styling is done via CSS, we had to implement those technologies as well (at least basic features). that's probably why you had difficulties rendering arbitrary websites with DENG - it wasn't designed to do that, although it is capable of rendering basic XHTML sites.
by the way, DENG is open source software, you can download the sources from http://sourceforge.net/projects/dengmx/ and contribute. also, development for a DENG version 2 is going to start as soon as the flash player 8 is released. contributors are very very welcome.
cheers,
claus.

Xeef
03-26-2005, 07:34 PM
WOW

great to hear from you (do you have some check where your side is linked to ? or how was you so fast here ?)

webbrowser --> (MY) association --> browse the web and to day 99% of the web is PHP GIF TIFF WAV ...

but great job/project you are on to ;)

you_rock
09-25-2006, 05:07 PM
There was a post by a guy that used the Microsoft HTA as a wrapper for the Flash browser. By using this method, you have all the functionality of the IE document model.

Is this what you are thinking about? Basically the HTA is an application that is a wrapper for the flash. The Flash is the UI. To the user, it is transparent.