Link to home
Start Free TrialLog in
Avatar of rickydan101
rickydan101

asked on

how to open a brower window with no menu bars from Flex 3

I can open a new web browser window with:
var thePetPhoto:URLRequest = new URLRequest(serverPath+"/PetPhotos/sendFTPPet.php");
var variables:URLVariables = new URLVariables();

variables.petID = myPetData.pet_id;
variables.petName = myPetData.pet_Name;
                              
thePetPhoto.data = variables;
navigateToURL(thePetPhoto,"_blank");

BUT
I can not find a way to open the window without menu bars and address bar.
I can do it from a html page with javascript document.open but not from Flex 3.

Thanks Rick
Avatar of ChristoferDutz
ChristoferDutz
Flag of Germany image

My best tip would be to use the Flex ExternalInterface and to user JavaScript commands to open the popup:
http://www.flash-db.com/PopUp/JavaScriptPopUp.php?page=2
http://javascript.about.com/library/blpopup1a.htm
Avatar of rickydan101
rickydan101

ASKER

This is part of a large application and I would really not like to uses javascript in the main container html page.

BTW the first link using getURL only works with Flex 2 and the second page does not seem to have any real help, but thanks for trying.
ASKER CERTIFIED SOLUTION
Avatar of ChristoferDutz
ChristoferDutz
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nice job that's what I needed. Did have to uses the javascript in the container but with some modifications it is working great.

Thanks