ActionScript 3.0 :: Hyperlinks Don't Work In Safari When Javascript Is Deactivated

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


Similar Posts:


JavaScript :: Open Hyperlinks In New Window From SWF

Feb 2, 2011

The swf files has many hyperlinks. And this swf files are downloaded from an external source. So cannot change its source code. My question is that from javascript, jquery be made that all the hyperlinks that appear in the swf be open in a different window also which starts with an http:// location

<div align="center">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="myMovieName">
<PARAM NAME="movie" VALUE="/media/cam.swf" />
<PARAM NAME="quality" VALUE="high" />
<PARAM NAME="bgcolor" VALUE="#FFFFFF" />
<EMBED href="/media/players/camera.swf" src="/media/players/camera.swf" quality=high bgcolor=#FFFFFF NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash">
</EMBED></OBJECT></div>

View 2 Replies

Cannot Get Hyperlinks To Work Within Tooltips

Aug 9, 2010

when I try to make text or a button into a hyperlink within that tooltip, it doesn't seem to be usable in the preview. I click on the text/button, and it just doesn't do anything. I've tried coding it several different ways, and looked for an appropriate tutorial, but I haven't been able to find any luck. Is there something I'm missing? Can I even make hyperlinks in a tooltip that's made with that simplified code, or will I have to find another way to make them?

View 1 Replies

.swf Forum Signature Hyperlinks Don't Work?

Sep 10, 2009

I recently made a .swf file which is hosted here [URL] as you can see the hyperlinks work fine and go to the correct sites. My question and impass is that whenever I post this same file as a forum signature it works fine but when I click on the hyperlinks they don't bring up the websites they act like they are dead.

btw the hyperlinks are just Text that I changed to Dynamic text with urls.

View 1 Replies

Actionscript 2.0 :: Make Xml File Have Hyperlinks And Work In A Swf?

Jul 15, 2009

How do you put hyperlinks in an xml file and make them work in a swf?

View 7 Replies

Javascript :: Flash Via Iframe In Safari Is Breaking?

Dec 21, 2011

I'm trying to load an iframe into a div via ajax. The iframe serves Flash content.

There are four divs (above each other) with the same Flash-through-iframe implementation, and I show and hide these divs to correspond with the user's navigation. This works well, except in Safari. I triple-checked my JavaScript that toggles the divs (using display: none and display: show), but it doesn't work in Safari.

View 1 Replies

JavaScript :: Flash - Safari Displays Source Instead Of Executing

Feb 24, 2010

I have a web application that has javscript interspersed through the page. What happens is that safari will dump the source of the javascript code instead of executing it. I can reproduce this consistently. The page is a mashup of different forms of content: It loads flash videos using osflv and is generated via a php script on the server side. In addition the page also contains calls to Google Map's API to display a map. The content is placed in separate tabs using javascript to provide tab interaction. I am also using mootools, and not sure if that is potentially causing issues.

Here are the javascript includes:
<script type="text/javascript" src="/js/mootools-1.2.1-core.js"></script>
<script type="text/javascript" src="/js/mootools-1.2-more.js"></script>
<script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="/js/sifr.js"></script>
[Code] .....

View 2 Replies

Javascript :: Sending A Array Not Working In Safari For Windows

Jan 28, 2011

I am sending over a JavaScript Array to ActionScript. The JavaScript code is as follows:

[Code]....

When I run this on Safari for Windows, arrayInput is null. However, this method works fine in Safari for Mac, IE, FF, Chrome, and the variable holds the actual array.

View 1 Replies

Flash :: Javascript - JQuery Resize Twitch In Safari?

May 10, 2011

having a problem while resizing a flash object using jquery in Safari only on the following site:[URL]..When you navigate around I call javascript events when the flash object needs to change height and when that happens there is a quick flash where everything goes crazy and then it goes back to normal. Really weird, and I cannot figure out how to fix it.[URL]...

Let me know if you need any more info. I have drawn a blank fixing this one.

View 1 Replies

IDE :: Pop Up Doesn't Work In IE But In Safari?

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

IDE :: Pop Up Doesn't Work In IE But In Safari

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

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

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 :: External Interface / Javascript Call Working In IE / Safari Not FF / Chrome

Apr 24, 2011

I'm hitting a brick wall here, and it's driving me mad. Used to use ExternalInterface to call Flash functions from Javascript all the time, and now under CS5 (and the way it uses object id's instead of embed in html) it's stopped working for me in certain browsers. I put together a really simple program that has the person click a link in the browser that activates a javascript function that simply sends some text in to Flash to display in a TextArea. Here's the as3 code:

[Code]....

View 9 Replies

Transparent Background Doesn't Work In Safari?

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

Professional :: SWF Doesnt Work In Latest Versions Of IE And Safari?

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

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

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

AS3:: Flash - SWFAddress Back Button Doesn't Work In Safari 5.03 On Mac?

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

Professional :: Why Do Links Inside My Flash Site Not Work Properly In Firefox 3.6.1 And Safari 5.0.2?

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

ActionScript 3.0 :: FrameRate Changes To 1 When Deactivated?

Apr 16, 2010

i am making a flex air application and when its deactivated (lost focus), its framerate becomes to 1fps.i am using psudo-threading encoder that uses enterframe to keep it working the app requires long time converting process more than hours and i need the program to do the same thing while sitting back in the background how to disable deactivation in air application as soon as the focus is out, it becomes 1 fps instead of 24 fps which i need.

i know i can use timerevent rather than enterframe event but my app needs alot of calculation and i figured that in flash, the frame extends its time if the calculation isnt finished. if it gets too long in one frame, the ui hangs up.if i use enterframe, on slow comps it would extend its time to complete the calculations when all the calculations didnt get to finish in time in 1 frame.but im afraid if i use timer event, instead of waiting for the codees to be excuted it would excute the next timer event, i didnt try it though.i created the app that when you add the xml songbook data, it would load up the data sort it and create pages with the graphics and skins set up and when you save, it saves the pages to jpg files using the encoder i created.and the encoder uses enterframe.its working fine but when i deactivate the window while encoding, it becomes extremely slow since it becomes 1fps.

View 3 Replies

Professional :: Buttons Deactivated Sometimes In Flash Player?

Dec 29, 2011

My Flash presentation SWF is uploaded to the web, within an HTML page. Not always, but sometimes, when I log onto the page, I am noticing glitches. For example, the interactive buttons created and embedded within the Flash are not functioning at all. It's as if they are dead. - It took a few times of opening and closing the browser window and calling up the page again to then get it to work properly again. End-users will not do this. Also, when items within a SWF are non-functional like this, does it mean the player needs to be updated again?
- My content is loading dynamically by the way.

View 1 Replies

ActionScript 1/2 :: Delay In Timeline Deactivated On Second Loop By Movie

Aug 30, 2011

Below summarizes the problem. Whats being used:
Flash CS4 10.0.2
Actionscript 2.0

Whats going on in the Timeline:
I have a embedded movie in the timeline. Also in this timeline is a actionscript delay. When the animation starts, the timeline reaches the embedded movie and plays then it reaches the end frame with the following actionscript delay.

stop();
var interval:Number = setInterval(
function():Void {
play();
clearInterval(interval);
}, 10000);

The delay works perfectly. When the timline loops a second time the delay fails to work. So the animation works perfectly one time and falls every time the animation loops. The weird part is if I remove the embedded movie layer the delay works perfectly on the following loops. So it appears that this delay is deactivated by the embedded movie!

View 4 Replies

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

Javascript :: Flash - Unable To Work In IE8?

Nov 24, 2009

I am trying to create this html elements dynamically on the onload of my page,however;when I run it the code wont work on IE8 but okay in firefox,safari,and others.

function getmovie() {
var container = document.getElementById("container");
if (!container)

[code]....

View 3 Replies

Javascript :: Way To Make SIFR Work

Dec 3, 2009

It works perfectly when pulled within labels like in the demo.[code]note: (id="slidesbigtext") loads text from javascript without any issues, just can't find a way to make sIFR work in this situation..

View 1 Replies

Javascript :: Get Flex 3 And OpenX To Work Together?

Jun 5, 2010

I'm trying to get Flex 3 and OpenX to work together. Everything works great in Safari and Firefox. But, I get an XML parser error in Internet Explorer, which makes me want to rip my hair out and drink turpentine.

I've tried to simplify the problem as best I can. Basically, I take the adReturn and then turn it into xml.

adReturn = '<adXMLReturn>' + adReturn + '</adXMLReturn>';
xmlReturn = new XML(adReturn);

I don't think that IE likes adReturn, which is below:

[Code].....

View 1 Replies

Javascript :: Can't Get ExternalInterface.addCallback To Work?

Jun 15, 2010

I'm trying to use ExternalInterface.addCallback to allow js to call an as3 method. My code is as follows:

AS:

ExternalInterface.addCallback("sendToActionscript", callFromJavaScript);

function callFromJavaScript():void{
circle_mc.gotoAndStop("finish"); [code]....

It's not working. What am I doing wrong?

View 3 Replies

Javascript :: Nested Tags Work In E4X?

Jun 24, 2010

Suppose I have the following XML:var foo:XML = <root><a>this is a <b>special</b> case</a></root>

Is there any way to detect the position of <b> relative to the contents of <a> without a custom subparser?

View 1 Replies







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