yeah, I'm hardcoding at both ends and I can see from the proxy class it's using local connection, so I'm assuming it's using the UID for the connection name etc.  And since it does work in Firefox, I don't think thats the issue.

I'll play around with it a bit more to see - but yeah, this is really nice

Thanks Jim,

John

On 1/27/06, Jim Kremens < [EMAIL PROTECTED]> wrote:
I don't think you can hardcode  the UID into your movie, as it's created dynamically in the script that writes the swf to the page.  These numbers need to match.  Although, I guess, if you're hardcoding it in both places....

If you do the exact setup in the docs, does that work?

FWIW, it definitely *does* work in IE6 - I'm using it right now.  Although it took me some time to set up...  I ran into a lot of stupid failures, like:

- the js function I was trying to call didn't yet exist at the time the swf was born.  So the swf couldn't call it.  Solution, move the js function above the swf on the page.  The vagaries of _javascript_...

- Failure to put void(0); or return false; after method calls when appropriate.  I don't do much JS, so I always forget that stuff. 

Beyond that, try putting some traces into the source code and recompiling the gateway swf.  See where the failure is...

It is a pretty great thing.  Passing real objects back and forth is wonderful...

Jim Kremens

On 1/27/06, John Grden < [EMAIL PROTECTED]> wrote:
First, it rocks - for the first time, I've been able to use Xray to debug _javascript_ ;) 

Though, alas, I do have one problem. 

Firefox = works great
IE = I can make calls from JS -> AS, but not the reverse.

I've read the instructions 20 times, double checked etc, but I can't see to successfully make a call from AS -> JS from IE.

The ONLY difference in my setup as compared to the instructions is that I don't use this block to create my flash object:

<script type="text/_javascript_">
var tag = new FlashTag('/path/to/flashContent.swf', 300, 300); // last two arguments are height and width
tag.setFlashvars('lcId='+uid);
tag.write

(document);
</script>
I actually hardcode the UID into my flash movie. 

Anyone know what the top 3 reasons might be why it's not working in IE6?

Nice job on this btw - I was completely sold when I saw that I could pass complex objects back to Xray as well as execute _javascript_ calls FROM Xray to test the page.

--
John Grden - Blitz


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org





--
Jim Kremens
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org





--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to