difficult flash problem
- Started
- Last post
- 7 Responses
- lnu
I have a flash file that loads an external xml file. One of the tags in the xml file contains html that is loaded into a textfield in the flash file as htmlText. The html contains an img tag that displays a picture in the textfield.
I have several of instances of textfields, and therefor several xml tags containing html. THE PROBLEM IS that the images are only displayed some of the time, whereas the text is always displayed properly. So basically it finds the xml tag and displays the text, but something happens to the picture sometimes.
A strange thing is that I have a slideshow that also feeds off a xml-file, but a different xml-file. it has worked perfectly until the problem above started happening. Now it's the same with this slideshow, sometimes the images won't show up. I have a counter in the slideshow, that shows current picture number and total number of pictures, and the counter is intact i.e. the gallery loads the xml properly.
can anyone help?
- UndoUndo0
flash doesnt like jpegs that have been saved as 'progressive' jpegs. is is the same image that sometimes shows and sometimes doenst?
- lnu0
in the textfields, it's png's!
In the galleries, it's either all images in the specific gallery ore none that show up.
Thank you.
- ********0
Can you dynamically load a png?
- UndoUndo0
i think skt might just have answered yr question, although I'm not 100% that flash 8 can't load in pngs, but before that it was only jpegs
- lnu0
yeah sure, within the html within the xml :)
Anyway, I solved it, I accidentaly used the same instance of the movieclip over and over.
But now I have a new problem: a function creates a movieclip from a library item which I want to keep until the same function creates another movieclip (from the same item). Can I somehow remove the "old" movieclip in the beginning of the function which creates the "new" movieclip?
thanks again.
- UndoUndo0
removeMovieClip()
- lnu0
does removed movieclips disappear from the debugger window?