Cannot close pop-up with getURL

FLASH

    Next

  • 1. loading one movie clip at a time. please help
    Hello, if anyone can please help me I would really appreciate it. I have a template that I am trying to change around. I have 5 navigation tabs on top and in each one I want a different movie clip to play as I click on the navigation bar. How can i do that? I have the first one ok but when I click on another one , they all start playing at the same time. Its an avi file. I imported it by doing, insert new sympol, movie clip. I need to that when I click on each navigation tab, only that movie clip loads? :confused;
  • 2. Limits to function...?
    How can I limit my button to not "open" (meaning I open even though it is ALREADY opened), and not "close" when already closed. Code: //this function drops the interface down from the top on click of "open" text. interMain.mainIntOpen.onRelease = function() { tweenMenuOpen(); }; //this function brings the interface up from the down postion on click of "closed" text. interMain.mainIntClose.onRelease = function() { tweenMenuClose(); }; var begin:Number = 47;//starting point in the y axis var end:Number = 80;//end point in y axis var time:Number = .5;//speed of transition in seconds var mc:String = interMain;//name of movieclip that drops down //function to drop the interface down from top function tweenMenuOpen() { easeType = mx.transitions.easing.Strong.easeOut; menuTween = new mx.transitions.Tween(mc, "_y", easeType, begin, end, time, true); }; //function to raise "roll-up" the interface from the bottom. function tweenMenuClose() { easeType2 = mx.transitions.easing.Strong.easeOut; menuTween2 = new mx.transitions.Tween(mc, "_y", easeType, end, begin, time, true); }; I was thinking of something like an if statement using the _y pos? if _y pos = begin then... I go blank there...
  • 3. Help with condition statement please
    I am sending commands to the root timeline from within a movie clip on the root timeline. What I want it to do is when the movie clip is clicked (released) the root timeline begins playing (from where it was previously stopped) then, when the root timeline gets to frame 120, I want the playhead to go back to frame 68 and stop. My code gets the timeline to start playing ok but when it gets to 120....it just keeps going and does not return to 68 as wished. Below is one of several versions of the code I have tried, none of which have worked. Can someone please tell me what I am doing wrong here? Thank you. Ken on (release) { _root.play(); { if (_root._totalframes == 120) gotoAndStop(68); } }
  • 4. back button setup
    I have to setup a navigation that is similar to having a back button in a browser. Im not sure exactly how to do this. It appears to sound pretty dynamic. 1. The user can select one of 12 options 2. then another 12 (btns) options replace the prior. 3. There are two other buttons - very beginning of the options (like a home) and a back one level button The problem im having is if I use multiple mcs (and just goto a frame when something is selected) how does my back button remember what exact mc was last (and for that matter what frame in that mc) and the one before that and so on - all the way back to the beginning of the options?
  • 5. Urgent Quiz problem!!!! :(
    Hi I have created with FLASH, a quiz template. I have the classic 8 interactions. There is a NEXT button that evaluates wether the question was answer or not. This "next button" needs to start in the frame number 1, and I need to insert more frames BEFORE the evaluation. When I insert more frames before the quiz, then, when I want to evaluate, it returns to the first frame that I have insert. So I cant evaluate.. How can i resolve this problem? How can I insert more frames BEFORE without affect his normal functionality (quiz template)? any ideas? please help!! thanks

Cannot close pop-up with getURL

Postby The Accuser » Fri, 10 Feb 2006 07:06:25 GMT

I'm trying to do the following:

1. Navigate to a html with embeded swf POPPER.SWF>
2. POPPER.SWF automatically opens a movie CONTENT.SWF.
3. QUIT BUTTON on CONTENT.SWF should close CONTENT.SWF.

I have tried using:

1. getURL("javascript.close();");
2. getURL("javascript:window.opener=self;window.close();");
3. getURL("javascript:window.close();");
4. getURL("javascript:self.close();");

What's going on? I know there's  a security restriciton in javascript 
that the close method will only close pop-ups openned by javascript 
without a prompt, but none of these seem to work.

I can open the pop-up just fine, it's only the closing that's a problem.

Ideas?

Similar Threads:

1.ZoneAlarm, pls: 1) stop flashing alerts (not pop-ups), 2) how to shut off splash screen,

Although it's very easy to stop the alert popup windows by a simple
de-selection, is there any way to stop that extremely annoying and
aggravating flashing flag right over ZAs icon in the systray??  It
interferes with the flashing messaging system I use that sits to the
right of it when a message comes in.  Hoping this one is definitely
possible.

Also, now that I have broadband, I have ZoneAlarm set up to launch on
startup.  Any way to get rid of that annoying splash screen?  It takes
way too long.  Nowhere near as bad as the blinking alert flag but it'd
be nice to get rid of, too.

Thanks!

2.Flash pop ups

If I have a flash document, how can I make that a pop-up to my dreamweaver 
site?  I was wondering how to make one document pop on top of another...I know 
how to make dialog boxes in Dreamweaver.  Also, how do you make it so the 
toolbars do not appear in the pop up window?  Thanks.

3.Frameless Flash Pop Ups

We've all seen them... the annoying flash popups on web sites like weather.com 
and yahoo.com. They appear to 'hover' over the web page. My question is, how do 
they do that? Is it done within the page coding or with the flash swiff? I'd 
like to incorporate something similar on an .asp page. What would be the 
easiest way be to accomplish this?

4.Tables, Pop ups, Flash and Dreamweaver...

I have created an image in Photoshop for use as a web interface template.  I 
brought the file into Fireworks and sliced it as necessary to fit the interface 
framework (table).  I then created rollover buttons with Pop-up menus that 
fly-out over a ?large cell? in the table for the main content to appear.  This 
all looks good when previewed as created in Fireworks.  

 I opened the file in Dreamweaver and replaced the ?large cell? with a .swf 
file. The issue is that when I fill the large cell of the table with a Flash 
slideshow (.swf file) the Pop-up menus are behind the cell with the slideshow.  
I have tried re-layering using z-index method, which I admittedly do not 
understand very well, and this does not seem to affect the result.  I have come 
to a stand-still with this website until this issue is resolved.  Any advice or 
suggestions would be appreciated!
 :confused;

5.Need help with spawning Pop-Ups - Please

6. IE blocking Flash pop-ups

7. Problems with Flash buttons and pop-ups

8. html pop ups



Return to FLASH

 

Who is online

Users browsing this forum: No registered users and 54 guest