Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-15
4
Medium Priority
?
528 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:rickydan101
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 34895220
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
0
 

Author Comment

by:rickydan101
ID: 34901718
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.
0
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 total points
ID: 34902007
Ok .. sorry for the Flex2 link .... think this will help:
http://www.flepstudio.org/forum/tutorials/894-actionscript-calls-javascript-externalinterface-class-flash-cs3.html

But it still seems that you would have to add a small piece of code in your html-wrapper of include a small JavaScript file to it.
0
 

Author Comment

by:rickydan101
ID: 34904427
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
0

Featured Post

Reclaim your office - Try the MB 660 headset now!

High level of background noise often makes it difficult for employees to concentrate fully on their jobs – or to communicate clearly on calls. The MB 660 headset helps you create a disruption free workspace.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question