PDA

View Full Version : FS command doesn't work


march_one
04-10-2006, 11:54 AM
Got a problem with the embedded FS command from flash in html document.
Although exportet my flash movie with FS command in html, the
window doesn't resize the content in my browser (safari/ IE mac).

How can I edit the HTML document, so the window will automatically resize the content?


thanks

hooj
04-19-2006, 12:50 AM
the default html code that Flash publishes to enable the fscommand methods to work fails to recognize your request if your code is like:

function flashFile_DoFSCommand(command, args) {
if(command == "yourCommand"){
alert(command);
}
}
a quick work-around...
function flashFile_DoFSCommand(command, args) {
if(command == "yourCommand" || FSCommand.yourCommand){
alert(command);
}
}