This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
I agree. Here's the link:
subject: Convert x,y co-ordinates in pixels to html
Similar Threads
Pixels on applets
Please help me, image as background and have coordinate on it
Problem with image as submit button
Pixels on applets
2-dimensional arrays and the x-y plane