Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading Ext JPEG using HTML

Status
Not open for further replies.

Kijori

Technical User
Jan 22, 2002
67
SG
I want to load external jpegs into a dynamic textfield which is set to render as HTML. Now, my file directories are arranged as such:

Code:
Folder1 contains myFile.swf
	Folder2 contains myTxtFile.txt
	Folder3 contains myImg.jpg

I've entered the line of HTMl in myTxtFile.txt as such:

1. <img src="../Folder3/myImg.jpg"> - can't work
2. <img src="/Folder3/myImg.jpg"> - can't work
3. <img src="myImg.jpg"> - can't work

I want to know what to put inside the <img> tag for the picture to be loaded. What's the correct path? By the way, I'm able to load the myTxtFile.txt into the myFile.swf.

Thanks.
 
I'm using MX2004. What you are saying is that I need to create a CSS file and put the <img> tag inside. I'll try but based on my scenario above, which path should I use? Second one?

By the way, can show me how to include the <img> tag within the CSS file? I didn't know we can do that. Thanks.
 
... and oh, only Flash 7 support this right? So in other words, it won't work in Flash 6 and below huh?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top