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 2    <<   Previous      Intro   1   2   3   4   5   6     Next   >>    

 

Step Two: Creating the Second Flash Movie - Pop Up 1

  1. Open a new: Flash Movie
  2. Make the Document Size: 468 x 60 pixels
    You can do this in: Modify > Document
  3. On Stage create a simple: Animation (This step is not essential)
  4. Cross Reference: If you do not know how to make a simple animation, there are several animation tutorials in the beginners section such as: Tweening

  5. Add this code to the first frame of the new Movie:

    receiver = new LocalConnection();
    receiver.doAction = function(doThat) {
        if (doThat == 2) {
            getURL("javascript:self.close();");
        }
    };
    receiver.connect("myConnection");

  1. Save your file as: pop1.fla
  2. Now Export you Movie as a Flash Movie (swf file): File > Export > Export Movie
    This will create a file called: pop1.swf

         

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


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.