JavaScript :: Firefox Plugin Development And Embedding SWF In XUL

Dec 27, 2010

I have a big problem with my firefox plugin: I have a button, which opens a new window for me, where I want to include that .swf file.

Here is the XUL code for the embedding:
<html:embed src="Reader.swf"
width="250"
height="250"
type="application/x-shockwave-flash" />
-> html namespace was set above:
xmlns:html="[URL]"
Reader.swf is in the same directory as the xul file

Without the html:embed, the window opens without problems, but as soon as I change that, firefox crashes without warning or something, it just disappears from the process bar. The .swf file works properly when I open it from my operating system (its windows 7 64 bit) and is coded in as3.

View 1 Replies


Similar Posts:


Flash :: Media Server - Live Encoder - Plugin Development

Sep 3, 2009

Allright, so i'm searching for information on how to write plugins for FMLE 3.0, the reason is that i need to extend some functionality regarding the metadata injections. So, does anyone here know of an API/Framework/SDK like paper that is a good place to start reading? Any input will be welcome, except "nay sayers" because i know it's possible to make plugins, ive seen one or two out there, just dont know where to start.

PS. I have plenty experience in writing DLL's for windows applications, but i would rather refrain from reverse-engineering FMLE to use windows hooks and insert dll's at run/loadtime, would rather have a more or less "intentional" framework to work with.

View 1 Replies

Firefox - Flash Player Debugger Plugin Crashes On Mac OS

Jun 9, 2010

I recently started using Mac OS X for a flex/actionscript project and having a problem with flash player debugger plugin for the browsers:

OSX: 10.6.3 Browsers I tried: firefox, safari and chrome Flashplayer debug "Flash Player 10 Plugin content debugger (Intel-based Macs)

Whenever I open a page containing a flash content, my browser crashes due to flash player plugin's crash.

I checked the version of my flash player debug plugin with [URL]

and as the version checker is written in flash, my browser crashes a few seconds later.

I am using version 10,0,42,2 (debug edition: yes)

This is what I see in the crash log:

Process: WebKitPluginHost [338]
Path: /System/Library/Frameworks/WebKit.framework/WebKitPluginHost.app/Contents/MacOS/WebKitPluginHost

[Code].....

View 1 Replies

Web Development :: Embedding Video Content Via CMS - Format?

Apr 12, 2010

if I set up the facility for people to embed video content on their site via their CMS (using TinyMCE editor), is there any reliable cross platform video format that should be used? From what I can find online, the only reliable way to embed and stream video is using FLV. Other formats seem to have caveats, e.g codecs required or quicktime updates required. Ideally I'd like to avoid this type of situation. If it is the case that FLV is the preferred option, then that involves asking people to encode their video content to FLV before uploading, so there is an extra step required here (unless I can set up the encoding in the back end, but this might take a while to process depending on the size of the video).

View 2 Replies

Professional :: Firefox Plugin Container High Cpu Usage And Crashing?

Jan 8, 2011

All three of my family's computers have been experiencing problems with the firefox plugin container. The container spikes the CPU for long, long, periods of time slowing overall performance noticably.The only way to address the problem is to kill the Firefox plugin container.When I kill the plugin container it kills Adobe Flash.I've tried clearing the flash cache from the Adobe troubleshooting site, deleting all cache applications, and changing settings.My family plays Farmville which is always hanging and can only be fixed by restarting the computer. Okay, maybe farmville is a bad app.

View 3 Replies

Javascript :: Web Direct Print Plugin?

Jul 13, 2011

We all know that it's impossible to do native print in a browser that bypasses the browser's print dialog, however, we have the need to do a direct print, ideally where we could also select a particular printer, and other settings programmatically.

I know that ActiveX plug-ins exist that do this, however, we all know that ActiveX plug-ins only work in IE. Is there an existing plug-in, either in Flash or Silverlight that allows us to programmatically set printer properties and then direct print without opening the browser's native dialog?

View 3 Replies

Javascript :: Jquery.flash Plugin Not Working In IE6?

Jan 31, 2010

I use jquery.flash() plugin to embed flash into my website. The problem is that in IE6 this doesn't work. I tried swfobject (1.5), also, but it gives me (sometimes) some strange errors with n null or something like that, so I decided to use jquery.flash() also. (I use both swfobject and jquery.flash() now)

So, basically, swfobject works but gives me that strange error sometimes (all browsers), so NOT all my flash banners work, and jquery.flash() WORKS in all other browsers, except IE6.

The website is [URL]

View 1 Replies

Get "Install Missing Plugin" Yellow Bar To Appear In Firefox When Flash Is Not Installed?

Apr 6, 2010

My rails website uses the open_flash_graph plugin to generate flash graphs for my clients. If a customer doesn't have flash installed, it doesn't display any messages, it simply doesn't show any graphs.

I've noticed that if I go to other websites that need flash, I get a yellow bar at the top of my firefox window that offers to "Install Missing Plugin".

View 2 Replies

Javascript :: Web Development - Detecting Flash Version

Aug 16, 2011

I've seen two answers: Adobe Flash Detection Kit - Javascript detect flash version JavaScript routines only:[URL] Simple questions: are the detection algorithms, described above, identical and if not - which way is better? Will they work the same for desktop and mobile browsers (both iPhone/iPad and Android)?

View 1 Replies

Javascript :: JQuery Media Plugin Playing File Outside The Webroot?

Feb 9, 2010

Is it possible to play a media file which is outside the webroot using the Jquery Media Plugin. The server that we are on is windows based. The file path for example is:

serversharemusic.mp3

In my testing so far it does not seem possible.

View 1 Replies

Flash :: Javascript(jQuery) Plugin To Hide / Show Swf Seaminglessly?

Dec 19, 2010

As we know we can't $.show/$.hide to show/hide the flash component,which will cause the flash player to redraw it. Is there a flexible component that can hide/show flash components with redraw them?

[Code]...

View 3 Replies

Javascript :: Preserve Browser Window Focus When Clicking On Plugin?

Sep 7, 2011

I have a web page that uses javascript counters to count user "active" time, meaning the time a user spends viewing this page (and not some other page). I do this by starting/stopping them using the [URL].. However, when the user clicks on a plugin inside the same page (flash, java, etc), the window loses focus and window.onblur is fired. Is there a way to tell that the user is still on my page?

View 1 Replies

Web Development :: Can JavaScript Be A Viable Alternative To Flash And Silverlight

Apr 15, 2012

I think JavaScript is very close to have everything that RIAs can offer. What's missing from or for JavaScript to make it a viable RIA development alternative?

View 8 Replies

Javascript :: Play A Quick Chime In Website Without A Plugin (no Flash Or Quicktime)?

Mar 13, 2012

I have a single page web app that shows real time data using just HTML/CSS/JS - I have managed to keep Flash out of it.

Now I want to play a small chime but I don't want to make the site dependent on Flash. It is just a chime to indicate a new chat, so it is not a huge stumbling block but I would like to find a way.

Is this possible - I am guessing no since you need something local to play the sound

Edit: I am not able to use HTML5 quite yet.

View 3 Replies

Flash :: Javascript - Make A Console Plugin To Interact With Facebook Games Or Other Apps

Feb 5, 2011

I'm playing a flash game on facebook. I know I can decompile it to find out all the commands and would like to make scripts to automate the game by calling procedures in the actionscript of the game. So I guess I would like to make a plugin also that would insert this console into any flash app and this would be handy for a lot of things. Then if anyone wants to hack a new game, u just decompile it and make a handbook of methods for people to make scripts with. So how would I go about making this console? I don't know if I could make a swf interact with the game or if it has to be compiled into the game's swf. Or if it is easier with javascript, that is cool too. maybe we can make a javascript library just for this. anyone can tell me more?

View 2 Replies

Javascript :: Facebook Game Development / University Project / Front End Woes

Dec 8, 2011

I have been requested to make a port of an iOS game for Facebook.The game itself is fairly simple, it is a puzzle game using a 2d array for a grid with XML passed from a server for loading objects onto the the grid, to create levels.The game will ask questions at stages which will be passed to my server and stored for research purposes.Some questions for those with experience.What front-end options do I have with Facebook? I have looked into both Flash and HTML5/js both of which i have little to no experience in (I'm experienced in Java/C#/Ruby + Rails).Javascript seems like a nightmare from what I have read, even looking into javascript game engines, but at least it is free. My backend will most likely be rails for handling server logic.Summary(because I ramble too much)

-Is javascript for programming games really a problem for simple games on Facebook?

-Are js game engines worth using? Does anyone have any experience with them?

-Would prevention of cheating be possible with a js/rails game, do server side checks work?

-Are there any alternatives for a front end for someone with C#/Java/Ruby background?I've never seen any Unity or Java apps on Facebook(I don't use it much) and I don't know if the licensing will be an issue for this research project.

View 1 Replies

Jquery :: FullBg Plugin Mixed With .flash.js Plugin: Movie Disappear When Wmode=transparent?

Oct 16, 2011

Im the new kid on the block so I apologyze if I'm not doing very well.Everything works fine till the moment in which I set the wmode param of the flash movie to transparent, then the movie completely disappears (it loads, as I can listen at the sounds) but it doesn't show.I would like to have a full background image with the transparent flash movie over it, that's all, if somebody can tell me how to fix this or even a new way to do it, it will be so good!!Here is my code, so simple, by the way:

$(document).ready(function(){
$("#background").fullBg();
$('#flashcontent').flash(

[code]....

View 1 Replies

Javascript :: Embedding A Swf On A Wordpress Page?

Nov 17, 2010

I'm trying to embed a .swf into a wordpress page. This sounds simple, but it isn't working and I cannot fathom out why. I've uploaded all the relevant files onto the server, and I'm fairly sure all the filepaths are correct. The folder containing the .fla and .swf files also contained an index.html file, which I have put into a template. I've tried putting the supplied code into the HTML on the page, I've tried simply using said template, and the best I'm getting is a blank area which doesn't load the flash content.

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

Flash :: Embedding & Quicktime Movie Via JavaScript

Jun 11, 2010

I have a JavaScript function that loads a flash movie into a webpage div using swfobject.embedSWF(). I want to be able to, alternatively, load a .mov file into the same div, in the event that this is the file found instead of the .swf. Is there a close equivalent to swfobject.embedSWF for the purposes of embedding a .mov file? If not, what is an efficient route to doing this using JavaScript?

View 1 Replies

Javascript :: Embedding Swf File In Html Page?

Jan 1, 2011

In the code below what is addvariable doing also i need to embed the swf only in my html page and it is not php. how to embed the swf file in html page

<table border=0 width=100% height=100%>
<tr><td align=center valign=center>
<script type="text/javascript" src="test/swfobject.js"></script>

[Code]....

View 3 Replies

Flash :: Javascript - Object Not Embedding Correctly In IE

Apr 7, 2011

I donwloaded this small sample for jquery [URL] it is a plugin for a webpage and it displays a flash player to capture a qr code through a webcam. It shows the flash player in firefox and chrome, but it doesn't show it in IE. I do have the flash player in IE because i tried the project in this webpage [URL] and it does display the qr code. A person told me to check if it was embeded using swfobject and I checked the .js file of the project and it is embedding it as an swfobject, this is part of the code in the jqery.webcamqrcode.js

[Code]...

View 2 Replies

JavaScript :: ExternalInterface.AddCallback Does Not Work On Firefox?

Apr 15, 2010

I'm trying to call a method inside a flash movie from js, every time the mouse leaves the "div". It works on Internet Explorer, but not in firefox. Here is the html script:

<script type="text/javascript">
window.onload = function(e){
init();
}function init(){
document.getElementById('div').onmouseout = function(e) {
[Code] .....

Here is example of the problem, there is an alert for the js and the flash should be able to remove the swf (see a gray background? it works! see a image, flash didn't receive the call): [URL]. This should work with internet explorer / safari / chrome (pc/mac) only firefox seams to reject this.

View 2 Replies

Javascript :: FlashObject 'is Not A Function' Error Only In Firefox

Jul 28, 2010

I have a page with a flash chart to display. First, I make a separate AJAX call to grab the chart data, and then process it in javascript and call the flash object functions like this:

var flashObj = YAHOO.util.Dom.get(chartContainer);
if (!YAHOO.env.ua.ie) {
flashObj = flashObj.getElementsByTagName("embed")[0];

[Code].....

View 2 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

Play A Flash Movie With JavaScript In Firefox?

Jan 12, 2012

I have found a way to send a play(); command to my Flash movie in IE9 but I can't figure it out in Firefox9. Here is the code I am using that works in IE:

<head>
<script language="JavaScript">
<!--

[code].....

View 1 Replies

ActionScript 2.0 :: SetInterval Javascript Not Working On Firefox

Jan 18, 2009

I have a very odd issue with Firefox 3. Take the following code

ExternalInterface.addCallback("startAds", null, startAds);
function startAds() {
debug("Calling startAds");

[Code].....

The startAds function is called from javascript. When run in IE 6 & 7 everything works fine. When run in Firefox 3 i can see it enter the function and even assign and intervalId but the function set in the setInterval function never gets called. If i call setAds from actionscript and run it in Firefox 3 it works ok. Its just when the startAds function is called from javascript in Firefox 3.

View 2 Replies

Flash :: Javascript - Detect Weather A User Has Any Sort Of Flash Blocking Plugin Installed?

Feb 3, 2010

I'm wondering wether there's a Javascript way to detect wether a user has any sort of flash blocking plugin installed so i can accommodate these users properly. For example, I use 'click to flash', but sites that use SiFR to render text are littered with "click to flash" buttons, which is getting very annoying. I don't use SiFR in my designs for this reason. But if I could spot wether there's a flash blocking plugin installed, I would simply not call the SiFR function.

View 1 Replies

Javascript :: Capture Right Click Event On Flash Plugin When Using WMODE="window"

May 26, 2009

I'm using a custom right click context menu for a flash app (overriding the default adobe menu). For this Uza's right click solution [URL] works well.

However, flash player plugin (for Firefox/Chrome etc) has a bug which breaks usage of international characters when its using WMode for the html embed. WMode="widnow" works.

[URL]

The issue can be seen better here -

[URL]

I need to capture the right click event fired from Flash player plugin to the web browser container without using WMode on the html embed tag (ie. WMode="window")

View 1 Replies

ActionScript 3.0 :: Error "Ignoring Cross-frame Javascript Url Load Request By Plugin"?

Mar 14, 2011

I have this code in my html

function open(direccion, pantallacompleta, herramientas, direcciones, estado, barramenu, barrascroll, cambiatamano, ancho, alto, izquierda, arriba, sustituir){
var opciones = "fullscreen=" + pantallacompleta + [code].....

And I call it from as3 like this:

var request:URLRequest = new URLRequest("javascriptpen('+ prop.link +',0,1,1,1,1,1,1,800,500,0,0,1);");

navigateToURL(request);

But when I click to open the new url.. chrome brings me this log error "Ignoring cross-frame javascript url load request by plugin"

View 1 Replies







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