You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-10-16 22:44:32

transilvanart
New member
Registered: 2012-10-16
Posts: 1

html hotspot - what html tags are allowed? [Urgent]

Hi everyone,

I'm trying to use an html hotspot in a panorama.  It is working fine, but I cannot seem to be able to put almost any html tags in the content.

Example:
xml sequence:

Code:

<hotspot name="spot77" onclick="closeglobalobjects();closeallobjects();set(plugin[spot77html].visible,true);tween(plugin[spot77html].alpha, 1);" url="Romulus_Vuia_Gospodariidata/graphics/spots/spot2.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot77,0.1);" ath="174.698" atv="-7.01053" width="50" height="50"/>
    <data name="spot77htmldata">
        <p align="right">
            <font face="Arial">
                <a href="event:tween(alpha, 0);delayedcall(0.5,set(visible,false));">
                    <b>X</b>
                </a>
            </font>
        </p>
        <include url="detalii/07.html"/>
    </data>

content of "detalii/07.html":

Code:

<html>
<body leftmargin="10">
<b>TITLE HERE</b><br/>
<table cellpadding="10"><tr><td>cell 1 here</td><td>cell 2 here</td></tr></table><br/>

<p>paragraph 1 here</p><p>paragraph 2 here</p>
</body>
</html>

Output looks like this:

http://www.transilvanart.ro/test/outcome.png

And it is not right...

Please advise on what I can use to style a body, a table, and to have the <p> tag properly used... I wasn't able to find proper documentation or example to follow.

Thank you,

Ioana

Offline

 

#2 2012-10-17 08:02:50

bdd
Administrator
Registered: 2011-01-18
Posts: 622
Website

Re: html hotspot - what html tags are allowed? [Urgent]

The supported HTML tags are the one described in the table of the following documentation page :
http://help.adobe.com/en_US/FlashPlatfo … l#htmlText

Offline

 

#3 2012-10-17 12:36:02

ionu
New member
Registered: 2012-10-17
Posts: 1

Re: html hotspot - what html tags are allowed? [Urgent]

Hi bdd,

I tried using the <img> width property, which is documented in the link above, and it does not work.
Moreover, if you place a, <img>, then a <br/> and then a <p>test</p>, the paragraph, no matter what you do to it, will come to the right of the image, if the image does not fill the whole space.

I think there are some bugs here...

Please let me know what I can do about it.

Code example for a source html file:

<html>
<head>
</head>
<body>
<p><img src="a.png" width="100"/></p>
<br/><br/>
<p>test test test</p>
</body>
</html>

and the output is image on the left, and on the right two breaklines and then the text "test test test" - obviously wrong, and the image is NOT resized.

Thanks,

Ionu

Last edited by ionu (2012-10-17 12:37:04)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson