aspose file tools*
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 Spring in Action this week in the Spring 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
Author

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
Sheriff

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: http://aspose.com/file-tools
 
subject: Convert x,y co-ordinates in pixels to html