Luke, Sam -
Thank you for clarifying the issue for me. It's always the simple
things that take the longest to debug ;(
Another thing I learned is that if the DOM element containing the
embedded flash is hidden (display: none), I cannot send
commands/interact with the SWF via Javascript.
It is now time to let the fanciness commence ;)
But of course ;-) Why not fight fancyness with fancyness? In your flash
movie, try this actionscript on the first frame:
getURL(javascript:$('#FP').doWhatever('abc',123););
If you wanted to do that for multiple flash movies, you'd just have to
Sorry, forgot to mention you'd also need a bit of javascript to go with
that:
jQuery.fn.doWhatever = function(foo,bar) { ... }
Luke
Luke Lutman wrote:
It is now time to let the fanciness commence ;)
But of course ;-) Why not fight fancyness with fancyness? In your flash
movie, try this
Luke Lutman wrote:
In your flash
movie, try this actionscript on the first frame:
getURL(javascript:$('#FP').doWhatever('abc',123););
Correct me if I am wrong.. but I *think* you're hinting at altering the
actual SWF -- which I theoretically could because it's an open source
project
Ahh, I missed that it was an open-source player.
I'll shut up now ;-)
Luke
Brice Burgess wrote:
Luke Lutman wrote:
In your flash
movie, try this actionscript on the first frame:
getURL(javascript:$('#FP').doWhatever('abc',123););
Correct me if I am wrong.. but I *think* you're
On 04/02/07, Brice Burgess [EMAIL PROTECTED] wrote:
I am trying to embed flowplayer; http://flowplayer.sourceforge.net/
For some reason I cannot access an embedded SWFObject within a $().ready
function. FF errors out with invalid access to a NPObject, or that the
setConf method is not found?
I've run into this before too...
Calling a method (i.e. setConfig(), setVariable()) of the flash player (in
Firefox it's an
NPObject, in IE it's an ActiveX object) before the swf has loaded will throw an
error.
The ready event fires before your swf has loaded, which throws an error.
The load
I am trying to embed flowplayer; http://flowplayer.sourceforge.net/
For some reason I cannot access an embedded SWFObject within a $().ready
function. FF errors out with invalid access to a NPObject, or that the
setConf method is not found? I am not sure what this means.. but I do
know that if