Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8595961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:33:52+00:00 2026-06-12T00:33:52+00:00

I saw a couple of examples which is being done through the flash classes.

  • 0

I saw a couple of examples which is being done through the flash classes. But that wont work in dhtml environment. For dhtml environment I have to create a separate iframe component or some thing of that sort so that the browser will take care of that. Is there any better approach? I also want to know if openlaszlo has any inbuilt support for svg?.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:33:53+00:00Added an answer on June 12, 2026 at 12:33 am

    There is no built-in support for SVG in OpenLaszlo. But it’s still possible to use SVG in both runtimes, if you create your custom component with 3rd party libraries.

    Flash/Flex support embedding SVG files at compile time only, not runtime. There’s no API for using that feature in OpenLaszlo.

    For SWFx, instead you could utilize SVG Web, a JavaScript library which provides SVG support on many browsers, including Internet Explorer, Firefox, and Safari. Using the library plus native SVG support you can instantly target ~95% of the existing installed web base. SVG Web includes an ActionScript based SVG renderer. That source code could be reused to add SVG support to the SWF runtime, by compiling a modified version of the tool into an SWC for OpenLaszlo.

    Another option for SWF runtime is http://labs.zavoo.com/content/flex/DrawSvg/srcview/index.html

    All modern browser support SVG by now: http://caniuse.com/svg You can create your own view with an SVG added as a child of the display object. Just make sure you set the correct CSS style so the SVG does get scaled to the size of the parent DIV.

    Stackoverflow has some good examples showing you how to dynamically add an SVG to an HTML page, e.g. How do I dynamically insert an SVG image into HTML?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw in couple of tree codes that a function of tree class has
I saw a couple of similar questions on the same topic, but none of
I saw on couple of websites that they manage to log you out automatically
I saw a couple similar questions but could quite cobble together what I want.
I saw there are a couple of similar threads but i could not find
A couple of days ago, I saw the CoClassAttribute being used in a way
I saw a couple other questions of this nature but they didn't quite fit
I saw couple of similar question here on StackOverFlow but none of them to
I saw a couple of similar questions here, but what I'm trying to do
At work, we use jQuery. Shortly after we started using it, I saw that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.