Annulé

Controlling (opening and closing) a child window

We are using actions script 3.0 code to lunch a new browser window containing a "child" mini-game as a pop up. The pop-up should be located at a specific position, without allowing the user to change its size or maximize/ minimize (but he can close it)

the pop up link is to a flash AS2 movie in the format of ...[url removed, login to view] (not html / php page).

This is something we bought as SWF and can't modify directly.

once a user finished playing the child AS2 game, it sends a message via local Connection to the AS3 file (embedded in an html page).

at this point the AS3 code should close the AS2 browser pop-up window.

this should work in all browsers in all latest versions.

the INCORRECT code currently used (not working in IE9):

open window:

***************

var link:String = "javascript:mewind=[url removed, login to view]('";

link +="[url removed, login to view]";

link += "','mewind','location=no,width=600,height=500,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=0,fullscreen=No'); ";

link += "[url removed, login to view]();";

navigateToURL(new URLRequest(link), "_self");

*****************

close window

*****************

navigateToURL(new URLRequest("javascript: top.opener=self; [url removed, login to view]('about:blank', '_self', ''); [url removed, login to view](); void(0); "),"_self");

Compétences : Architecture Logicielle, Tests de Logiciels, Hébergement Web, Administration de Site Web, Tests de Sites Web

en voir plus : location testing, flash as2 to as3, file status 34, as2 to as3, window, window software, opener, child, pop window code html, javascript focus window, php window flash, pop window html code, pop window html, window window window, html as3, as3 html, open testing, mini game javascript, php mini javascript, embedded browser

Concernant l'employeur :
( 7 commentaires ) Ramat Gan, Israel

Nº du projet : #2769995

1 freelance fait une offre moyenne de $90 pour ce travail

mohitatwal

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0