I see that Adobe AIR uses WebKit as a render, and I see that WebKit (at least the most recent build) has some SVG support. Does this mean (and anyone specifically tried) that the Adobe AIR application can display SVG on an HTML page?
While this is useful (and what you still don't know), Flex can embed SVG at run time , which effectively converts it to SWF format and inserts it as a resource.
[Embed(source="assets/frog.svg")] [Bindable] public var SvgAsset:Class;
Additional information in Adobe asset article attachment .
If ActionScript 2: use the com.itechnica.svg library (PathToArray) to load the SVGs during the execution of the SWF and display them (uses XML for parsing SVGs):
Using the SVG path data in Flash , click the Download button in the right pane .
If ActionScript 3: use the com.zavoo.svg library (SvgPath) to load the SVGs during the execution of the SWF and display them (uses RegExp to parse the SVGs):
The source code for SvgLoad and SvgDraw , the download button on the lower left.
No , according to an article in the Adobe AIR Development Center. What's new in HTML, HTML5, CSS, and JavaScript in AIR 2.5? .
SvgAnother feature recently gained is of great interest is SVG support. While present in WebKit, the current version of Adobe AIR does not support SVG.The main reason not to include it was problems with the runtime (adding it would increase the size of the runtime by 15-20 percent). Initially, the main causes of pain regarding AIR were runtime size, integration with the operating system and native API, tag support, and new CSS and JavaScript presentation properties. These priorities, associated with a declining interest in SVG graphics, have led to SVG support not being included in the current version of Adobe AIR.However, the renewed interest in rich JavaScript applications running on HTML5 canvas and fast JavaScript engines have increased the number of requests for vector script graphics via SVG. Thus, adding support for SVG graphics is possible with the next version of AIR.
Svg
Another feature recently gained is of great interest is SVG support. While present in WebKit, the current version of Adobe AIR does not support SVG.
The main reason not to include it was problems with the runtime (adding it would increase the size of the runtime by 15-20 percent). Initially, the main causes of pain regarding AIR were runtime size, integration with the operating system and native API, tag support, and new CSS and JavaScript presentation properties. These priorities, associated with a declining interest in SVG graphics, have led to SVG support not being included in the current version of Adobe AIR.
However, the renewed interest in rich JavaScript applications running on HTML5 canvas and fast JavaScript engines have increased the number of requests for vector script graphics via SVG. Thus, adding support for SVG graphics is possible with the next version of AIR.
Adobe AIR can only support SVG after Adobe updates its version of WebKit (AIR HTML rendering engine) and enables SVG support in its version of WebKit. Maybe the business solution is not (i.e. Flash).
Source: https://habr.com/ru/post/1276834/More articles:Game Engine Script Languages - luaSql Server 2005 Error Handling - Internal Exception - sqlHow many game updates per second? - frame-rateIn ColdFusion 8, can you declare a function as private using cfscript? - coldfusionIs there an elegant way to compare checkbox and text box using ASP.NET validators? - c #Tell me, if a Javascript function is defined looking at itself [name] is a good way? - javascriptUsing jmockit expectations with combos and primitive types - javaA polynomial time algorithm for finding a Hamiltonian walk in a graph - algorithmZend Framework - ErrorHandler doesn't seem to work properly - phpData Entry Prevention - databaseAll Articles