*
The moose likes XML and Related Technologies and the fly likes Problem with smil fit:scroll Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem with smil fit:scroll" Watch "Problem with smil fit:scroll" New topic
Author

Problem with smil fit:scroll

Vierda Mila
Ranch Hand

Joined: Feb 25, 2008
Posts: 61
Hello everyone,

I'm trying to create smil document for sending MMS. The problem is I have image and long text.
The image received fine but the text has cropped. I'm trying use smil region attribute fit scroll but the result is there's scroll bar but the text cannot be scrolled. I'm using dom4j for configure this smil document. My code as per below:



kindly advice and really appreciate for any kind help. Thank you.


regards,
-Vierda Mila-

(Edited to make code not so wide: PC)

SCJP 5
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You are trying to produce an XML document (in this case the SMIL dialect) and the resulting document doesn't work the way you would like it to work in some particular environment?

If that's the case, then you should produce a different document which does work the way you would like it to work. And to do that, you should look at the document you produced and decide what should be different about it. The second step is to change the program to produce that different document. In other words, looking at the program which produces the document isn't going to be helpful yet.
Vierda Mila
Ranch Hand

Joined: Feb 25, 2008
Posts: 61
Hi Paul,

Thank you for your reply.
I have found the caused of the problem. Just want to share here if somebody has same problem with me.
If the feature fit:scroll doesn't works properly, try to add attribute regPoint and regAlign. add both attribute works for me.
Thank you.


regards,
-Vierda Mila-
 
 
subject: Problem with smil fit:scroll
 
Similar Threads
SAAJ - SOAP attachment
Extracting SOAP Attachments!! Help!!
adding SOAP attachment
Parsing SOAP Information
Parsing POST Information