Sie sind nicht angemeldet.

1

Dienstag, 21. August 2012, 16:47

DIV working on ipad/iphone but not on desktop/android

Hi.

I created a button with this code

Quellcode

1
2
3
4
5
6
7
<plugin name="title_01" autoalpha="true" keep="true" html="data:dtitle_01" url="textfield.swf" align="top" x="-20" y="10" roundedge="5" borderx="20" autosize="none" backgroundalpha=".0" backgroundcolor="0x000000" glow="4" glowcolor="0xFFFFFF" width="350" height="10"/>

<data name="dtitle_01" keep="true">
		[div style='width:99;height:99%;border: 1px solid #fff;border-radius: 15px;border-top : -30px;background-image: url(tabmob/pic.png);font:bold 12px Verdana;']
				<p align="center" ><font face="Verdana" color="FFFFFF" size="3px">
				<a href="event:tween(plugin[button_ipad].alpha,1,1)">TestTestTest</a>
		</font></p><style type="text/css">a{text-decoration: none;color: #FFFFFF}a:hover{text-decoration: none;color: #8b8686}</style>[/div]</data>


on ipad / iphone works perfectly (background, font, width, height, etc. etc.) but on desktop/android instead of the button, appears DIV code, as if the "DIV CODE" is not recognized.

textfield bug? I also tried the latest version (1.0.8.15-2012-08-10)

help :-)
Thanks

2

Mittwoch, 22. August 2012, 18:03

Hi,

please see the 'note' and the link here in the textfield plugin documentation:
http://krpano.com/plugins/textfield/#html

the reason why it's not working is that <div> elements aren't supported by the Flashplayer,

best regards,
Klaus