Flash Script - Popup Windows in Flash

This tutorial will show you how to create a cool pop up windows with no toolbars.

1. Create a button in your Flash file.

2. Right click the button and go to actions give actions:

     getURL ("JavaScript:openWin('test.html', '250', '250')");

3. Publish your movie, selecting the HTML and Flash options you prefer.

4. Open the html page in notepad, and insert the following code in between the <head> and </head> tags.

 <script language="JavaScript">   function openWin(url, w, h)   {   var winprop = "width=" + w + ",height=" + h;   openwin = window.open(url,'',winprop);   }   </script> That's it! Preview your page in a browser.

Replay

Category: software Time: 2003-04-28 Views: 0
Tags:

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.166 (s). 12 q(s)