Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2273 times and has 7 replies Next Thread
Female kgramazio
Stranger
Member's Avatar

United States
Joined: Dec 7, 2008
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

I have a actionscript for a flash cms file i need to link multiple xml files for saving content. If There is someone that can help me write the variables for it to work for me on multiple xml files. I will share the file and i have the xml file names that i need info saved to.
please email me at kgramazio@mac.com

Please it is urgent. I have been up for 3 days trying to figure it out!! needed asap.
i just think im over tired and cant think straight.

[Dec 7, 2008 10:19:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    krispyleigh [Link] Report threatening or abusive post: please login first  Go to top 
Male falkencreative
Advanced Member
Member's Avatar

USA
Joined: Aug 14, 2007
Post Count: 1129
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

Shouldn't be too difficult. I should be able to help out if you post the code.
----------------------------------------
Benjamin Falk | student : designer : developer
Twitter: falkencreative
[Dec 8, 2008 1:25:12 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female kgramazio
Stranger
Member's Avatar

United States
Joined: Dec 7, 2008
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

this.backup = textXML.idMap[liveID].firstChild.nodeValue;//hold a copy of original data for UNDO
this.xmlObj = textXML;
this.fileSaveTarget = "liveTEXT.xml";//////Change this to a variable to set multiple XML sheet saving
[Dec 9, 2008 4:48:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    krispyleigh [Link] Report threatening or abusive post: please login first  Go to top 
Male falkencreative
Advanced Member
Member's Avatar

USA
Joined: Aug 14, 2007
Post Count: 1129
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

So what is it exactly that you are trying to do? Save the exact same bit of content to different XML files? If so, why (shouldn't you only need one?)

By any chance, is this the file you are working with? http://seleniuminteriors.com/liveTEXT/liveTEXT_old.as
----------------------------------------
Benjamin Falk | student : designer : developer
Twitter: falkencreative
[Dec 9, 2008 6:08:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female kgramazio
Stranger
Member's Avatar

United States
Joined: Dec 7, 2008
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

Yes that is the exact file i am working with i noticed someone else was using the program too. I need to change the part that says "//////Change this to a variable to set multiple XML sheet saving" for the multiple xml sheets i have already setup for all of my pages with the different xml pages attached. The xml file names i need to direct to it are:
content.xml
about.xml
friends.xml
nationals.xml
schedule.xml
testi9monials.xml
unique.xml

im trying to change the above code into a variable to handle these multiple xml sheets to save like it is stating. Please show me how i would write that new section of code?
[Dec 10, 2008 3:51:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    krispyleigh [Link] Report threatening or abusive post: please login first  Go to top 
Male falkencreative
Advanced Member
Member's Avatar

USA
Joined: Aug 14, 2007
Post Count: 1129
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

I think you should be able to do this with these two lines:

xmlFile = liveTEXT.xml";
this.fileSaveTarget = xmlFile;//////Change this to a variable to set multiple XML sheet saving

That way, the fileSaveTarget is whatever the xmlFile variable is set to. However, I'm not expert in flash, so you'll need to test it. I'm not really sure how to change that variable based on which page you are trying to save though. You'll probably need to talk to the original developer of the Flash.
----------------------------------------
Benjamin Falk | student : designer : developer
Twitter: falkencreative
[Dec 10, 2008 12:15:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female kgramazio
Stranger
Member's Avatar

United States
Joined: Dec 7, 2008
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

do you think this is whaat they mean by change to a variable? seems too easy , but it could be. ill test it
[Dec 10, 2008 7:04:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    krispyleigh [Link] Report threatening or abusive post: please login first  Go to top 
Male falkencreative
Advanced Member
Member's Avatar

USA
Joined: Aug 14, 2007
Post Count: 1129
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need Help Changing this.fileSaveTarget = "liveTEXT.xml"; to a variable to set multiple XML sheet saving

Well, that does change that particular line to use a variable, which you can change. However, it does not convert it to a full CMS that would allow you to save multiple files.
----------------------------------------
Benjamin Falk | student : designer : developer
Twitter: falkencreative
[Dec 10, 2008 7:37:53 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread