logo
What's New
What's New
  Popular
Popular
  Top Rated
Top Rated
  Search
Search


Search :  

How to Add Link |   Modify Link   |   Login |     Register  |  Getting Rated |  Link to Us |  Feedback Us


Sponsors
FlashAdvisor.com
Web Directory
phpld Hacks
Your Site Link




Categories
    3DS MAX
    ASP
    C And C++
    ColdFusion
    Database
    Dreamweaver
    Flash
    HTML
    Java
    JavaScript
    Linux
    Maya
    MS Excel
    MS PowerPoint
    MS Word
    Paint Shop Pro
    Perl and CGI
    Photoshop
    PHP
    Premiere
    Python
    Visual Basic
    Web Hosting
    XML
 

 

Pop-up Detection with LocalConnection
  

Home  » Flash » Actionscripting  

Detecting whether or not a user has a pop-up blocker enabled or not has somewhat recently become more of a concern for designers and developers. Since these blockers do not announce their presence, it is logical to assume that the best way to detect the successful launch of a pop-up is to have the pop-up send a message back to the originating window. This can be done in a number of ways, but this tutorial will cover a method of pop-up detection using Flash's LocalConnection class. LocalConnection can be thought of as an 'instant messenger' of sorts between the instances of Flash Player running on a user's computer. You will be using this class to establish a connection with the pop-up that you attempt to launch. Before you begin, you should understand that this form of pop-up detection is not perfect, it is based on the assumption that the pop-up will load in a timely manner after the launch button is clicked, and it assumes that the Flash embedded in the pop-up executes the first frame code in that timeframe.

Hits: 52
Rate:   0.0(out of 5)  
Vote : 0   
Submit Date  : 2007-02-16
Submit By  : kirupa
View Tutorial Pop-up Detection with LocalConnection
 Add Review
 Report Error
Rating Graph

0.0%
0.0%
0.0%
0.0%
0.0%
 1  2  3  4  5 
Rate This :
More Tutorials by this user

Flash MX: Switch / Case
 Flash MX: Switch / Case
Introduction to XML in Flash
 Introduction to XML in Flash
Tag Your Site With Graffiti
 Tag Your Site With Graffiti
Random Letter Cycling 2.0
 Random Letter Cycling 2.0
Hit Test (Collision Detection)
 Hit Test (Collision Detection)
Testing your PHP Installation
 Testing your PHP Installation
After Effects - Animation/Key-framing
 After Effects - Animation/Key-framing
XML Parsing using PHP
 XML Parsing using PHP
Adding Thumbnails
 Adding Thumbnails
Tertiary Operator
 Tertiary Operator
  
Home | Sitemap | Feedback | Advertise with us
Best viewed in 800x600 resolution with Internet Explorer.
Site Developed and Hosted by EthicSolutions

Flash Tutorials    TemplateAdvisor.com    WebMastersHome.com

    Reseller Hosting    Reseller Hosting Linux