Hi,
I am using Director to read an XML file and then generate the cast based on that file. The reading is OK and generation works when I use importFileInto member(#), "fileName.ext". The only problem is that this makes the load time really long.
On my home computer, I used...
member(#).fileName = the applicationPath&"fileInfoName.ext" to set the file for each member, which links to the external file and doesn't import it into Director (as far as I can tell). At work, this method fails every time. Any suggestions as to why this would happen?? Here is a sample of the code (without the XML interaction)...
on prepareMovie me
member(2).fileName = the applicationPath &"images/somePic.gif"
member(2).name = "somePic"
end
...Thanks for your help.
I am using Director to read an XML file and then generate the cast based on that file. The reading is OK and generation works when I use importFileInto member(#), "fileName.ext". The only problem is that this makes the load time really long.
On my home computer, I used...
member(#).fileName = the applicationPath&"fileInfoName.ext" to set the file for each member, which links to the external file and doesn't import it into Director (as far as I can tell). At work, this method fails every time. Any suggestions as to why this would happen?? Here is a sample of the code (without the XML interaction)...
on prepareMovie me
member(2).fileName = the applicationPath &"images/somePic.gif"
member(2).name = "somePic"
end
...Thanks for your help.