Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A Div containg flash to be closed from within flash

    Hello!

    I would appreciate if you can help solve me the following problem:

    I am using a dhtml popup on my site. The popup is a DIV that appears on load.

    This div displays a flash movie. I wish to allow the user to close the DIV (and not just the flash) when button inside this flash is clicked.

    Ideally, I need the entire code snippet to help me close the popped up div using a button inside the popped up flash div.

    Any help will be highly appreciated.

    Thanks

    Samko
    Last edited by Samko; 02-02-2009 at 09:03 AM. Reason: name misspelled

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    You need to find a Javascript script which can do this for you, and then using a button inside of Flash you can call the close function.

    http://www.spoono.com/flash/tutorial...rial.php?id=20
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Tags for this Thread

    Posting Permissions

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