xml in flash 8
- Started
- Last post
- 3 Responses
- wwfc
...hmmm...
...I have just updated an old project of mine - it was originally published in flash6 and as1 - as2 is fine but when I change the player version to 8 it just comes with undefined where the info should be?!
I know there are some issues with xml published via player - but can't seem to find a quick and simple fix.
the action script that calls and loads the xml file is here:
http://pastebin.com/m6181a830is there something glaringly obvious that I'M NOT SEEING!!!
Fingers crossed...
- enjine0
Object.environment.timelineFile = "file.xml";
trace(Object.environment.timelin...that test fails.
consider a new way of storing the timeline file reference
- wwfc0
...thanks enjine...
...any pointers at all? xml is not my strongpoint!
- jpea0
sure, instead of using a long Object reference (since its' a reserved reference in flash) just use something simple.
xmlPath = 'file.xml'
then
timeXML.load(xmlPath)or even just
timeXML.load('file.xml') and ditch the reference entirely.