Sie sind nicht angemeldet.

1

Freitag, 20. Februar 2009, 11:25

Problems to put one or two images

Hi, klaus

I have problems to put any images in a textfield

example:

1 image of a product and a second image as a logo

If possible or not ? *cry*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Job.1« (20. Februar 2009, 12:35)


2

Freitag, 20. Februar 2009, 14:07

Hi,

yes, that is possible,
the textfield plugin just uses the flash intern html renderer,
it has a very limited html support but simple images are possible

e.g.
<img src="image1.jpg" width="100" height="80" /><br/>
<img src="image2.jpg" width="100" height="80" /><br/>

but one important note - the paths of the images are relative to the html file!

when you use the flashplayer debug plugin you will get a error from
the flashplayer when the image can't be loaded,
I'm not sure but I think the normal flashplayer will just display nothing
when a image can't be found,

best regards,
Klaus

3

Freitag, 20. Februar 2009, 14:59

Thanks Klaus
we can put them in the center of the textfied ?
many pb with that here *cry*

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

4

Freitag, 20. Februar 2009, 19:02

I don't think the flash html renderer supports putting an image in the center... only left / right.

this link was helpful to me...

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

as well as this one for css stuff...

http://livedocs.adobe.com/flex/201/langr…StyleSheet.html

Of course, I'm still trying to figure out if I can get images to be side by side.... they keep showing up on different lines. *sad*

6

Samstag, 21. Februar 2009, 22:32

Hi every body

I try to put a background image in the textfield and I can't *confused* *cry*

have you any code for me ?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Job.1« (21. Februar 2009, 23:16)


7

Montag, 23. Februar 2009, 23:51

Hi,

a background image is not possible,
but you could disable the background of the textfield and add a normal image (<plugin>)
behind the textfield (verfiy zorder)

best regards,
Klaus

10

Dienstag, 24. Februar 2009, 12:42

can you show me the example or the xml code?

11

Dienstag, 24. Februar 2009, 13:05

syntax error "enable" and "visible" is not the same

okay I get the image now in background, and others images in the textfield all are ok, but I lost all the text

edit 13h25

sorry for all troubles Inot awake this day all it's working very well *thumbsup*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Job.1« (24. Februar 2009, 13:27)


12

Samstag, 22. August 2009, 16:36

Error #2044: IOErrorEvent non pris en charge : text=Error #2036: Le chargement n'a pas été achevé.

Hi ,

I try the textfield, when i'm in local, all is ok,
then when it's on the server :

Error #2044: IOErrorEvent non pris en charge : text=Error #2036: Le chargement n'a pas été achevé.

???

If i remove the <img> balise, it work properly....
Someone know something about this problem ?
thanx

13

Dienstag, 25. August 2009, 14:17

Hi,

this means that the image couldn't be loaded,

the path to the image in the textfield must be relative to the "real" HTML file (the file where the krpano.swf is embedded),

best regards,
Klaus