So here I was creating an HTML menupage for a presentation that uses flash animations. I am using this code :
<a href="url" target="_blank></a>
Now as you seem the target="_blank" opens a new internet explorer window. What I want to do is to open my presentations into a SWF window. Is that possible?
I am trying to make a webpage in flash and I´m almost finished. However my problem is this: I have a page with 6 text links and when clicked I want them to open an html file in a new window. Here is the code
christian.addEventListener(MouseEvent.CLICK,onMouseClick);function onMouseClick(e:MouseEvent):void{ var request:URLRequest = new URLRequest("christian.html"); navigateToURL(request,"_blank");} This works fine, but how to I code the 5 other pages?
My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of <a> (anchor) tags (of course).I am attempting to open a new customized browser window whenever a user clicks on a displayed link. So far, I am able to open a window, but the customizing attributes ("width=600,..." etc.) are ignored.Rather than displaying for you the one dozen variations I have (unsuccessfully) attempted, does anyone have a simple example of something that actually works?
How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
var link7:URLRequest=new URLRequest("videos/december.html"); videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7); function buttonClicked7(event:MouseEvent):void { navigateToURL(link7); }
What I want is to be able to insert a button into the flash document, and when someone clicks it, to have it open a new window and go to a certain url. To see what I am kind of talking about, go to my website, where I have the flash document without any kind of interactivity. It is the "Connect with TFC" flash file, on the right side of the page.
1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]
I have a flash video playing on an html page. Is there a way to turn the sound off of the flash video from a link outside the SWF file (on the html page)? I want to open a new pop-up window with a new flash file and turn off the sounds on video playing on the starting page, with an html or java script link.
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 can open a new window using window.open() in ExternalInterface.call() but then I want to be able to write contents to the new window. Since, I cannot get the reference of the window back from window.open() call, I am not able to do anything to the window once it is opened.
I do not have any control over the HTML in which my swf is displayed.
Has anyone been in this situation before?
Update: After a few hours of trial and error I found you can get out of this situation by storing your window reference globally and referring to the same global reference whenever you need to access the new window.
Is there any way to have as3 'listen' for a window to be opened anywhere from the _parent page?I have a Flash animation running with sound on my _parent html page. There are html links elsewhere on the page that will open up other sites. I would like these sites to open in a _blank window rather than the _parent, but to make this practical I need the sound in my flash animation to shut off when this happens. (as there is sound on the other pages as well).It would be really cool if the sound on the _parent page would turn back on when the user closes the new window, although this would complicate things as it is possible the user may open multiple windows so the code would have to keep a count of windows opened.
I have loaded a HTML file dynamically into Flash. As you know, if I have a link like <a href="URL">TEXT</a> when the users click TEXT the broswer will load URL on the same window. However, what do I do so that the URL can be opened on a new window. This problem only occurs in firefox...
I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?
It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.
I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.
I am trying to get a html popup window to open when my movie hits a certain frame instead of a button. Im using the following code but it uses a button instead of a frame to open the popup.
on (release) { customize the window that gets opened 0 equals NO.[code]........
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've been tasked with making a fairly simple Flash presentation that will be published to an exe and put onto a jump drive. I've done this before and at the time I just used the getURL command (IIRC) to open a PDF with a button click. I literally have 100's of PDFs to link to so I was wondering if there is a better way to do it (before I start using my old method) I'm using AS3 in Flash CS5. And I am NOT a big Flash user so maybe I just need to resort to the way i did it last time. Was just thinking there might be a more elegant way to approach this...that a novice could handle.
I'm trying to open a centered popup from a executable presentation. I'm using javascript but it opens a bigger window behind the running presentation! the presentation is fullscreen!
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?
I'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.
I have a .swf movie that is accessed through a link on a website. At the end of the movie are two buttons: one for "Back" and the other for "Replay." I have the buttons working so the Back button goes to the previous URL and the Replay button, well, replays. However, the Back button opens a new window. Is there a piece of Action Script 3 that I can add to the following to close the window in my .fla Action Script Window to close the window as it jumps to the URL? Here is the script.
In Flex Air app, how do you open a window behind an active one?
I tried following and i can't seem to get it to work
[Code]...
With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?