-
Retrieve javascript function returned value into Flash
Hi all
I am posting a thread regarding passing a javascript returned value into Flash. It is slightly complex due to the solution I am looking for must target Flash Player 6.
I have looked at various solutions including the Flash / JavaScript Integration Kit wrote by the guys at the former Macromedia. Unfortunately the solution involved includes various classes and then import them in Flash which produces the following error:
The class or interface 'com.macromedia.javascript.JavaScriptProxy' could not be loaded.
The Javascript I want to retrieve the value from looks like:
<script language="JavaScript">
<![CDATA[
function CheckIn(){
var originalDate = $('#FromDate').val();
return(originalDate);
}
]]>
</script>
I just need to pass the returned value into a variable within Flash.
Any assistance would be gratefully received, thanks
-
Senior Member
Im not sure what PLayer 6 all allows.. but can you NOT ue ExternalInterface() to call/execute functions registered in both the wrapper (ie: html/js functions) & flash?
alternately.. maybe using some .js to add the results from your function as a var in the embed code? (flashvar?)
when do you need this value in flash? when it loads?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|