Français
  • JavaScript Popup Window in Flash ActionScript 3 Tutorial


    Added on Thursday 06 November 2008 05:22:17
    by flashbuilding
    49427 Views
    4.0 / 5
    12345
    24 rates
    Send this video to your friends
    Get embed code of video

    Download the free fla file for Flash CS3 and CS4
    http://www.developphp.com
    In this Flash and ActionScript 3 tutorial Adam teaches you how to code a JavaScript Popup window link using nothing but AS3. You can set all the attributes you want, and there is no need to complicate things by having to put something into the HTML of the page the SWF lives on. This is the best JavaScript-Flash popup code you will find for Flash AS3. Adam had to make this one because he noticed a lot of teachers placing code in multiple places in multiple technologies to do what he does here simply using AS3 alone.



    facebook
  • Write your comment here...
  • TechGrapple

    1:38 WTC!?!?
    Tuesday 07 February 2012 13:20:13
  • GWEBITYALA

    Hi Adam, You're the man! Can you do a JavaScript tutorial for visibility toggles? I'm struggling with accessing the right properties of the object generated by the click event so that I can tell JS precisely which element to turn on/off - which may or may not be the element clicked...
    Wednesday 07 December 2011 12:35:22
  • TheRijintube

    awesm
    Thursday 29 September 2011 11:14:59
  • pvtennantg

    good to have this up, but your an idiot man... the squirl voice is so annoying, and the quality of the video too
    Wednesday 13 April 2011 16:53:13
  • dustybeijing

    Thanks for this, it helped alot
    Thursday 31 March 2011 16:07:36
  • AngyTvMIX

    i do like in the tutorial but i dont know here to put the adres link for the pop up video .in the java script you made ... please help. i leave you mt skype id geo_rba and yahoo id geo_rba2009 if you whant to help me . have a good day .
    Wednesday 02 February 2011 05:06:59
  • AngyTvMIX

    Hy i download and wach the JavaFlash and ActionScript 3 Tutorials and i got a problem can you help me ... Im working at my website the adres is on my channel and i want to make at the video section .. to my videos to pop up in the page when you clik the foto (buton).
    Wednesday 02 February 2011 05:06:24
  • mr05jl

    merci thaink's tanemirt
    Tuesday 01 February 2011 16:39:10
  • Lazzeh1

    Been trying to use this code for a website im currently making. In Flash though, its saying "The class or interface 'MouseEvent' could not be loaded." and "The class or interface 'URLRequest' could not be loaded." Its baffled me, no clue why it wont work. Any thoughts???
    Wednesday 09 June 2010 12:51:29
  • Lazzeh1

    Been trying to use this code for a website im currently making. In Flash though, its saying "The class or interface 'MouseEvent' could not be loaded." and "The class or interface 'URLRequest' could not be loaded." Its baffled me, no clue why it wont work.
    Wednesday 09 June 2010 12:50:31
  • XMAnuca

    Could u do a tutorial abou an alert?? Just thath.. Thanks.
    Monday 19 April 2010 21:59:52
  • PayForward1

    This just went over my head
    Thursday 11 March 2010 13:05:55
  • 62arts

    i can't see a f..g thig that he does there...
    Sunday 07 March 2010 15:59:02
  • undertakers007

    jajaajjajaja rrapido
    Wednesday 03 March 2010 11:24:41
  • dog6363

    Upon reading your warning about future browser compatiablities with this code Im trying to get the Javascript window to open up myself. In IE 8 what cookie settings are required. Or does the Flash player need to read a different set of permissions?
    Thursday 08 October 2009 20:39:42
  • skojabra

    just do javascript:alert("Your message") put that in ur url
    Sunday 06 September 2009 08:10:39
  • LorenAlbrecht

    can't understand you in chipmunk mode... but the download files help alot, thanks adam!
    Wednesday 22 July 2009 12:47:59
  • flashbuilding

    I can make note to folks that it does not work anymore.
    Friday 03 July 2009 17:56:29
  • Noebelicious

    not true. tested it in safari... nothing happend.
    Friday 03 July 2009 10:34:11
  • mobleytheband

    Was that with Safari 4? Because it doesn't work for me with Safari 4.
    Saturday 30 May 2009 15:32:58
  • flashbuilding

    I just opened safari, checked the box in preferences to block all popups... went to my tutorial demo for the popup... and it popped up. So it works even if the popup blocker is set to checked in safari... I just tested.
    Wednesday 22 April 2009 18:58:41
  • thesidezipper

    The pop-up blockers in both safari and firefox, block the new window from opening with this code. Is there a work around other than expecting the user to not have their pop-up blocker on?
    Wednesday 22 April 2009 17:47:52
  • flashbuilding

    type in the full URL into the place where the page goes in that javascript line in the Actionscript.
    Sunday 19 April 2009 08:19:05
  • Linkipunk

    How can I open a page that is not popup into my server, such as youtube or google or Facebook?
    Sunday 19 April 2009 00:21:48
  • cartoonking3

    XD you sound like alvin
    Tuesday 03 February 2009 11:54:15
ADVERTISEMENT
Supplements
Social Network
Tag cloud