ActionScript 2.0 :: Checking If Popup Has Opened?
Oct 3, 2005
I've got a bit of code that opens a popup, then tries to send info to it using localConnection. It's not working, is it because it's sending the connection too early? How can I make it check that the window is open before I send it?
[Code].....
View 3 Replies
Similar Posts:
Nov 17, 2011
I have my html where I embed third-party flash video by means of iframe. When I click play on the video a popup is opened. I was wondering id there is a way to add a javascript function to my html that would close such a popup immediately when it is opened?
View 1 Replies
Mar 4, 2011
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?
View 1 Replies
Jul 6, 2004
i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.
View 1 Replies
Dec 12, 2011
I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 Replies
Dec 7, 2010
I have a web application which contains a data grid. Double clicking on any row of that grid will open a popup (lets call it popup1). Now this popup1 again opens a new popup(lets call it popup2). When I close the popup2, I need pass an Object to popup1. Which is the easiest way to do that?
(PS: While opening popup2 from popup1, I am adding an event listener on Close event of popup2)
View 3 Replies
Jul 7, 2011
I have a parsley popup that can create another popup.The issue comes when I close the root popup, when I open the popup again and click on the child popup, it's actually opening 2 child popups.Any idea why this thing happen?
<parsley:PopUp open="{presenter.scenarioCreatePopup}" modal="true" center="true" reuse="false" id="hem" >
<views:ScenarioView width="100%" height="100%" id="scenarioView"/>
[code].....
View 1 Replies
Feb 8, 2010
I have some problems with flash display in the browser. If i open with the browser a file .swf it appears smaller than the original version. I can see it in the correct dimensions only if I use the Full Sceen option (F11). How can I correct this problem to let the user get the original version?
View 3 Replies
Feb 17, 2009
I had written movie player for my website few months ago and I'm upgrading it by adding some new functionality from time to time. Not long ago I've observed quite curious behavior of my browser. If my site is opened in one of tabs in browser, the cursor is blinking, from arrow to handcursor, when I'm rolling over links. Interesting is that it happens in every tab opened in browser, if only one of them contains my website. Closing my site returns every other tab to normality. I tried opening my site with blocked this one .swf file (my player) and also was everything ok. I've tested this on few different browsers and systems and it seems to happen in MacOS (tested in Safari, FF2, FF3 and Opera) Windows (in FF2, FF3, Safari, Opera IE6, IE7 and Chrome), no matter if installed version of FlashPlayer is 9 or 10. On Ubuntu Linux it doesn't happen in FF3, nor in Opera (only this two browsers tested).
I've built my player in Flash CS3, using AS2. Unfortunately, I don't know in which version of my application the problem has occurred. Of course I could examine whole code line by line, but that's about 2.5k lines and it is not the work I want to do if not necessary... I've searched lot of forums, but I found solution nowhere. Maybe someone had spotted such a strange browser behavior or simply does know, what may cause it?
The problematic site is [URL]. If you want, open it in one of tabs and try to play with links in other, you'll see what I'm writing about.
View 2 Replies
Mar 14, 2012
I'm setting up a scenario with 12 doors, each with unique (but not sequential) instance names. I've set up a variable that, when a door is clicked, it takes on the instance name of that door. This is working.When clicked, the door movieclip plays to a midpoint in it's own timeline and stops (open position). You can close it by clicking the now opened door which returns it to frame one of it's timeline.Now, I'm trying to make the next door clicked check first to see if the previously clicked door is still open. If it is, it will make the previously open door play() <----- this will hit the end of the open door's timeline which resets it to frame one > and then play itself and set it's instance name as the new "lastOpened" door variable.I was able to manually do it (trying to avoid overlap with neighboring doors) by just directly referring to the instance names so I thought it'd be as simple as dropping the instance name and referring to the variable.[code]
View 3 Replies
Oct 18, 2010
I have built my site in CS3 and I have used a loader. On my site I have embedded video links, when the other video links are pressed, the audio from the prior swf keeps playing.
[URL]
the videos are in the TV Section.
View 1 Replies
Jan 13, 2009
In an flash template / website I want to include one button which when clicked opened the [URL].. site to make payment ( to my paypal account) and after making payment the user will come back to this flash template / website to download one pdf file. Is it possible? If yes then what will be the most possible way to do this? I have no idea how to make payment [URL]..
View 4 Replies
Jan 25, 2004
Is there a way to make a loader for a swf that has already been opened but has a:
on (release) {
loadMovie('movie.swf', 2);
}
on a button?
see, the 'movie.swf' file is rather large in this case, and I don't want the person to think something is wrong. Also, ANOTHER problem is that the movie.swf file was created from an imbeded .fla that no longer exists. So it's stuck just being the movie that it is. I also can't import it to another .fla b/c it just shows up as blank keyframes.
View 1 Replies
Aug 31, 2010
I have made my flash banner, when I open it it's cropped at the right size, however if I click and drag the window to make it bigger then I can see everything which is off the stage. Is this normal? Or am I missing some kind of last stage in the design process where I have to hide everything or crop the banner? Just want to make sure the banner is prepared properly before giving to the client.
View 3 Replies
Jul 21, 2009
If i open .as file (or something else) in Notepad++ and select any variable or some other text, it will highlight all of the occurences of this variable in text of this opened document. And you can quickly see where this variable have assignemnts and so on. But in Flash CS3 i can only use standard Find dialog to search throug opened .as file and it finds only one occurence, then you hit "Find Next" and you've got another. Not so comfortable. So does that feature exist in Flash CS IDE, or something similar? (i can't find that)
View 1 Replies
May 12, 2010
The main problem is the page needs to be pushed down when the ad is opened, there needs to be a a code that will push the page down, not cover it up...
View 1 Replies
May 23, 2010
I have buttons that load SWF files. when i test the SWF they have a solid background. However, if i use a button to open the swf they have transparent/no background, yet you can still see the contents of the swf.
How do i get the SWF to have a solid background when opened by buttons?
View 1 Replies
Aug 24, 2010
I couldn't find where to clear the recently opened files. Where do I do that in Flash CS4?
View 2 Replies
Sep 21, 2010
After solving an important issue about the audio conference, i have another doubt. The question is, when the user enter in the conference, how can i get the opened streams of the server, in order to automatically let the attendee hear the presenter?
View 1 Replies
Sep 27, 2011
My Flex application is one consisting of several "subapps". Basically, the main application area is an ApplicationControlBar with buttons for each of the subapps. The rest of the area is a canvas where the subapps are displayed.Only one subapp is visible at a time. When switching between subapps, we do a canvas.removeAllChildren(), then canvas.addChild(subAppSwitchedTo).It's essentially a manual implementation of a ViewStack (the pros and cons of which are not the topic of this, so refrain from commenting on this).In one of my subapps (let's say subapp "A"), I have a search function where results are displayed in a TitleWindow that gets popped up. Workflow is like enter search criteria, click search button, TitleWindow pops up with results (multiple selection datagrid), choose desired result(s), click OK, popup goes away (PopUpManager.removePopUp), and continue working. This all works fine. The problem is if I switch to a different subapp (say "B" -- where A gets removeAllChildren()'d and B gets added), then switch back to A and search again, when the results TitleWindow pops open, there will be TWO stacked on top of each other. If I continue to navigate away and back to A, every time I search, there will be an additional popup in the "stack" of popups (one for each time A gets addChild()'d).
I'm not sure what to do about it and it's causing a serious usability bug in my application.It's like I somehow need to flush the PopUpManager or something (even though I'm correctly calling removePopUp() to remove the TitleWindow).[code]
View 2 Replies
Feb 24, 2009
I'm doing this project for a school competition, I'm nearly done but I'm having some XML trouble. I have a custom quiz, which is an external swf loaded into another swf on a certain button click. The Questions from the quiz always loads properly, but the answers only load the first time the swf is opened. Every other time, the "Answer Placeholder" text shows up instead. This can be seen at [URL], scroll over the arrows on the side of the page, and then click on "Quiz". It may work the first time, but after a page refresh, just the placeholders again.
[Code]...
View 3 Replies
Dec 14, 2009
I successfully built a XML gallery; everything seems to work fine. But everytime I click on a thumbnail, I will get the following error:Error: Error #2029: This URLStream object does not have a stream opened.I researched on this error, and it seems this error involves sounds. Something about trying to load something that's already fully loaded. Therefore, I'm confused since I don't have any sound in my gallery. On top of that, the gallery works just fine but this error keeps popping up in Flash.[code]
View 1 Replies
Aug 21, 2004
some may know im building a hell-of-a-component. which basically types text. i figured out how to get a movieclip to act as a cursor. but now that my list of options/attributes/settings or whatever you want to call them are so huge, i decided i really had to make a custom UI. now ive done most of it now (hence the array.sort() question earlier - thanks sen! ) but i want to be able to preview what the current cursor is (if they choose to use a movieclip!).
the path of the movieclip to be used as a cursor is, from within the component is: Typr.cursorMC i tried using xch.Typr.cursorMC but that didnt work and ive no idea how i could link in with a currently open flash document. or if its even possible.
View 1 Replies
May 29, 2009
I have a button with a movie clip animation in it, and I finally have it all working just how I want, but one thing.it always plays the animation when I first open it and test it in a browser and the flash player.The button scales out an image to a larger image when you hover over it so when I open it in a browser/flash player the larger scaled out animation plays down to its original size.how can I can make my button not play the animation when its first opened in a browser?
View 5 Replies
Nov 3, 2009
Has anyone else had a problem in CS4 where some shape tweens disappear when a .fla file is closed and then re-opened?
View 9 Replies
Oct 16, 2010
How can I hide a movie clip (HideMe_mc) which is on Stage when I open my .SWF file? User can unhide it whenever he required.
View 1 Replies
Jun 13, 2011
I made a little trivia game that loads questions from an xml file. The problem is, if you leave the app and come back to it, it starts you back at the start screen again. Is there anyway to overwrite this, or is it the same as refreshing a browser page with a Flash animation on it, it'll always keep restarting?
View 5 Replies
Oct 11, 2011
For example, a book designed as a note.
View 2 Replies
Nov 21, 2011
Firstly, although I've been using Flash on and off for years (since CS3) I don't use it very often so I apologise if my issue seems simplistic.Basically, I used Flash CS3 for a few years to create basic animations for clients, involving simple scrolling text, without any problems.Recently I upgraded to the CS4 Master Suite and then CS5 Master Suite within a couple of days of each other and I now need to use Flash to make a change to an old animation.When I opened the CS3 file it appears as expected and I made the changes to the text (changing a word or two within a line of type).When I right clicked on the type relevant frames within the timeline I noticed that there is now more than one version of tween available, and that classic tween was already selected (I think I better buy a new teach yourself Flash CS5 book!)
Anyway, that was allI needed to do so I initially pressed return and the text scrolled across the stage as expected.But when I clicked on CONTROL / TEST MOVIE / TEST (or cmd+Return on my Mac) the SWF file that appears is static and the text does not scroll at all.If I publish the movie using Actionscript 3 or 2 the resulting SWF file is also totally static. But if I drop the SWF file into the relevant website folder and view it through Dreamweaver's browser view facility it works perfectly and scrolls just as expected.Equally, opening it using the Opera browser works too.
I've tried altering the CS3 file and testing the movie in Flash CS4 and Flash CS5 but the same thing happens.It's a bit time wasting and inefficient wanting to test an animation as a SWF file by double clicking on it and only being shown a static image.Is this a well known problem as I couldn't find any mention of it during my search?
View 2 Replies
Apr 7, 2012
have doing my project in flash cs5.5. But then suddenly my file cannot open it.It appear like this "an error occurred opening file C:....menu.fla" and also "Flash cannot parse this document." "The following JavaScript error(s) occurred:".
View 1 Replies