The moose likes Java in General and the fly likes Convert x,y co-ordinates in pixels to html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Convert x,y co-ordinates in pixels to html" Watch "Convert x,y co-ordinates in pixels to html" New topic

Convert x,y co-ordinates in pixels to html

vidya archana
Ranch Hand

Joined: Oct 29, 2002
Posts: 36
I have a problem.Iam using flash to design forms .Position of each controls (textbox,labels ,...)are in pixels(x,y). I want to generate an html corresponding to this form.Position of controls should remain the same.Can anyone help me..
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

In HTML, you leave some elements of layout management to browser control. Flash avoids that by reserving some screen real estate and then laying out internally the space it has acquired. Applets do the same thing.
Any way you slice it, converting from pixel addressing to object (images, text, etc.) involves making a lot of assumptions about the conversion process, and none of them will be foolproof.

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
subject: Convert x,y co-ordinates in pixels to html
Similar Threads
2-dimensional arrays and the x-y plane
Please help me, image as background and have coordinate on it
Pixels on applets
Pixels on applets
Problem with image as submit button