Flex :: Open Air Applications Inside Any Browser Window?
Jun 30, 2011
I've been searching around web and so far found many tutorials/docs on how to install or open air application from a web page. This just opens a new AIR-browser window and that's not what I'm looking for. I'd like it be opened inside a browser frame (even if downloaded first) much like a plain swf file.
I know air file is more or less plain zip, so maybe I could unpack it? What AIR features shouldn't I use for this to work?
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) { var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);"); }
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image
var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas); var imageByteArray:ByteArray=imageSnap.data as ByteArray;
I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages
var printJob:FlexPrintJob=new FlexPrintJob(); printJob.start(); printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);
I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?
I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?
i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?
<script>window.resizeTo(350, 500);</script> that is what I did it works but is there anyway I can get rid of the menu bars and scroll for the windowresize?
I'm running an online game site, and a few websites are really bad about embedding some of my games and stealing bandwidth.
To combat this, I replaced the original files with super-simple .swf files that redirected back to my own websites -- thus stealing back the traffic that they were stealing from me.
The problem came later when something changed with the new Flash player, and new windows no longer opened. For the life of me, I can't figure out how to get new windows to open. I've tried a few different approaches, but nothing appears to work.
So what I'm wondering is, can this even be done anymore -- where I can switch out a .swf that's being leeched with one that opens a window to my own site?
I am making my website's nav bar in flash. I want some of the buttons to open new browser windows to display aspx/html files. Is this possible using actionscript 3.0?
I'm trying to create a page where you click on the video thumbnail and the video opens up in its own window. I'd like the video to open at a specific size that I determine, not the browser, and I want it to be scalable. Here is what I have so far as a test file[URL]
I am building a kiosk app in flash and need to open browser windows whenever there is a URL link. The problem is that when the browser window opens, the fullscreen flash becomes a resizable window and the user has to close the window and open the flash app again to make it full screen again. So i'm wondering if there's any way I can open a browser window within the flash app sort of like an iframe or lightbox pop up? I've heard of this Native Window thing but I'm not sure what that is.
just started with flash and trying to open a new browser window from flash file. I don't have problem to do this but I don't know how to open a new browser window with specific size (let say 600x600px) and to appear on the screen at specific place (not just at left top corner).
I am trying to open a new browser window from within my Flash app. To do this, I am using the line:[URL]..The problem is that when I test the code from in Flash CS4 nothing happens! It's like the line of code isn't there. But when I manually open the .html file which Flash CS4 generated that embeds my .swf, then the Flash app opens in my browser and promptly opens a new window to yahoo juat like it should, so it does not seem to be an AS3 syntax issue. I just got a new computer yesterday, with a fresh install of Flash CS4. I do not have this problem on my old computer. The old computer runs the code perfectly. Could there be some weird default security settings at work here in Flash CS4?
Does anyone have any experience with this sort of problem, or any clue what might be happening?
Am I correct in assuming this getURL code is not supported by Action Script 3? How would this code or any other be added? And what does "_self" refer to?
I've tried all the tutorials on kirupa, checked out adobe live docs, forums all the works and i've tried 20 different methods to open a browser window with a fixed width and height. i'm using Flash 8 and am wondering if there is a new method for opening a browser window with ixed params. it seems every tutorial i find is for flash 5 or earlier and none of them work. and i've tried opening them both in firefox and ie. the standard getURL _blank works fine of course...i just need to adjust the window size to scale to an image.
I'm sorry to have to ask this as I know there are many tutorials out there on how to do this, but using as2 how can I open a new browser window when a button is clicked, that is sized to specific dimensions? The reason I ask is because every bit of code I tried to use did absolutely nothing, when I clicked on the button nothing happened. This is the code I'm trying to use at the moment
Code: getURL ("javascript:NewWindow=window.open('master.html','Title','width=1024,height=614,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);"); I'm using flash CS4, flash player 10 and actionscript 2
Currently, mailto will close out the flash site and navigate to a browser-based email client. What I'd like it to do is open a new window which it would use to open the email client, instead of using the same window (which closes out the flash site to open the email client).
I am working on a project that is not going on the web, but CDs. I'm trying to have a swf load in a new flash player window when a button is clicked. I've searched the web, but seem to only find how to open a new browser window.
I want to display some data in a separate browser window instead of using popupManager. How do i do that. Also i need to pass parameter to that window, based on that parameter, i ll call the service and get the required data and display that in the datagrid.
I am using the getURL function in response to a button event. I need it to open the URL (absolute) in a new browser window, but I need the new browser window to open on top of the current browser window. Right now it's opening behind the current browser window. Below is my code:
on (release){ getURL("absolute URL here", "_blank"); }