Here's what I want to accomplish: A Javascript code that opens a flash file.

Here's what I have (in my brain)...

this is an embed function slightly dismembered...

document.write [stuff before script]
document.write [whats in textbox - where the filename is supposed to go]
document.write [stuff after script]

There is also a textbox. I want it to load the flash file when the button is pressed.

Can someone help me out? Pwetty Please? With A Cherry On Top?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.