ActionScript 3.0 :: Java ExternalInterface Doesn't Communicate With Swf In Firefox & Safari?

Aug 5, 2010

I have two swf files: swf_sender and swf_receiver. The swf_sender controls the swf_receiver via java script.Everything works fine in IE however, the swf_receiver doesn't receive communication from java script if openned by Safari or Firefox.The first part of communication: swf_sender - Java works ok (I tested it with alert() in Java) in all browsers.Here is my Java interface code:

Code:
<script type="text/javascript">
function getFlashMovie(movieName) {

[code].....

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Mouse.Show Doesn't Work On Safari(Mac) And Mouse.hide On Firefox

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

ActionScript 3.0 :: Safari 4.0.3 (Snow Leopard) ExternalInterface Crash

Sep 6, 2009

The ExternalInterface callbacks on several sites that I've setup have begun crashing the new Safari shipping with Snow Leopard.

View 4 Replies

ActionScript 2.0 :: Alternative To ExternalInterface.addCallback() To Communicate With The Javascript

Feb 21, 2009

Any alternative to ExternalInterface.addCallback() to communicate with the javascript

View 2 Replies

Javascript :: Flex ExternalInterface Not Firing In Safari (works Everwhere Else)?

Aug 7, 2010

I know there have been other questions on getting JavaScript / Flex ExternalInterface to play nicely, but I've what I think is a weird one. It works perfectly in every browser except Safari (on a Mac). Chrome, IE, Firefox - all ok, but Safari, nope it just wont fire.I've copied my code below, can anyone see why it doesn't work in Safari pls ?(the 'are you sure' dialog window appears in Safari but the method in the Flex app just doesn't get called)

Flex code :
if(ExternalInterface.available){
ExternalInterface.addCallback("flexShutdownHandler",flexShutdownHandler);

[code].....

View 1 Replies

Pages Blinking In Firefox & Safari?

Jun 3, 2009

When I go back and forth between pages they "blink" in FF & in Safari. For once IE is working how I would like it to and FireFox is not  Here is my url:  [URL]... I have a .swf file for the "icon rollovers" on the left hand side that I think is causing the problem.

View 2 Replies

Javascript :: Allowing Flash Movie To Communicate To Containing Window Without Exposing Full ExternalInterface?

Oct 14, 2011

I'm working on a site that allows administrators to upload arbitrary SWFs and embed them on the page. Administrators are in theory trusted, but I still want to protect against potentially malicious administrators or misguided administrators from harming the site.

A part of the functionality of the site is that the SWFs can communicate to the containing browser page when it's finished and for the page to react.

Now, I can think of two ways to do this:

Use ExternalInterface.addCallback to create a global callback named something like isComplete that does logic and returns true or false depending on whether the Flash app is in a completed state. Then, just do something like setTimeout to just call that function repeatedly. I don't think this would require me to open up allowscriptaccess to the movie. Embed the movie with allowscriptaccess and have the movie call something like ExternalInterface.call('done') when it's finished. This option seems like it requires me to open up allowscriptaccess, which is a potential threat since I can't control the SWFs that would be embedded with this directive.

View 1 Replies

ActionScript 2.0 :: Text Color Changes In IE But Not In Firefox And Safari

Jan 19, 2009

I have a banner container with buttons that rotates multiple banners. Each banner has specific buttons for each with text that changes color when the banner is active.[code]...

The problem: The text color changes in IE, but not in Firefox and Safari. And the weird thing is I tested in other computers and some will work in all browsers and some only works in IE. Everything works ok when tested locally.

View 1 Replies

Firefox Is Compressing My Flash Movie, But On Safari?

Nov 19, 2009

when i view my flash file in firefox 3.5.5, it compresses my flash movie smaller and quality looks pretty bad. In Safari, it is fine. I tried publishing as "exact pixels" instead of match movie and set scale at exact fit.
 
update: now firefox is cropping my flash movie....but safari looks fine

View 1 Replies

Professional :: Swf Gallery Won't Play In Safari Or IE Only FireFox?

Jul 15, 2010

I have a flash gallery I created using Flash CS4 and Actionscript 3. It plays perfectly in FireFox, but in IE and Safari it just shows me a blank space on the page where the gallery should be. As a test I uninstalled Flash Player, and FireFox and Safari showed me the message that a newer version of Flash was needed along with a link to get it, but IE showed nothing. Now that Flash is re-installed, only FireFox actually loads/plays the gallery. With IE it doesn' tmatter if I use the 32-bit or 64-bit, or if compatibility mode is on or off. I tried republishing with Flash 9 set instead of Flash 10, but that made no difference. It fails with the HTML file generated out of Flash, as well as the page I created in Dreamweaver and used the Insert Media command to insert the .swf:

[Code]...

View 1 Replies

Professional :: Mouse Cursor For Firefox/Safari Bug?

Aug 9, 2011

My mouse cursor doesn't change when using mc.buttonMode = true; either doesn't Mouse.hide(); work,
 
Chrome 12.0 Works
Firefox 5.0.1 Don't work
Safari 5.1 Don't work

View 1 Replies

ActionScript 3.0 :: URLLoader Not Working With Firefox Or Safari

Sep 18, 2009

i have this problem, the urlloader is supposed to stream some binary data to the server (upload) but it doesn't seem to work with anything except Internet Explorer!
I have tried it with Safari (only on mac!) on Firefox (on mac and on windows!) and on Chrome![URL] and these source is:

[Code]....

View 1 Replies

ActionScript 2.0 :: XML Stops Loading For Firefox And Safari?

Mar 4, 2008

I load images from an XML file and sometimes everything would load up just fine, but there are times when flash would stop loading in the middle of my my list...

[URL]

On firefox, all items usually would load up all the time but there are occassions where it would only load 3 out of 8 or some anywhere before it's suppose to finish. If you keep hitting refresh on the link i posted, you'll see. its even worse on safari since it would seldom load the whole thing... never had a problem with IE though.

here is the code im working on

Code:
var productHolder:MovieClip = productHolder_mc;
var bannerHolder:MovieClip = bannerHolder_mc;
var paginationHolder:MovieClip = paginationHolder_mc;
var whatIsaLoading:String = "";

[code]....

View 2 Replies

ActionScript 2.0 :: InputText Focus / Safari & Firefox Only

Jun 24, 2008

On this page there is a login form at the bottom left.

1) Type some text in the username field.

2) Drag-Select this text (from right to left) so that it is highlighted - but DO NOT release the mouse over the swf - keep dragging off of the swf (to the left of the text field).

3) Now move your mouse across the swf and back out to the left again...and you will see that the swf thinks you have never released the mouse.

It seems obvious that a swf running in Firefox or Safari is not detecting "onRelease" events outside of the swf (while IE Does this just fine).My only thought is to capture onRelease events from js and pass into the swf...but jeez - what a pain for something so simple....for something that should just work.

View 1 Replies

CS4 - ExternalInterface & FireFox V3.013?

Aug 19, 2009

I've spent about a day on this... Publishing a swf for AS3/FP9, following the example in the ActionScript 3 documentation to get two-way communication between a SWF and javascript. Works great in IE.

I've sifted through what seems like a million posts on the subject, with people getting the same result... the function I/they are attempting to call doesn't exist.

In the documentation example, there's a function to find/return either the SWF as an object or embed tag depending on which browser you're viewing the page in.

[Code]...

View 1 Replies

FLV Not Displaying In Chrome Or Safari But It Displays Okay In Latest IE And Firefox?

Dec 13, 2009

the following page should include two FLV files - one near the top of the page and one near the bottom.

[URL]
 
Works properly in IE8 and Firefox 3.5.5 - however in the latest Chrome and Safari only the topmost FLV displays. FLV embedded with Dreamweaver CS4.

[URL]

View 2 Replies

ActionScript 2.0 :: GetURL Function Not Working In Safari / Firefox On Mac

Apr 28, 2010

I have a file upload application I built that uses FLASH as a means to transfer file to/from users directories on a server. Once the file transfer has completed I fire a function that includes a call to a javascript function within my page that executes an AJAX refresh of one of the "div's" on my page.

ActionScript Code:
// COMPLETE FUNCTION
fileRefListener.onComplete = function (fileRef:FileReference):Void {
status_txt.text +="<font size="11" color="#E6E6E6"><b>" + fileRef.name + " uploaded.</b></font>
";
status_txt.vPosition = status_txt.maxVPosition;
filesCompleted++;
[Code] .....

And my JS is:
Code:
function handOff() {
new Ajax.Updater('manage_user_info', '/fileTransfer/manage_user.php?client=' + $('users_to_manage').getValue(), { method: 'get' });
}

This works flawlessly in IE6/IE7/IE8/FF3.6/Opera/Chrome/Safari on Windows Machines but for users on MAC's there seems to be an issue. Any particular reason this wouldn't be working in a MAC environment?

View 0 Replies

ActionScript 2.0 :: Flash - Menu In FireFox/Safari Browser?

Aug 30, 2007

flash menu i have create for my web site it works 100% in microsoft explorer but in fire fox or safari i have a problem. The menu is set to transparent as their are drop down menus from main nav bar, in fire fox you can see the text just below the menu bar but cannot touch any links but in explorer you can no problems.This the code:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="990" height="490" style="position: absolute; top: 70px; left: 0px; z-index:1;" >

[code]....

View 4 Replies

ActionScript 1/2 :: Open A Browser Window From Flash In Safari Or Firefox?

Oct 30, 2009

I am having a problem. I found the actionscript 2 code to open a browser window, but it is not working in Safari, or Firefox. I found an old action script 1 file version 5 for the flash player that works just fine, but I am using 8 and actionscript 2 so that doesn't work for me.

View 5 Replies

ActionScript 1/2 :: Can't Make Flash Button Work In Firefox And Safari

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

Flash :: .swf Not Loading In Internet Explorer, Chrome Does In Safari, Firefox?

Apr 5, 2012

How could it be a SWF is not loading in internet explorer chrome on windows but works fine on firefox and safari on osx? I called the file like myhomepage.fr/videoplayer.swf

Does this direct all of swf is non supported on IE?

View 1 Replies

Javascript :: Full Browser Flash Works In Safari 5 But Not Firefox 3.6

Dec 7, 2010

Can anyone give me a clue as to why this markup works fine in Safari, but not in Firefox?This should load an ugly blue placeholder (which I get in safari) but in Firefox, swfobject just gives me the alternative content.[code]

View 1 Replies

Javascript :: Embed Works In Firefox And Safari, But Not In Internet Explorer 8?

Dec 5, 2011

I have a flash-based ad that displays/hides based on some javascript. It works in Firefox, Safari, Chrome ... but not in Internet Explorer 8. This is for donations to a non-profit during the holiday season,

<div class="grid_12 alpha omega">
<script type="text/javascript">
GA_googleFillSlot("360_dropdown");

[code]......

View 1 Replies

ActionScript 3.0 :: Preloader Not Working In Safari , Works Fine In Firefox?

Feb 21, 2010

my site is comprised of several images loaded dynamically and added to the display list. i declare a bunch of loaders on the first frame, and add a preloader progress listener to the largest image to have one preloader for all the assets. I then added a COMPLETE listener to the same image, and add that image, along with all the others in the onComplete function. i have two issue. the preloader doesnt work in Safari. but works fine in Firefox? and i'm totally stumped on what it could be? another compatibility issue that seems to be arising is that one of the galleries of my site which corresponds to the "drawn" link. also does not seem to be working in Safari, but works in Firefox. its a fairly simple xml based image gallery, which loads thumbs on to the stage, and then loads a larger version of each, when the corresponding thumbnail is clicked. the other galleries of the site work fine in safari, and are basically the same code wise.heres my code for the loading and preloader in the first frame

Code:
import caurina.transitions.*;
stop();

[code]......

View 1 Replies

Communicate With Java From Air Without The Use Of A Server Like Tomcat?

Jul 22, 2011

I'm currently working on a project that need to communicate with java from air without the use of a server like Tomcat. For this i found and use Flerry.Communicating between Java and Air is no problem, as long as I try to send a message from the class that I initially instantiated from Air.What I try to do is subscript to messages from a Message Class in java and use that class to send info and errors to Air from Java.

MessageController.java:

public class MessageController
{[code]....

the infoMessageHandler receives an message containing test message, as it should. How can I dispatch messages from whatever class in Java and catch them on the Air side?

View 1 Replies

Javascript :: ExternalInterface On Loadup With FireFox?

Jun 10, 2010

I have an issue with my ExternalInterface. The way it is currently set up is, on the page load up, a boolean is set to true in JavaScript and then checked by ActionScript constructors (using a timer) until it is true. This marks that JavaScript is ready to get calls from AS3.

At this point, AS3 will add the callback and do some internal stuff, and at the end of the constructor I call JavaScript. So far so good. JavaScript will at this point call a function in AS3 (that was defined in the callback described above), and this is where it all messes up.

On IE this works perfectly fine. On FireFox though, it does not. When I debug it, I see that the javascript function is called but when it tries to call AS3, nothing happens. I also tried to add a timer, but for some reason the function STILL executes straight away (in IE).

[Code]...

View 1 Replies

Actionscript 3 :: ExternalInterface Works In IE But Not Firefox?

Jan 7, 2011

I am trying to execute an AS3 function from my javascript using the ExternalInterface. Seems to work fine in IE, but firefox is always returning javascript error method undefined.

I have been Googling this for ages and eliminated the following possibilities:

1) Some people say you need to have an embed tag inside your object tag, so added one - no luck.

2) Many people say that you need to make sure that your flash is loaded before calling the javascript. Well my call is after pressing a link on the page. I am always using the flash application first and only pressing the link at the end.

3) Then I thought that maybe it is a security problem so added the following:

try {
ExternalInterface.addCallback("test", testing);
trace("added callback");

[Code]....

I am running the latest Firefox and FlashPlayer 10.

View 2 Replies

IDE :: ExternalInterface.addCallback Not Working In FireFox?

Jun 26, 2008

I have set up a function in Flash that i want available to Javascript.

Code:
function OpenBrowse():Void {
...
}
_trace(flash.external.ExternalInterface.addCallback("OpenBrowse",null,openBrowse));

[code].....

View 3 Replies

Actionscript :: Flash Reports Wrong Http-header In Firefox And Safari?

Jan 22, 2010

I have a banner in actionscript 2, that posts to a URL, and gets a response back. The http header from that is then used to figure out if the posting was successful. This works like a charm i IE, but in Firefox and Safari, the Flash player shomehow interprets the HTTP header as a 0, no matter what the browser actually gets. My guess is that it's what's described here [URL]...

View 1 Replies

Flex :: Adobe Air Badge Installer Not Working On Firefox And Safari On OSX Lion

Sep 21, 2011

We use a custom Air Install badge to install / launch an Air application directly from the website simillar to

TweetDeck

This normally handles the install of air if the user doesn't have it already installed.

However, after doing some cross broswer testing, it appears that when a user, (using OSX Lion and Safari or Firefox) tries to click yes when prompted to download the required Air they are unable to click either of the yes or no buttons.

I initially thought that it may have had something to do with the positioning so ensured that the z-index in the css was appropriately set but to no avail.

I beleive it may have something to do with the installer itself rather than my implementation as the same thing appears to happen on TweetDeck too.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved