A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Javascript Help

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    1

    Javascript Help

    Im having trouble with flash and my javascript.

    ya see, Im coding my site, and I have a link that opens up my flash movie.
    and in my flash movie it has a javascript code on a button.
    but thing is that I want the javascript to activate on the browser below the flash window.

    is there any way to do this?

  2. #2
    Allan Jardine
    Join Date
    Dec 2000
    Location
    Turtle hunting
    Posts
    192
    Yes its possible.

    Using javascripts 'opener' object you can refer back to the window which opened your other one. For example

    Code:
    opener.location = "http://www.google.com";
    would send your opener window to google. Have a look at http://www.webreference.com/js/tutorial1/opener.html or do a quick google search for 'javascript opener'.

    Good luck
    A

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center