ActionScript 2.0 :: Launching Popup From Transparent Flash File
Nov 8, 2006
Is there a way to launch a pop-up window from a transparent Flash file, without it getting blocked by the pop-up blocker? I know it's a security issue with the different browsers not to let you pop-up a window from a transparent .swf, but is there anyway around it? Like tricking the browser in anyway? I've tried everything I can think of, passing stuff to the html page with Javascript and then having the HTML page call the pop-up but that means that the page has to refresh then call the pop-up.
I want to open a simple pop up window on a user click in a flash movie. I can make it work from all browsers except Chrome (6.0.472.41 beta) which blocks the pop up. Here is an example: [URL] (click the black rect, to bring up a google page in a popup);
I am looking for the actionscript (or the tutorial) for a transparent flash pop-up. We all know them, those annoying commercial-popups that appear in the middle of your screen after 5 seconds and that stay on top of the website untill they close itself. Well, is there anyone who can tell me how to make such a transparent popup in flash? I mean, opening a new html-window in flash is so easy, but how do I open a new flash-movie (with transparent background) that stays on top of my page???for an example, go here. (I hope it appears on your screen, sometimes it does, sometimes it doesn't...)
I'm trying to make a modal pop up in my Flash application, not unlike the ASP.NET version seen here. I've already got the dialog box made, but I'm trying to add a semi-transparent gray rectangle over everything behind the pop-up, again like the one used in ASP.NET. Is there a way to do this in ActionScript? It needs to be semi-transparent, not fully, so you can still partially see what's behind it. I'm assuming you could apply this property to a Shape class somehow.
I need to popup some buttons in Flex 4. Users should be able to see the background (ideally a little faded, but not important) around and in between the buttons. And clicking anywhere except the buttons should dismiss them all.So I created a spark Panel and added a spark VGroup with some buttons. Then I call
I am using AS3 on a website. Part of the AS has been setup by an external source and I ma now updating and adapting it. My knowledge of AS is limited but slowly expanding.
Currently the site is a main flash file with all the content delivered via a main.as file and then populated via images and videos held in folders on the web.
In one section we have an email link.
I was using Email[url]... and it worked fine. It launched the email program and put the email address in ready to go.
When I added the subject element as below[url]...
it now does what it should with the email program but it also opens a blank webpage.
What can I do to get rid of the blank web page opening?
I have a button in my flex app that creates a popup overtop of everything. However, it seems like flex automatically puts this transparent overlay overtop of the stage when this happens. How do I disable this? I have tried contentBackgroundAlpha="0" and backgroundAlpha="0" with no luck. anyone know what the proper syntax is for disabling this transparency? I have been searching through the docs for a 30 minutes now looking for it.
I've made some games using Adobe Director and I would like to open them in a separate projector window.I tried attaching this code to my button.[code]I placed my .exe file in a folder named 'fscommand', that folder is in the same folder as my .fla and .swf files.It doesn't work, unfortunately. : When I click, nothing happens.
I want to open a pdf/excel/doc using flex, as all know we can use navigateToUrl(URL) method to open a file from the server. But my problem is those files are encrypted in the server, so I load the files as follows
ByteLoader = new URLLoader(); ByteLoader.dataFormat = URLLoaderDataFormat.BINARY; ByteLoader.load(new URLRequest (constructedURL));
so that I can manipulate them and can get the decrypted file. Now my question is, my data already got downloaded from the server, so how will I launch the files(pdf/doc/excel) with the binary content which I had got?
Is there anyway i can launch those files like we do it in navigateToURL()?
Is it possible to make flash file with transparent background. I want to make animated buttons on transparent background, so you can see background image in wordpress under the buttons.
If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?
I was wondering if anyone knows if you can create a flash file with a transparent background. Ultimately i would like to insert my flash file (which is a website) into dreamweaver but i want it to interact with my background image in dreamweaver (which fills the whole browser page edge to egde) so it shows through my flash file which will have an opaque backgorund?
can i have a transparent vedio file ( for example avi ) or any other accepted formats into flash ??? I'm using 3d studio to make some antimations and i need to add them on my flash movie and of course they should be transparent. if there is any way other than using a sequence of png image files (( which is a too stupid way because of the large number of frames )).
In my project, there is a frame(png files) placed on the top of all symbols. After that, I apply mouse click event to the symbols that place underneath the frame symbol, but when I run the the game, I cannot click to the below symbols but only the frame symbol, although the frame is transparent.
The problem is, although the png picture has some transparent area, the mouse click cannot pass through it. Is there solution? Is there anyway I can disable a symbol from being clicked and mouse click event can recognize the symbol placed under it?
I ve uploaded flash file with transparent background to my web page. Set background transparency in html code of page. Purpose of this flash is to represent main meny, so it contains few buttons, in up and over stage everything is ok but when i press mouse some strange doted line appears around flash, on click out of flash zone line disappear i want to remove that doted line.
I have one picture imported into flash cs4 and would like to make a rectangle box which should be transparent. Finally I will save it as .swf file for later use. But the box should be transparent (without any background). How can I do that?
I have some stock footage of smoke on a black background (.mov format) that I would like to convert to a flash file with a transparent background, which I will be overlaying over a PNG image on a webpage.
I have managed to remove the black background in After Effects using a plugin called UnMult, but when I try to render as a FLV file in AE, even though I check the option to preserve the alpha channel and encode using the On2 VP6 codec, I still get a black background.
So I am wondering what else to try, whether it be with AE or Flash CS4. Is there a way of achieving this effect by directly importing the MOV file into Flash CS4 and removing the black background there, or do I have to use AE, and if so, how to achieve the effect I am looking for?
I downloded and installed Trial version of Adobe Flash CS5 but when I try to launch it, it just does not launch. I don't get any error messages or any pop up.
i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){ getURL("folder/folder/file.htm","_self"); }
Hello Every Body. I have a problem launching flash cs5 and cs5.5 on windows vista home premium edition. When i launch it, the register screen appears(the one that tells the trial time left) but the flash main window always stays black (or white)and is not responding. I had it working about one week ago and i can't figure out what is the problem .It tried reinstalling couple of times without succes. I also tried deleting the left flash cs5 program files after uninstall but it didn't work . I would need your advice. Here is the screen as it appears:
launching word docs, powerpoints and pdfs from flash projectors on a CD. I've tried using -
fscommand("launch","mydoc.doc");
which does nothing. I've also tried as someone recommended, putting the files into a subfolder called "fscommand", that doesnt work either. Then I tried -
getURL("mydoc.doc");
which simply opens a web browser window then opens the folder where the file is stored rather than opening it. So to sum up, I want to make a flash projector on a CD which will launch those 3 file types with the click of a button.
i am trying to do a piece in flash and have figured out how to make it fun full screen...
now here's the problem, with Stage.scaleMode = "noScale"; on the first frame it doesn't really scale the swf...
what i really want to do is take Stage.scaleMode = "noScale"; out but then be able to see the swf play with out distortion... is that possible?
how do you go about retrieving the width and the height inside of the browser window and go about applying it in actionscript so the height is always 100% and the width is always scales proportionally so the swf doesn't get distorted?
I load a "cal" swf file in another swf files mdi_window. So the window is moveable inside the application. The issue is with the x y axis for the popups that open up in cal swf. The code for the function that opens popup is:
[CODE]...
The x & y axis of the popup act wired based on the location of the mdi_window in which the Cal.swf is being loaded. The x & y axis work fine if I move the mdi_window all the way on the top left corner of the application. The first image shows how the popup opens when I double-click on the 10:00 AM purple color event on my calendar.
and now when I move my window the popup moves to the side as well. I clicked on the same 10:00Am purple event again here: How can I solve this issue.
I am trying to create an Actionscript project in Flash Builder 4. However when I debug or run it always runs in the Flash IDE. I want it to run in the standalone flash debugger without the Flash IDE! This is driving me crazy. I'm on Mac if that makes a difference.
I installed Flash CS5 as a Trial and when I tried to launch it the error message appears on the screen:
Visual C++ Runtime Library Runtime Error This application has requested Runtime to terminated it in a unusual way. Please contact the applications support team for more information.
I already tried to re-install Vista again and even tried to install flash in XP with the same unsucess result.
I have a main flash movie, that launches an external swf. Now this works fine, but this external SWF, launches more external mini SWFs. What happens is that after going opening and closing these mini swfs, is that eventually the main swf, will start to to run beneath the the 1st external swf. i.e. I have a small animation that is suppose to stop and remain invisible until the secondary swf is closed.
But this is not the case, and very randomly this will start to happen, and it makes everything look like crap. At first I thought it was the fonts that I was using through out the swfs, because there were some design changes, but after updating the SWFs with the new embedded font I am still running into this issue. Look at it like this. main swf---->2nd swf--->numerous 3rd swfs
I have a flash website, and I want to put in a button that when onrelease is triggered will popup a window that I can play another movie in, I have the movie both as an .flv file and I have also converted it to a .swf movie as a seperate little movie, I could also convert it to another format if its easier, The movie size is only 320x240 in dimension.
I've read a Flash tutorial which states in order for your published swf. to have no background you have to:
File - Publish Settings - HTML tab - Windows Mode: Transparent Windowless - Publish
I have then exported the file as a swf. and mounted it in a HTML container expecting the Flash movie to have no background.This did not happen, there was a plain white background in the container instead.
I am loading an embeded swf file with SWFLoader using actionscript 3 in Flash Builder 4.5. When I load this swf and set "wmode" to "transparent" in HTML, it works as expected and you can see the background color through the swf object in HTML.
However, when I load the swf in Air with the following code:
[Embed(source="swf/data.swf")] var data:Class; swfLoader = new SWFLoader(); swfLoader.percentWidth = 100;