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.

1

Friday, February 20th 2009, 11:25am

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*

This post has been edited 1 times, last edit by "Job.1" (Feb 20th 2009, 12:35pm)


2

Friday, February 20th 2009, 2:07pm

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

Friday, February 20th 2009, 2:59pm

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

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

4

Friday, February 20th 2009, 7:02pm

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*

5

Friday, February 20th 2009, 8:39pm

Thanks for the links Graydon ;-)

6

Saturday, February 21st 2009, 10:32pm

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 ?

This post has been edited 1 times, last edit by "Job.1" (Feb 21st 2009, 11:16pm)


7

Monday, February 23rd 2009, 11:51pm

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

8

Tuesday, February 24th 2009, 10:07am

Okay Klaus I try it

10

Tuesday, February 24th 2009, 12:42pm

can you show me the example or the xml code?

11

Tuesday, February 24th 2009, 1:05pm

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*

This post has been edited 1 times, last edit by "Job.1" (Feb 24th 2009, 1:27pm)


12

Saturday, August 22nd 2009, 4:36pm

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

Tuesday, August 25th 2009, 2:17pm

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