I'm doing an application based on dynamic loading. In this the textures were present in a folder. when we click a button, the textures should change(it should take from folder only) using xml file. It is working fine till publishing, but it is not working in webserver. Can anyone help to solve this.
I have pasted the code below.
tPathname = thePath & theList[tmp] &".jpg"
member(gDynamicMember).filename = tPathname
gNetObject = script("netObject").new() -- create new instance of download manager
gXmlObject = xtra("xmlParser").new() -- create new instance of xml parser
gNetObject.downloadFile("@/dswmedia/userPass.xml") -- initiate download/parse cycle
-- defining the member to change:
gDynamicMember = member("DynamicMember",1)
-- defining path to images:
gImagePath = "@/dswmedia/images/"
-- saving start up image:
gDefaultImagePath = member(gDynamicMember).filename
Thanks in advance.
Your favorite shows are back!
Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!