Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

JavaScript Popup Window in Flash ActionScript 3 Tutorial

Loading...

Sign in or sign up now!
49,015
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 6, 2008

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.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:

Uploader Comments (flashbuilding)

  • 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?

  • 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.

  • not true.

    tested it in safari... nothing happend.

  • I can make note to folks that it does not work anymore.

  • How can I open a page that is not popup into my server, such as youtube or google or Facebook?

  • type in the full URL into the place where the page goes in that javascript line in the Actionscript.

Top Comments

  • Why at 1:39 did you switch to Alvin and the Chipmunks mode?

  • can't understand you in chipmunk mode...

    but the download files help alot, thanks adam!

see all

All Comments (27)

Sign In or Sign Up now to post a comment!
  • 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...

  • awesm

  • good to have this up, but your an idiot man... the squirl voice is so annoying, and the quality of the video too

  • Thanks for this, it helped alot

  • 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 .

  • 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).

  • merci thaink's tanemirt

  • 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???

  • 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.

  • Could u do a tutorial abou an alert?? Just thath..

    Thanks.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more