ActionScript 3.0 :: Flash Player Permission Warning On Opening New Link Window
Oct 1, 2010
I am trying to add a link button to my facebook page on my profile website, but I get flash player's permission warning when I press button and open new link window. Is the only way to permit to goto link setting flash player's security option manually? or is there any way to do not show this warning and permit going throw?
I have l a flash file in my pages that links to other pages within my web site but when clicked they automatically open in another window. How can I link them without opening a new window as would happen with a normal web page link?
Here is my current Action Script code: index.addEventListener(MouseEvent.CLICK,indexbuttondown);
function indexbuttondown(event:MouseEvent):void { var bbcURL:URLRequest = new URLRequest("index.html"); navigateToURL(bbcURL); }
We have Flash movie in one domain and accessed from other Domain. The links in Flash movie was not working and with security restricitions we cannot use 'allowscriptaccess'. So, we used System.security.loadPolicyFile [URL]; and included the XML in our assets. This worked for the links to open in New Window. But, when the links were changed to open in the same window, the links are working in Flash Player versions till 9.2XIn the versions, 9.4X+, it is not working.
I'm building a CDROM using Flash CS3 but with Actionscript 2.0. There are videos that need to open in a new window with a Flash video component (on click ) within Flash and not in the browser. Also with the option of opening full screen
I'm primarily an HTML/CSS girl. I'm pretty new to Flash, and until recently have only worked from the timeline without using any action script other than stop(); and simple goto commands like gotoAndPlay(49);
This week, I needed a nav button to take the user into the site from the Flash intro; it's live at [URL]
Flash CS4, Action Script 3. Since I don't write Action Script - yet - and needed the link in a hurry, I Googled for the code. As you can see, it works fine, but the site opens in a new window, and I don't want it to do that, I want it in the same window.
The code is as follows:
clickToEnter.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); function mouseDownHandler(event:MouseEvent):void { navigateToURL(new URLRequest("http://www.deppimpersonator.com/cms")); }
I thought it might be the use of "new" in front of URLRequest, but of course when I took that out the link didn't work at all.
Blind experimentation produced two attempts that simply broke the link (don't laugh ):
[Code]...
What do I need to add (or remove) from this code? And is this the most efficient way to code an internal link?
In case this is browser-specific: I've only tested this in the latest versions of Firefox and Safari for Mac, OS X 10.6.2 (Snowleopard). It's the same in both browsers.
I've trawled the forums but still trying to get new browser window to open from my site so far have used Properties to add URL which works fine - but doesn't open a new browser window - not sure if this (text) needs to become a button with actions
But it keeps opening the link in a new window, how do I stop it from doing that so it opens in the same window the swf will be in? Where do I add target=_self?
i have the following code for a flash xml slideshow and would like the links to open in the same browser window.....i am fairly new at this so i am unsure about how to add the code to make it work....
what is the as for opening a sized window off a link. for example, clicking an image thumbnail, and it opens larger in a window that fits the picture. with no adress bar, or stuff like that.
Right now I have everything set up and linked correctly except when you click the button it opens up a new tab rather than just going straight to the suggested URLHere is the code I have now...
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage); function fl_ClickToGoToWebPage(event:MouseEvent):void {
I have made an mp3 player which works fine but I have one issue. Currently if you click on the speakers it will open the player in another window. way for the original player to stop playing and then new one which opens to continue playing.
The second player launches via a get url command, so I guess this might not work with what I am trying to achieve.
Here is the link to the file.
[URL]
The idea is for the original mp3 player to sit on the first page of a website and the second one to float when opened over the other pages the user navigates through.
I'm working on a portfolio in Flash CS3 and AS3. I'm trying to avoid doing the whole thing in Flash, so the home page is a CSS/HTML header page that will house a looping flash piece underneath the header, and the inner portfolio will be flash pieces brought into the same CSS header framework.I'd like to know what kind of code I need to use in the portolio flash navigation so that the "home" link will open the CSS/HTML home page in its same window, rather than launching another window. Is this something that can be done using AS3, or do I need javascrpt as well?
I need to open up a page within "youtube" from a clip used in a Flash movie. I have no problem with how to go about this it is just that with IE it won't let me open the link automatically - I get the "Pop up" warning spiel before the site can be opened. Is there any way I can do this seamlessly, from the movie, without requiring users to authorise security checks?
I have the following problem trying to open a new window from flash:
getURL(url, new_window, "POST")
What happened was that the first time I clicked the button, it opens a new window; but subsequent clicks seem to do nothing... No "post" is done and that window doesn't get refreshed.
I'm trying to figure out why my Flash button opens the link in a new browser tab, when it should just replace the page with the new one.
I'm using Flash CS4 with AS3 code, the button in Flash receives variables from an XML file and then knows what URL to pass when the user clicks the button. "Request" is the variable being passed for the URL. The website uses PHP and everything works except opening a new tab.
The main line of code for this is:
navigateToURL(request, '_blank'); [I know this WILL open new tab]
I have a flash code, in which i am loading images and opening urls through xml file, now it is opening in a different window(pop up window) but i want it to open in the same window.
var xmlReq:URLRequest = new URLRequest("XML/ImagesData01.xml"); var xmlLoader:URLLoader = new URLLoader(); xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded); xmlLoader.load(xmlReq);
Is it possible to open a cross domain pop up window from a flash button. Let's say something like this: ActionScript Code: on (release) { getURL ("javascript:NewWindow=window.open('[URL]','newWin','width=800,height=650,left=60,top=60,toolbar=No,location=No,scrollbars=no,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);"); } Is a button hosted in domain that links to a secure page in link. Will it work or will it get blocked by browsers or internal flash restrictions?
After searching for posting values from flash to php without opening new window.I found the answer in document. using sendToURL() method.Here is tutorial to pass data from flash as3 to php
I want to make an actionscript where, at the end of my Flash-movie, the Flash-window will close 'automatically' after the getURL-action is performed. Can someone tell me how to do this?Like, in the last frame, I got so far:
I want to make an actionscript where, at the end of my Flash-movie, the Flash-window will close 'automatically' after the getURL-action is performed. Can someone tell me how to do this?Like, in the last frame, I got so far: _______________________________________ stop(); getURL("http://www.somewhere.com"); _______________________________________
I'm working on a site that's intended to display full screen. At present the initial HTML page has a "launch site" link which pops up a fullscreen window (via javascript window.open) with our Flash content.Once in the Flash site, all URLs that point at off-site destinations are set to open in a new window ("_blank" as the target - either an href in text, or via navigateToUrl). In Mac Firefox the new window opens BEHIND the full-screen Flash (as a new tab in my case). In Windows FF and IE, and Mac Safari, the new window pops in front of the fullscreen Flash.Is there a way to make the non-fullscreen window pop in front of the fullscreen Flash? I'm using swfobject 2.1 - perhaps I need to use an externalInterface call...thoughts?
My company emails our Flash EXE files out to customers. Most of these Flash files use keyboard events to navigate through them, and they load external SWF and video files.So, obviously,I have to package all of my movie files, SWF, and the main EXE into the same folder.In the past, they have simply Zipped the file, emailed it out, and told them which file to open.
I am trying to find a way to take the entire folder and bundle it into a single EXE file.I need to find a permanent solution for opening the main Flash EXE file in a MAXIMIZED window. I don't mean fullscreen.I mean MAXIMIZED.In fullscreen, keyboard events don't work.But, they do in a Maximized window.
I made a simple website with a flash menu, that opens internal links in an iframe. However, I have a few other (not included in the menu) external links, which open in the same iframe. And after I click on one of them and it loads in the iframe, the buttons on the menu stop working. I'm beginning to think it has something to do with the internet explorer, since it works on some computers. But I'm not sure... not very good at this.
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
I'm making a Flash game which will be up on Facebook, I'm using Python/Django on the backend but to talk to Facebook. I use the Facebook Flash API. The problem is when I ask for extended permission from the user, using FBML. I get a link which I have to click and get the permission. How can I make sure a popup appears instead of the link. I'm using the following code.<fb:prompt-permission perms="publish_stream">permission</fb:prompt-permission>
I would like to update the swf player that I specify into FDT and what Flash IDE uses to play files, namely from Flash 10 to Flash 11 for Stage3d preview. How does one do this?
I'm a very new user to AS3 and I'm attempting to migrate a site from Flash CS3 to CS4 on a Mac. I keep getting the following compile warning: "Warning: Actions on button or movie clip instances are not supported in Action Script 3. All scripts on object instances will be ignored." This is very confusing to me. I thought that scripts could be attached to both frames and objects? Is this a bug that is a result of switching from versions? Or is this warning true; and I have to abandon all uses of attaching scripts to objects on the stage?
Also: Can anyone illuminate me on the keystroke to call the actions window in AS3? It is supposed to be the F9 function key and another that I can;t locate on my keyboard!? As I said,I'm a very new user, so be kind!!