Sie sind nicht angemeldet.

1

Sonntag, 14. Juni 2009, 11:20

background only on the third line?

Hi,

I've set a background for a textfield plugin. But the background is only on the third lines and I've six lines of text.



I can put a height in my xml, the height is always resize to the third lines when I look in the loaded xml in editor.swf

Any idea ? Is this a bug ?
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

2

Montag, 15. Juni 2009, 01:05

can you show your textfield code?

I think there are some oddities to using the textfield if you change the "wordwrap" attribute to false and use any type of text-align values. I don't know if it's a bug, but I had some unexpected results when I played with it one time.

3

Montag, 15. Juni 2009, 16:45

Hi,

are you using the textfield plugin as distorted hotspot?
(the textfield plugin is not fully adapted for the usage as distorted hotspot at the moment)

best regards,
Klaus

4

Montag, 15. Juni 2009, 17:12

are you using the textfield plugin as distorted hotspot?


Yes :-)

I tried with distored="false", and the background is normal
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

5

Montag, 15. Juni 2009, 17:29

hum ...

this is working :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	<hotspot name="text_mont"
	         url="%SWFPATH%/plugins/textfield.swf"
	         keep="true"
	         ath="74" atv="-27.5"
	         zoom="false" distorted="true"
	         width="200" height="140"
	         scale="2" scalechildren="false" rotate="0"
	         rx="0" ry="0" rz="1.101993230138323"
	         edge="center" ox="" oy=""
	         visible="true" enabled="false" children="false"
 	         zorder="0"
	         alpha="1.00" blendmode="normal" smoothing="true"
 	         refreshrate="auto"
	         background="true"
			 backgroundcolor="0xEEEEEE"
	         blur="0"
	         css="p{font-size:16;text-align:center;font-family:Arial,sans-serif}"
	         flying="0"
	         html="[p]L [sq]architecture du Mont-Saint-Michel et sa baie en font le site touristique le plus fréquenté de Normandie et le deuxième de France avec plus de 3 000 000 visiteurs chaque année...[/p]"
	         roundedge="8"
	         shadow="0"
	         textblur="0"
	         />


This one isn't :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	<hotspot name="text_mont"
	         url="%SWFPATH%/plugins/textfield.swf"
	         keep="true"
	         ath="74" atv="-27.5"
	         zoom="false" distorted="true"
	         width="200" height="200"
	         scale="2.5" scalechildren="false" rotate="0"
	         rx="0" ry="0" rz="1.101993230138323"
	         edge="center" ox="" oy=""
	         visible="false" enabled="false" children="false"
 	         zorder="0"
	         alpha="1.00" blendmode="normal" smoothing="true"
 	         refreshrate="auto"
	         autosize="center"
	         background="true"
	         blur="0"
	         css="p{font-size:16;text-align:center;font-family:Arial,sans-serif}"
	         flying="0"
	         html="[p]L [sq]architecture du Mont-Saint-Michel et sa baie en font le site touristique le plus fréquenté de Normandie et le deuxième de France avec plus de 3 000 000 visiteurs chaque année...[/p]"
	         roundedge="8"
	         shadow="0"
	         textblur="0"
	         />


Actually, I don't understand the difference
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

6

Freitag, 19. Juni 2009, 23:39

Hi,

it's the

Quellcode

1
 autosize="center"


setting,

in this case the textfield plugin changes it's size by it's own to fit the size of the text,
but with doesn't work yet in combination with distorted hotspots,

best regards,
Klaus

Ähnliche Themen