JavaScript & Flash: Pop Ups

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Tutorial - Communication between Flash Movies: Part 2

 

Free Flash / JavaScript Tutorial


Step 3    <<   Previous      Intro   1   2   3   4   5   6     Next   >>       >>   Webwasp Mates

 

Step Three: Creating the Third Flash Movie - Pop Up 2

  1. Open a new: Flash Movie
  2. Make the Document Size: 70 x 70 pixels
    You can do this in: Modify Document
  3. On Stage create a simple: Animation (This step is not essential)
  4. Add the same code, as you did in the previous Movie, to the first frame:
  5. receiver = new LocalConnection();
    receiver.doAction = function(doThat) {
        if (doThat == 2) {
            getURL("javascript:self.close();");
        }
    };
    receiver.connect("myConnection");

  6. Save your file as: pop2.fla
  7. Now Export you Movie as a Flash Movie (swf file): File > Export > Export Movie
    This will create a file called: pop2.swf

         

Step 3    <<   Previous      Intro   1   2   3   4   5   6     Next   >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.