0

Hi guys I am having a problem with flash and javascript I wish to to invoke a click on the code below when the page unloads

<script type="text/javascript">
(function save() {
    var appWidth = 24;
    var appHeight = 24;
    var flashvars ={
        'event_handler': 'microphone_recorder_events', 
        'upload_image': 'images/upload.png'
    };
    var params = {'name' :'wmode',' value' : 'transparent'};
    var attributes = {'id': "recorderApp", 'name':  "recorderApp"};
    swfobject.embedSWF("recorder.swf", "flashcontent", appWidth,      appHeight, "10.1.0", "", flashvars, params, attributes);
});
</script>
1
  • Don't get your question. Please describe your problem a bit more in detail. What should be called when? Where should be clicked. What is unloading? Commented Nov 10, 2011 at 8:46

1 Answer 1

0

You probably need to trigger a flash event from javascript. Check the this article for a solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.