Hi gunjang
you can pass the varibles from flash to shockwave using javascript functions
as a mediator.
You can call a javascript function in html page from flash with the variable
you want to pass using fscommand like this
// flash script
on(release) {
myVariable = "Flash"
fscommand("passvariable", myVariable)
}
Note: if you are publishing flash using FSCommand template in the HTML
Publish Settings, this code is inserted automatically
javascript function which inturn calles another function
passittoshocwave(args) to execute a EvalScript function inside director
// Javascript inside html
function flashObjectName_DoFSCommand(command, args) {
if (command == "passvariable") {
passingvar = args;
passittoshocwave(passingvar);
}
}
function passittoshocwave(passingvar){
document.shockwaveMovieObj.EvalScript(passingvar);
}
-- shockwave movie script
on EvalScript aParam
passedVariable = aParam
end
Hope this helps
Ramesh CT
http://www.geocities.com/ramesh_ct/
-----Original Message-----
From: gunjang <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, November 07, 2000 2:48 PM
Subject: <lingo-l> case?
|can we pass variables between flash and shockwave ... how to do it..?
|
|
|[To remove yourself from this list, or to change to digest mode, go to
|http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
|email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
|Lingo-L is for learning and helping with programming Lingo. Thanks!]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]