# Launching a Centered Pop-Up Window........Plz help really urgent

**URL:** <https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293>\
**Category:** flash\
**Created:** [April 4, 2006, 3:46am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293 "2006-04-04T03:46:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohit\_yog](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@rohit\_yog](https://forum.kirupa.com/u/rohit_yog)\
**Post date:** [April 4, 2006, 3:46am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293/1 "2006-04-04T03:46:01Z")

</div>

Hi,  
All

I am making a demo cd presentation in flash 8 that has to be run on a pc . Now the problem i have to call a customized popup window from a flash file . I had a look on this

[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

This is working fine when i uploaded on server and tested it .

But the problem is this when i write my flash files with .exe on the cd . It giving me the error cannot find the file…

Is there any other way …

* * *

Second option is that i call the swf file that will get open in a new swf file . As the swf file will open in a new window

I cant find script for that also…

---

<div class="post-metadata">

**Author:** ![flextnet](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@flextnet](https://forum.kirupa.com/u/flextnet)\
**Post date:** [April 4, 2006, 4:01am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293/2 "2006-04-04T04:01:22Z")

</div>

I don’t think you can launch a pop-up window with javascript code if your flash movie is running as an exe (standalone mode). The sample code is meant to be used to launch a new browser pop-up window only.

One way to deal with the problem is to burn the swf and html files onto the CD and then just launch the html file to show your demo instead of the projector file. This may not work perfectly because browsers sometimes don’t open flash files locally without showing a warning. What I have done in the past is embed my swf files into a Windows application written in C++, and then you can simply pop open a ‘Windows’ window instead of a browser window.

---

<div class="post-metadata">

**Author:** ![rohit\_yog](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@rohit\_yog](https://forum.kirupa.com/u/rohit_yog)\
**Post date:** [April 4, 2006, 4:17am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293/3 "2006-04-04T04:17:28Z")

</div>

Hey flexnet ,

Thanxs

But is there any way to solve this problem… or there is no solution ( as the client wants in that way … it has be flash first and then a window shuld open ( a customized window ) from the flash demo he doesnt want first a htm file to be displayed as that cd is the main marketing cd …

It would be really of a gud help

Thanks in advance

---

<div class="post-metadata">

**Author:** ![flextnet](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@flextnet](https://forum.kirupa.com/u/flextnet)\
**Post date:** [April 4, 2006, 4:36am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293/4 "2006-04-04T04:36:23Z")

</div>

hi rohit- the only to do what you’re trying to do is to embed the swf into a OS level window (like Windows) and then pop up a new OS window from there. This is complicated coding, but there are products I have heard of that do this- I just found this one for instance:

[http://www.flashjester.com/?section=tricks\_jtools\_jproweb](http://www.flashjester.com/?section=tricks_jtools_jproweb)  
… $60 USD for that one.

If I were you I would _gently_ tell the client that it’s not possible- you can’t always get what you want! :rocker:

---

<div class="post-metadata">

**Author:** ![rohit\_yog](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@rohit\_yog](https://forum.kirupa.com/u/rohit_yog)\
**Post date:** [April 4, 2006, 5:09am UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-plz-help-really-urgent/184293/5 "2006-04-04T05:09:04Z")

</div>

:ne: Thanxs

Flex

Let seee…

If i find any solution i will post here back …
