Thursday, April 1, 2004

HTML and the standalone player

Ran into a quirky thing today, is it me or are the standalone player and the web player handling HTML slightly differently?

Trying making a movie that loads HTML using the XML object from an external file and insert it into a TextField(there is a sample app that does this in MX2004).

Running this in the web player and it works as you might expect but in the standalone player it seems that it recognises CRLF's in the text as well as BR tags. Thinking about it the problem could be in the XML object... is the XML object stripping CRLF's from the HTML that is being loaded in one version but not the other.

Ok so I guess the two players are different versions, I think from memory the standalone is 7014 and the web is 7019... have things changed?

Anyway if I am right, you need to be carefull about your HTML content if you think someone might be viewing using the standalone player as otherwise your pretty formatting will get screwed up.

Whilst we are talking about HTML and TextFields.. Since we can now load jpg's into the TexField and since these are usually being pulled over the web it can take some time to load. Wouldnt it be nice if there was some event to tell us the TextField had finished loading/rendering. As far as I know there isn't and the result is you must let the user watch your TextField rendering itself as the images are loaded one by one and so alter the layout.



1 comment:

  1. how do i get a standalone player onto my myspace site?

    ReplyDelete