ActionScript (inside the Flash movie): getURL("javascript:$('#" + id
+ "').hide()");
Better yet, create a hider function that does the work:
ActionScript:
getURL("javascript:hideElem('" + id + "')");
JavaScript:
function hideElem(elemID) {
//error checking, verification, etc.
$('#' + elemI
Hi All,
I tried doing this
$(document).ready(function(){
$('#link_menu1').bind('click', function () {
$('#mainTable').hide();
});
});
But it's not working. I think Flash is still taking away the click
event. Can you please help me figu
I originally thought that it was just Flash and JavaScript
interaction, in which case you'd use the
getUrl('javascript:yourfunc()') ActionScript statement, but it sounds
more like you just want your previously working links to continue
working the way you remember them.
I skimmed the sIFR docs an
or you can use ExternalInterface, which can also be used to communicate
between flash and js (both ways - flash to js and js to flash)..
dennis.
Brian Cherne wrote:
A word of caution about using getUrl in flash. If there is any way
getUrl can be called before your page has finished loading,
A word of caution about using getUrl in flash. If there is any way getUrl
can be called before your page has finished loading, it may prevent your
page from loading fully in IE.
This happened on a large web site I worked on a year ago. We never saw the
problem in development because we were sittin
Hi Guys,
Did you figure this out?
I have a problem with links that were converted using sIFR and then I need
to use them to do a show/hide using jQuery and it looks like Flash is
stealing my click event, so the click event never gets called by jquery.
Is there any way to get Flash to trigg
Roman,
The fact that you can call any JavaScript function from within Flash
implies that it is indeed possible. Assuming for the sake of this
example that your links are identified with id attributes:
(flash)==>triggerFromFlash(linkID);
function triggerFromFlash(id) {
$('#' + id).click();
Hi Guys,
Did you figure this out?
I have a problem with links that were converted using sIFR and then I
need
to use them to do a show/hide using jQuery and it looks like Flash is
stealing my click event, so the click event never gets called by
jquery.
Is there any way to get Flash to trigger th
Sweet! Good Find Brett, and thanks Sam! I think I am definitely going
to experiment with this. looks interesting...
On Oct 4, 8:19 pm, Brett <[EMAIL PROTECTED]> wrote:
> Interesting, I googled up and found an example of
> this:http://www.quirksmode.org/js/flash_call.html
>
> Not jQuery as such i
Interesting, I googled up and found an example of this:
http://www.quirksmode.org/js/flash_call.html
Not jQuery as such in the demo, but any function you write can refer
to jQuery.
On Oct 5, 8:10 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> your flash would need to be wmode=transparent
>
> an
your flash would need to be wmode=transparent
and you'd need to call a javascript function from within flash that in turn
calls the grey box function
since jquery applies the onclick event to all anchors with a class of
greybox you'll need simluar code inside you function that you call from
flash
11 matches
Mail list logo