You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

bazaar

Trainee

  • "bazaar" started this thread

Posts: 57

Location: Bourgogne, Savoie, Ard├Ęche, France..

Occupation: Photography and Virtual tours

  • Send private message

1

Thursday, November 27th 2008, 10:45am

Zoomify inside textfield?

Hello,

is it possible to insert zoomify in a textfield?

I triy it since this morning, and have error messages..

Here is my code:

Textefield.xml:

Source code

1
2
3
4
5
6
7
8
9
[...]
<data name="css1">
a { text-decoration:underline; color:#110088; font-weight:bold; }
a:hover { color:#885500; }
</data>

<data name="html1">
<include url="zoom/index.htm" />
</data>


And in zoomify file (index.htm):

Source code

1
2
3
4
5
6
7
8
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="100%" height="100%" id="imageName">

<param name="flashvars" value="zoomifyImagePath=.">
<param name="menu" value="false">
<param name="bgcolor" value="#333333">
<param name="src" value="zoomifyViewer.swf">
<embed flashvars="zoomifyImagePath=." src="zoomifyViewer.swf" menu="false" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="100%" height="100%" bgcolor="#333333" name="imageName" />
</object>


In the "zoom" dir, there are all files generated by zoomify..

This message appear:

Quoted

"zoom/index.htm - XML parser error: unterminated element (#1096)"


Thank you!
greets,

Xavier

2

Saturday, November 29th 2008, 8:56pm

Hi,

sorry, it is not possible to use "real" html inside a textfield,
the flash html renderer supports only a small subset of html commands,
see here:
http://krpano.com/plugins/textfield/

and here:
http://livedocs.adobe.com/flex/201/langr…d.html#htmlText


the error you get is because you're include "html" code into xml code,
and in xml every tag must be closed and the "param" tags in your examples are not closed.
but they wouldn't work anyway.

best regards,
Klaus

Similar threads