ActionScript 2.0 :: Does On Clip Event Pop Up Windown Not Work On Safari?
Jun 29, 2007
I'm using the following code...and it automatically launches a pop up with firefox and IE, but on safari, it don't work. What is going on? Any work around for this?
[Code]...
View 1 Replies
Similar Posts:
Aug 19, 2011
I'm triggering the appearance of a tooltip via MOUSE_OVER on a button and I'm finding it keeps getting triggered if I keep the mouse pointer over the tooltip. Both the tooltip and button are MovieClips
How can I prevent this?
Here's a snippet of my code:
for(var i:Number=0; i < MapContainer.numChildren; i++) {
var Country:MovieClip = MapContainer.getChildAt(i) as MovieClip;
if(Country){ // make sure its a movieclip
[Code]....
View 1 Replies
Apr 12, 2007
i followed the instructions oh how to make a centered pop up window here :i'm using a mac..nd it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up...why is that.......? did i do something wrong?here is my website:and please click on 'message' to see for yourself.
View 5 Replies
Jan 9, 2004
i followed the instructions oh how to make a centered pop up window here : [URL]
i'm using a mac... and it works in Safari... but when i try to use explore to open it, the pop up window doesn't come up..
here is my website: [URL] and please click on 'message' to see for yourself.
View 6 Replies
Jul 22, 2009
I have set wmode to transparent and it works fine in IE and FF but not in safari. Safari just gives me a white background.
View 3 Replies
Jul 26, 2010
I have a swf made in Flash CS4. It works fine in firefox and older versions of flash player in IE, but it doesn't work in recent versions of IE and Safari In this case just I can hear the music.
View 1 Replies
Feb 8, 2011
I've got a hyperlink with the target "_self" embedded in a text field and a hyperlink created with navigateToURL:
Code:
function callLink(event:MouseEvent):void
{
var request:URLRequest = new URLRequest(urlString);
try {
[Code]....
BTW: Using "_blank" as the target works in all browsers with deactivated Javascript.
View 6 Replies
Jul 8, 2005
How to make [open a new windown for a flash in a website]?how to make a windown for a flash (swf file), but the windown is without any contals bars at the top, for examlpe: like this website[ http:url.....], after u choose a region/ language, u will see a flash pop out, i want that kind of window.
View 8 Replies
Jan 15, 2010
I'm creating an Entry Page slideshow here with Flash Cs3 and AS2: [URL] I'd like to be able to click on the whole slideshow (or the "Enter Site" text) to go to another page on the site, which I'm calling "[URL]." I've read various tutorials all day and tried many things, but couldn't seem to apply any "on release" action to the "Enter Site" text that would work. I even created an invisible button (putting a keyframe on just the HIT state and deleting it from the UP state), named the instance "invbutton3", and then typed in this action on the first frame and inserted a keyframe at the end of the show:
[Code]....
View 5 Replies
Jan 13, 2011
I have implemented SWFAddress 2.4, it works perfectly in Chrome and Firefox on Mac. But in Safari 5.0.3 on Mac, the back button doesn't trigger the AddressChangeEvent. Deep linking works on Safari, just the back button doesn't.
View 1 Replies
Nov 17, 2010
The latest versions of firefox and Safari both cannot display email links. For some reason they don't parse ou the "mailto:".
View 5 Replies
Jul 27, 2011
These issues only appear on Safari and Firefox on Mac.I tested with Opera and Chrome and Windows (inc. IE), but they work fine.
Mac OS 10.6.8
Firefox 5.0.1
Safari 5.1
Flash CS5.5
1 Hiding the original black arrow cursor (Firefox only)When cursor rollovers to an Invisible button (oneBtn), I want to show custom cursor (newCursor) and hide mouse. But Firefox shows the custom cursor as well as the black arrow...
2. Mouse.show doesn't work only on Safari, Mac.When rollout to the invisible button (oneBtn), the custom cursor (newCursor) hides but the mouse doesn't appear. This happens only on Safari.
stop();
Mouse.show();
newCursor._visible = false;
[code].....
View 6 Replies
May 15, 2009
I have a very simple problem but I can't find the very simple solution to it. I've create an animated menu with animated movie clips inside to work as buttons. All the main buttons work perfectely but I've got just on button with a sub-menu. On this sub-menu I've placed an invisible hitarea button in order to place some gotoAndStop action. The thing is, it seems to me like this submenu hitarea are underneath something else (even though is the seccond layers right about the actions layers). I've placed a simple trace action whenever the mouse rolls over this area but I get nothing... Am I doing something really wrong? I'm losing all my hair already.
View 2 Replies
Nov 5, 2010
There is a bad gap in my knowledge with Event Dispatch and Event architecture, and this problem proves it. I've been getting nowhere on this problem for two days, I've posted everything to my Flash site. Go here, please: [URL] Click on "Flash Banners" The two thumbnails represent two different classes. Each class is identical. Both are "extends Movie Clip" classes. Tweeners of various types control the hover and click methods. URL Loaders load the thumnails which I then wrap in MC's and make them buttonMode = true, etc. Hover and click to load the Banners on the thumbnails.
I can't send an event from the Eagle movie clip or the T2D movie clip to tell the other to fade out. Both Banner classes are instantiated through a separate Base class. I'm sure this has to be an Event Dispatch from one MC to another and that it can't be done by the Base class. how I can send an Event or Event Dispatch and what the code structure is so one movie clip can in one class can tell the other movie clip in the other class to disappear while it's neighbour is playing. I'm happy to post code or explain / clarify anything that's not clear.
View 1 Replies
May 27, 2008
ive got a slider menu which opens when clicked. however the buttons (also mc instanced) inside the slider mc wont work... here is the code:
[Code]....
the slider mc works however i cant seem to get the 'web_MC' to respond..
View 3 Replies
Oct 23, 2009
I am trying to get this simple event listener to work.
function moveBoarder(boarder:MovieClip, movement:Number, rotationAmt:Number):void
{
boarder.y -= movement;
boarder.rotation += rotationAmt;
[code]...
understand this error message "ArgumentError: Error #1063: Argument count mismatch on making_modular_fla::MainTimeline/moveBoarder(). Expected 3, got 1."
View 1 Replies
Jan 5, 2007
Im trying to work with the Event class in actionscript 2.0 but its not working. Im actually working on xmlsockets. I have imported the xmlsocket library but it failed to load.
View 1 Replies
May 5, 2010
I'm attempting to initiate a set of variables within a movie clip myElement as soon as it's dynamically loaded onto the stage:
frame1 within myElement:
PHP Code:
this.addEventListener(Event.ADDED_TO_STAGE, initiateVars); function initiateVars(ev:Event):void{ var currentY:int = this.y; var currentX:int = this.x; }
I'm trying to make this happen only once, and only when myElement is first placed on stage, but the code above doesn't work. Am I misusing the ADDED_TO_STAGE event?
View 7 Replies
Aug 4, 2010
I have an issue in handling the F5(Refresh) option in IE8 using FLEX. As i got some code by surfing..which is as follows
public function handleKeyDown(event:KeyboardEvent) :void
{
display.text = "Key was pressed: " + event.keyCode;
}
]]>
The main intention of the code is to handle F5(refresh) event. It works fine in Mozilla, GoogleChrome but not in IE8. When i execute the code in IE8 before the event handle by the FLEX the browser is handling the event.
View 1 Replies
Aug 31, 2009
I'm creating a minesweeper game as my first flash project, but I'm already stuck on something technical. I have created a button named Button which contains a bitmap. I have a lot of instances of that button on stage, and they are put there by actionscript using a for-loop. Their instance names are button0, button1, button2, button3, etc.
This is the code for the eventlistener: It's in the first keyframe of the actions layer.
var buttonListener:Object=new Object();
buttonListener.click=function(evt:Object):Void{
trace("clicked");
} for (i=0; i<rows*cols; i++) {
eval("button"+i).addEventListener("click", buttonListener);
}
I also noticed that when I do this for one button that I created myself and put on the stage manually, this also doesn't work, but when I pick one of the predefined buttons, it works just fine.
View 0 Replies
Sep 15, 2009
I am loading files via flash+php and I can't get the progress bar or completing event to work....and I am sure the solution is simple.
ActionScript Code:
System.security.allowDomain("http://ftp.fakename.com/");
import flash.net.FileReference;[[code]..........
View 0 Replies
May 3, 2010
Just using the script below to output the key that is pressed in the output but I get the "Cannot access a property or method of a null object reference." warning on the addEventListener line, which I assume is because of the "stage" var. How do I correct that?
Code:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="#123456" creationComplete="init();">[code].............
View 9 Replies
Aug 22, 2006
[Code]...
The mouseOver event doesn't work should be pretty basic but... y'know it's flash and that which should be simple is usually a PIA when you're an actionscript beginner
View 1 Replies
Nov 26, 2006
I decided to pick up a copy of O'reilly Actionscript 3 Cookbook today, and I have been going through. One of the first examples it has for keyboard events is:[code]But for some reason it will not work. According to the book stage.focus = this; is all you need for keyboard events to work, am i doing something wrong?
View 8 Replies
Jun 1, 2007
I'm dynamically creating movieclips and using loadMovie to load jpg images from an xml file. But I cannot get the onRollOver, or any other event handler to work. Here is my code:
Code:
var images:XML = new XML();
images.ignoreWhite = true;
images.onLoad = function(success:Boolean):Void {
[Code].....
I used the home_mc._x and home_mc._rotation to let me see all the photos and try the onRollOvers and test to see if they all got loaded, which they did just fine.
View 10 Replies
Feb 1, 2009
I am having trouble getting a simple event listener class to work. The class is:
Code:
package {
import flash.display.Sprite;
import flash.events.*;
[code]...
and I have the ClassPath pointing to the folder that contains this .as file. I do get the trace "In setUp" but I'm not getting seeing any Keyboard events. There also aren't any errors showing up in output so I am kind of stumped.
View 1 Replies
Apr 10, 2010
Sound object. Event complete doesn't work
function init() {
this.soundsArray[i-1].addEventListener(Event.COMPLETE, completeSoundHandler);
this.soundsArray[i-1].play();
this.blHit=false;
} function completeSoundHandler():void {
[Code] .....
View 1 Replies
Mar 28, 2011
I've got 2 AS3 files going here, the document file "Main" and a "Fence" file..[code]For some reason the ping comes up, but the pong doesn't, it's starting to bug me now that the "onFenceAdded" wont even work, what have I missed? Is there some way to check if Flash is compiling correctly? I often find these weird problems where I'm sure I've done it all correct, but when I try to compile and run a swf it wont work!
View 11 Replies
Mar 27, 2010
the custom cursor is a sprite. using it to click another sprite no longer triggers the MouseEvent.Click event. it looks like my custom cursor is being clicked on the sprite i want to click
Is there something i need to enable?
View 1 Replies
Apr 6, 2010
I have a CustomTextInput component based on TextInput (Spark) component. The instance of this class is placed on a popup window (TitleWindow). How can I capture the popup move (dragging the title) event inside CustomTextInput implementation?
MoveEvent.MOVE event of the CustomTextInput itself doesn't work. Of course, I can't access the parent popup window inside the component implementation, because it's a common component that can be used not only on the popup windows.
View 1 Replies