Continued from page 1
<IFRAME id="ifrMain" name="main" src="myscript.php" frameborder="0" width="0" height="0" scrolling="no" ></IFRAME>
Note that SRC property is location of our PHP script, which will be summoned later, to write and save to our external file. Notice our width and height properties are both set to zero.
I still submit data to my PHP script, from within flash banner popup with help of ActionScript's cool little getURL() function:.
on(press){
GetURL("myscript.php?banner=this&action=close","main", "GET");
}
However because target (main) was loaded inside our little hidden <iframe>, only <iframe> refreshes. The user will not see a window refresh, scrip will be parsed by PHP and everyone lived happily ever after
Dave Collado Senior Design Consultant www.Foamers.net
Dave Collado is a senior design consultant at www.Foamers.net , and freelance web designer since 1999. Foamers.net offers quality website templates customization, flash presentations, phpnuke themes, content management system, phpbb themes, osCommerce solutions, XML feeds, web design tutorials, and many other website design and web hosting services.