A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11336 Flash Movies | 2 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Surjit Dhami
» Title: Book
» Description: Book
» More by Surjit Dhami


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 5848 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: All-American Rejects
» Description: Get to know this great band by exploring their "practice room".


Random Links | Add your own Flash Related Links
Flash Tutorials 1277 Tutorials 7 New Tutorials Added!
What's New | Top100

» Create xml slideshow with free template
» How to Insert a Multilingual Subtitle Into Your Flash Video Studio
» How to Create Cool Halloween Slideshow
» Debugging flash using the Firebug console
» Create Flash Slideshow on Blogger
» FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS
» HTML Photo Gallery Tutorial
» Create your first flash site – PART 1
» How to Make a Flash Photo Gallery
» Unknown Tag: Title10
Random Tutorial | Add Site

Trading Customer Accounting (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Dynamic_Content

Categories JavaScript Pop-up windows (no external scripts) in Flash - a definitive guide
Author: Jeffrey F. Hill | Website: http://www.flash-db.com |

 
Page 1
1 2 3 4 5 6 next»


Introduction

This tutorial describes a method of using JavaScript within your Flash movie without using any external JavaScript in the html your movie is embedded in. For the example we are going to be creating pop-up windows. This tutorial starts off with the basic method involved then goes into some more advanced effects. And finally finishes off by describing how to dynamically update the movie located in your pop-up with JavaScript from your parent movie.

Overview

This becomes a powerful method because it enables you to include JavaScript in any Flash movie regardless of where it is located. For example with this tutorial you can open up a new window (with specific dimensions, location, and browser features) from a banner ad or from your Flash footer for various message boards, regardless of what JavaScript is located in the document in which it is embedded. Traditionally you would have to include predefined JavaScript in the html document that the movie is embedded in. After we go over the basic technique we will be going into various effects using JavaScript such as shaking the pop-Up window, moving the pop-up once loaded, opening and closing the pop-up at specific delay times, scrolling to a specific location in your pop-up, etc etc. Then goes on to explain how to control that pop-up from the parent movie timeline - using this you can for example shake a pop-up window you previously opened at a specific time or event in your Flash movie. Some features will not be available to all browsers as well as when you are opening a pop-up window not located on the same server as the parent movie. The example for this tutorial provides you with a JavaScript code generator that you can use to create all the effects we will be covering plus more. Every single JavaScript property, method, and function related to pop-up windows was attempted to be included for use in the Auto-Code Generator - for this reason some will not be available to all browsers (most will though). You can use/review the auto-code generator at this link http://www.flash-db.com/PopUp In the end of this document I provided a brief overview of how to use the Auto-Code Generator, but it should be fairly self explanatory.

1 2 3 4 5 6 next»

» Level Intermediate

Added: : 2002-01-09
Rating: 8.81 Votes: 149
Hits: 2300
» Author
Jeffrey Hill is a freelance web developer from Boulder, Colorado. He specializes in creating and developing dynamic database driven Flash content and applications. Specialty's include SQL, PHP, Perl, and XML.
» Download
Download the files used in this tutorial.
Download (0 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs