HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 30th, 2008, 12:02 PM
bluewalrus bluewalrus is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 2 bluewalrus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 49 sec
Reputation Power: 0
Any Ideas on this?

Don't know if this should be java php flash or another language basically i've written a sample of what i want in flash and BASIC language (and written what i dont know how to do) but I can't get it to work in flash (tried the php flash) I want to have a user input text in a text field like "2008-6-30_today" ($file below) i then want that to create 5 xml files with that name each a different name in front and extension at end like "/video/2008-6-30_today.xml" inside that file i have xml script i'm putting in in which that same file name will locate other files.
Code:
----display page-----
Name: [input field called $file]
submit button [hit]
---hit state----
on (release) {
create file ("video/$file.xml");
create file ("photo/$file.xml");
create file ("text/$file.xml");
create file ("podcast/$file.xml");
create file ("speech/$file.xml");
in "video/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "photo/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "text/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "podcast/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "speech/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
}
on(keyPress "<Enter>") {
create file ("video/$file.xml");
create file ("photo/$file.xml");
create file ("text/$file.xml");
create file ("podcast/$file.xml");
create file ("speech/$file.xml");
in "video/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "photo/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "text/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "podcast/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
in "speech/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
}

Thanks for any help you have

Reply With Quote
  #2  
Old June 30th, 2008, 04:09 PM
KuraofTyren KuraofTyren is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 213 KuraofTyren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 14 h 33 m 44 sec
Reputation Power: 4
if you put all of your code in a [.code] [./code] block it'll be much easier for people to read on the forum (Just remove the dots of course)

Code:
Line 1 
Line 2 
Line 3
Insufferably long lin 4 which would very easily scrolls off the edge of the page and get pushed to the next line by accident if it weren't in a code box
Line 4


Like that. I'm afraid I can't help solve your problem but I think more people will be willing to read it if you use the code box Also, please be very specific with your question. Clarity is important (punctuation helps). Unfortunately after reading your question through twice I'm really not sure what you're trying to do :\

Last edited by KuraofTyren : June 30th, 2008 at 04:12 PM.

Reply With Quote
  #3  
Old June 30th, 2008, 05:17 PM
bluewalrus bluewalrus is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 2 bluewalrus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 49 sec
Reputation Power: 0
ok put all that in the code. basically what i want is to make 5 pages all xml each with the same file name ($file) with a different directory listing in front of each. $file is suppose to be inputed by the user. That then writes the xml file names and also adds xml inside it. The xml inside is always the same except for the media file names which are the same as $file.
Say this is the video page heres what i want it to do
Export this
Code:
videos/$file.xml --> As a file -->in the file <p>Watch this video now new <embed src="$file.swf"></emb></p>

but also four other pages each with different mark ups for photos to display,speech, and updates. All of which are created from the one input field hitting the button or the enter key.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Any Ideas on this?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway