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 8565769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:30:15+00:00 2026-06-11T17:30:15+00:00

I need to embed a vector graphical editor into my flash web app. A

  • 0

I need to embed a vector graphical editor into my flash web app. A graphicla editor should be able to do following:

  • draw lines (brush tool)
  • erase
  • scale drawing
  • create text blocks
  • use image as background of drawing (upload an image and use it as background).

Changes made by user should be sent to other active clients. I’m trying to find answers to following questions.

  1. How drawing a line should be implemented? I mean: a user moves mouse over the screen (with left button of mouse down), how should I handle MOUSE_MOVE event? Note that after drawing a user can wish to scale drawing.
  2. How erasing should be implemented? Note that I can’t implement erasing as drawing white lines (as I can have a background).
  3. What is the best way to store the drawwing? Serializing a set of commands?
  4. And finally how is it possible to inform other clients about changes?

Will be grateful for any articles or tutorial on how to create graphical editors similar to described (no matter on what platform or programming language).

And please don’t be shy 🙂 Any thoughts are strongly appreciated!

  • 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-11T17:30:16+00:00Added an answer on June 11, 2026 at 5:30 pm

    I’ll try to answer some of the questions, because I never did all of it.

    1. Depends on the tool, the most simple to implement is a pencil tool that draws straight lines only. More complex tools, like pencil that should follow the anchors you can move isn’t actually that different, in fact, is very easy as you would need to simply use the anchors parameters you receive from the user. The most complex tool is the following the brush as it arbitrary moves across the canvas. You would need to implement “union” operation for vector shapes. This isn’t easy and requires some math to find the intersection points. There must be specialized literature that describes how to do that. You would need to create smaller shapes, sampling at discrete intervals the position of the mouse pointer and then “union” them together.

    2. Erasing is very similar to the brush tool described above.

    3. I would write SWF format, worst case – SVG. The advantage of SWF would be that it is easy to use the drawings in the same program / environment. The advantage of SVG is that you can use it even where Flash is not available.

    Perhaps a good starting point might be in looking into Inkscape sources (probably the most popular open-source vector graphics editor). Frankly… it’s a buggy / unstable program, but at least some of it should work.

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

Sidebar

Related Questions

I need to embed a flash movie into one of the pages in my
I need to embed Foxit Reader (PDF reading software) into a web page. Does
I need to embed the facebook recommendations into my web control. How can i
I need to embed a .swf (flash) file in my web page. The web
I need to embed the Flash player in a native application (C++) in a
I need to embed a link into a generated pdf in a ruby on
I need help to embed a game into HTML, If I did replicate the
I need a solution to embed a pdf inside a flash screen i.e. want
I have struts2 web application. Right now I need embed with help of iframe
I am working on a project where I need to embed a web server

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.