PDA

View Full Version : embed jpeg in dynamic text using external text file html


michaelnyden
06-06-2006, 12:59 AM
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

michaelnyden
06-06-2006, 01:02 AM
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

michaelnyden
06-06-2006, 05:59 PM
sorry about that the fla is found here:
http://mcc.larrychendesign.com/resources/untitledmcc.fla

michaelnyden
06-06-2006, 07:50 PM
http://mcc.larrychendesign.com/resources/Untitledmcc.fla
doesn't work?
I just tried it...it asks me if I want to open or save to disk...

michaelnyden
06-07-2006, 02:47 AM
sorry about that...so what do you think? why won't pics who up?

the actual website is www.maximaclubofcalifornia.com

michaelnyden
06-07-2006, 07:25 AM
I am using a pc....flash mx 2004 pro....I published it with actionscript 2.0 and flash player 7 selected...

Navarone
06-09-2006, 01:45 PM
I don't think you can include an image inside of a text field in flash with the image tag; Flash is working to HTML 1.0 standard, but I don't think image tag is supported:)

michaelnyden
06-09-2006, 05:41 PM
well I know for sure that it is supported since it worked in the past, but I had to search around a lot and use alter the img tag a good deal...in addition, on macromedia's site, there is a white paper which states it is supported but offers very little support on how to correctly implement it...

Navarone
06-09-2006, 06:32 PM
If you find out how it was done in the past let me know.

ForEach
06-13-2006, 12:40 PM
well I haven't checked your fla or anything, but I use html tags in my project and img works. Maybe try to use double quotes instead of single?