Jump to content

NO Idea


bluewalrus

Recommended Posts

No idea how to do this or use Ajax. I've only used flash html css and very basic java alterations. I was told to create this i would need to use ajax though so i thought I'd ask here how to go about this...

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.

 

----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."

}

 

Link to comment
https://forums.phpfreaks.com/topic/112624-no-idea/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.