Results 1 to 14 of 14

Thread: Javascript/Actionscript: close button

  1. #1

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220

    Javascript/Actionscript: close button

    I'm trying to make a button or text within a flash animation that closes the entire window where the animation is located. I tried using javascript:window.close(); but that didn't work. Anyone have any ideas? (im new to js and flash)
    - you've been privileged to read a post by Miz

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    If this is in a Flash player window, then I have the code at work.
    I don't have Flash installed at home. I will post tomorrow when I
    get to work.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    http://www.actionscript.org/actionsc...Communication/

    2 seconds with google and btw, I find it annoying when flash closes the window it is being showed in, which is why java script is disabled in my browser

  4. #4

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220
    Originally posted by kasracer
    2 seconds with google and btw, I find it annoying when flash closes the window it is being showed in, which is why java script is disabled in my browser
    what do you think of a little pop-up slideshow (in flash) with a close button that just closes the entire pop-up win
    - you've been privileged to read a post by Miz

  5. #5
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by dolor
    what do you think of a little pop-up slideshow (in flash) with a close button that just closes the entire pop-up win
    So you're going to emul;ate a pop-up within a flash movie and then close that pop-up?

  6. #6

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220
    Originally posted by kasracer
    So you're going to emul;ate a pop-up within a flash movie and then close that pop-up?
    no no, it's gonna be lil flash plug-in within a small html pop-up
    - you've been privileged to read a post by Miz

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Why not display the slide show in the main window?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220

    Talking

    Originally posted by CornedBee
    Why not display the slide show in the main window?
    because i want do exhibit my internal creativity ..?
    - you've been privileged to read a post by Miz

  9. #9
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by dolor
    because i want do exhibit my internal creativity ..?
    Your creativity involes annoying users?



  10. #10

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220
    Originally posted by kasracer
    Your creativity involes annoying users?


    sure, if that's what it takes
    - you've been privileged to read a post by Miz

  11. #11
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    heh

  12. #12
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  13. #13
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

  14. #14

    Thread Starter
    Addicted Member dolor's Avatar
    Join Date
    Sep 2002
    Location
    in a place seldom found on a map
    Posts
    220
    ?
    - you've been privileged to read a post by Miz

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