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


Similar Posts:


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

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

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

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

ActionScript 2.0 :: Executing Javascript From Swf Movie?

Sep 7, 2003

I have two large doors slamming shut and would like to execute the browser shake javascript function hardcoded into the html page for about 0.1 - 0.2 seconds.. just enough to shake the window when the doors slam shut.

How do I call the shake() function that is on the same html document as the swf object? Not from a button press, but from an event (ie certain keyframe reached).

View 4 Replies

Flash :: Generate A SWF From Source Automatically To Be Called From JavaScript

Oct 4, 2009

I have some data-crunching code implemented in ActionScript, and I'd like to call it from JavaScript. The related question [URL] mentions the blog post [URL] which tells me how to do this. All I need now is generating the SWF file from the .as file completely automatically, with a comand-line tool on Linux. How is this possible?

View 4 Replies

Javascript :: Flash Based Cropper / But With Source Or Customizable?

Dec 29, 2009

I am looking for a Flash based image uploader with resize and possibly rotate function. I have checked many possibilities, and the very best in simplicity and unser experience I found is Kroppr at a very affordable €29/license. The downside is, it comes with encrypted PHP code to bind the product to a subdomain. That is understandable, but while I'm perfectly happy to pay money for a tool as great as that, and ready to sign all sorts of legal agreements to protect the license, I am not ready to use encrypted PHP code, especially not from an outlet that doesn't even have a postal address on its web site.Does anybody know an Open Source or commercial solution that comes close to Kroppr and ships with source, or allow for full customization and free definition of the server-side backend?[code]The server side technology would preferably be PHP.

View 9 Replies

Javascript :: Executing SWFObject With Ajax Reloads

Jan 12, 2010

For my current project I am working on a home page that has a series of tabs above a content box that each execute an ajax script to load new content into the content box. However, some of these pages contain a flash object called with SWFObject and when the ajax script calls the page, the SWFObject javascript is not executed and I am left with the no flash support error message.

I have tried defining a function for each video call (short of just designing a single function and passing variables to it) and having the function be called as part of the ajax function but I am left with the same results. I am not opposed to using something other than SWFObject though I have been lead to believe it is the best solution currently.

View 3 Replies

Javascript :: Cache A Swf File In Firefox Without Executing It?

Aug 17, 2011

I'm attempting to bring a swf file down to Firefox to cache but not actually execute. The swf comes from a different domain.

The following approach works in Chrome but not Firefox:

new Image().src = "www.other.com/foo.swf";

Firefox uses a separate cache for images.

This approach works in IE, but not Firefox:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="www.other.com/foo.swf" declare="1"></object>

The "declare" tells the browser to cache but not execute it. However, Firefox complains that the request is cross-domain.

View 1 Replies

Javascript :: Free Web Based Open Source Flash Player?

Aug 30, 2010

I need to find a flash video player that is free and open source. I love flowplayer and jwplayer but we fit into their most expensive licenses. It will cost us over $1400 to license flowplayer for our use. We don't have that right now.

I just need a flash player with a basic javascript api that is truly free. I have been googling for hours and nothing so far.

It would be a huge plus if someone knows of a chromeless youtube player that uses the youtube as3 api. I don't have time right now to code an entire chromeless player complete with all the controls and a progress bar.

View 2 Replies

Javascript :: Executing Adobe Flex Without Using Browser Control?

Jan 3, 2012

I want to add scripting functionality to my Adobe Flex application. I know it's possible to use the Browser control, and add the script packaged as a HTML file to the Browser control, and expose Flex objects. However I'd like to if it is possible to execute JavaScript without using the Browser control.UPDATE: I guess my question hasn't been clear enough. I'll explain what I'm trying to do.I want to make my application customizable using JavaScript ie., add scripting/plugins to my application dynamically.I realize that it's possible to dynamically execute Javascript by inserting the JS code into the HTMLLoader control. I would like to know there is a direct way to execute JavaScript without inserting it into the HTMLLoader control.

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

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

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 :: 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

ActionScript 3.0 :: FireFox Displays "some" Flash File - IE Displays All

Feb 17, 2009

I've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things:

[Code]...

View 5 Replies

ActionScript 3.0 :: FireFox Displays "some" Flash File But IE Displays All

Feb 15, 2009

I've hit a brick wall here. I have a Flash file that displays fine in IE. It also displays fine when ran as a SWF. However, in FireFox, it does not display my scroller. I developed the Scroller component dynamically... everything is drawn from scratch, no library movieClips, etc. I'm starting to think that could be the cause? I've tried many different things: Changed the HTML code to bare bones embedding code.Recompiled in Flex.... same result!Tested on another computer... it worked fine! However, I tested on another computer with FireFox... same problem.

It's so weird.I seperated the Image Slide show component from the Scroller... the scroller had the same effect... didn't display in FF.Played around with WmodeChecked my code for addChild problems, visibilty, alpha properties... nothing out of the ordinary.Asked God.Drank some Gin.Took a break and came back to it.I've reseached Google and the most I could come up with is to compile using FP10. It is FP10. I'm using CS3 and FlashDevelop. When I right click on my Flash file, it does indeed display FP10. Same with Flex.

[Code]...

View 6 Replies

Flash :: Control Movie From JavaScript When Have No Control Over The Source?

Nov 4, 2009

Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).

View 1 Replies

JavaScript :: Open Source / Commercial Web Video Player?

Oct 24, 2010

I'm basically looking for something that can play/stream a variety of formats if possible (or if not, to have an easy way for non-technies to convert them to the desired format). I'm also looking for something easy to setup - like including a javascript tag at the top of the page and then perhaps using a div, or just 1 line of script code to make it work. If it's flash, then have to be simple to setup too.

View 2 Replies

Javascript :: Free Open Source In-browser Image Editors?

Feb 17, 2010

I'm looking for a in-browser image editing solution to integrate with my project: [URL].. I got it working with Pixlr quite easily and the editor is fantastic .. however it's a hosted service, which means I must be connected to Internet for it to work ..

Is there any other solution like Pixlr but that are not hosted service ?

[Code]...

View 2 Replies

Javascript :: Flex Graphic Editor / Samples Open Source Projects

Feb 2, 2012

I need to create an application, the main срфддутпу will be to work with graphics. The application will contain the basic operations with geometric shapes and creating your own shapes.When creating, I would like to rely on ready-made examples of graphic editors. To do this, I'm looking for examples of open source projects.

View 1 Replies

Actionscript 3 :: Source From External Folder (linked Source) Not Appearing In Flex?

Aug 26, 2010

i have a Air Project in which i have added three extenal source folders. but when i reopen project or strat flash builder again i get icon on those folder like this but when i open the configuration for that project and try to validate the path and adding it again i get message like this but the path is valid. proof is this pic what could be possible error,,, is there any way that i when ever re-open project i get no warning and able to navigate through the linked source code. now i am doing it

1- deleting on of the linked folder

2- again adding that folder.

View 2 Replies

ActionScript 3.0 :: Flex Script Source In Source Path Cannot Be Found

Jan 11, 2010

So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.

Code:
<mx:Script source="com/domain/something/somethingelse/app.as"/>

I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.

View 1 Replies

ActionScript 3.0 :: Flash And Php Not Executing Properly

Dec 14, 2010

I have created a as3 log in script in flash cs5 that sends the username text and password text into two php variables. now everything works fine if i call navigateToURL (PhpURL,"_ blank");it returns with success , but the problem is that when i try to get to trace the output of the php file , it returns with a failure(even though i also call the above code at the same time and that returns success in my web browser). could it be a problem with cs5 , how would i go about viewing the trace() after i published it and put it on my local web sever.[code]

View 3 Replies

Media Server :: Use Http Source Instead Of Rtmp Source?

Aug 31, 2011

I have this standard embed code to play my video:

<object height="409" width="600"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" /><param name="flashvars" value="src=rtmp://my-server/vod/flv:my-video" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" flashvars="src=rtmp://my-server/vod/flv:my-video"

[Code]...

View 4 Replies

ActionScript 3.0 :: Flex Source In Source Path Cannot Be Found

Aug 21, 2009

So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.[code]I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.

View 2 Replies

Flash :: Executing A Script Automaticaly In Builder?

Dec 4, 2010

I did a simple animation with adobe flash catalyst with 4 states. and I want to make the transitions between states happen automatically (with a delay between each transition). O made it with a button but I don't know how to add a script that get executed automatically when the animation launches.

View 1 Replies

Flash :: FMS Server-side Code Not Executing?

Jan 12, 2012

I'm trying to create a RTMP Streaming application but I can't seem to get the server-side code to run. I've checked the logs on RootInstaller/logs/test, but nothing inside it. I am running everything locally also.Here's what I have:

ActionScript3 file

public function btnConnectHandler(event:MouseEvent):void
{
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code].....

View 1 Replies







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