Wow,

I look forward to what people are going to use this for.  My first
thought when you showed this code is that those fullbrowser and
browser responsive Flash Layouts can do wonders with this.


Mani

On 7/2/05, Mike Chambers <[EMAIL PROTECTED]> wrote:
> Yes. You may run into an issue with scope, but if that is the case,
> you can just write a simple javascript function that returns the
> data, and then call that from Flash.
> 
> Christian and I are doing a session on the Flash / Javascript kit
> this week at FlashForward, and we may put together an example like
> that. If we do, ill post it to the wiki.
> 
> here is some pseudo code:
> 
> 
> // ActionScript
> 
> //setup JavaScript proxy
> 
> function getBrowserInfo(Vodi):Void
> {
>      proxy.call("getBrowserInfo");
> }
> 
> function returnBrowserInfo(navigator:Object):Void
> {
>      for(var x:String in navigator)
>      {
>          trace(x + " : " + navigator[x]);
>      }
> }
> 
> 
> 
> // JavaScript
> 
> //set up FlashProxy object;
> 
> function getBrowserInfo()
> {
>      fp.call("returnBrowserInfo", navigator);
> }
> 
> mike chambers
> 
> [EMAIL PROTECTED]
> 
> On Jul 1, 2005, at 10:46 AM, Manuel Saint-Victor wrote:
> 
> > This may be a dumb question- but her goes nothing.
> >
> > I'm using the FlashJavascript integration kit and doing the
> > tutorial from communitymx
> >
> > Everything is going well and happy but something dawned on me that
> > is probably really obvious - I should be able to call the native
> > JavaScript functions from Flash through this gateway right?  I'm
> > not sure if I would have to redefine a function such as window.open
> > to make it work via the gateway.
> >
> >
> > I thought I'd put the question in the atmosphere to give time for
> > an answer while I muddle through it.
> >
> >
> > Mani
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> 
> 
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>

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

Reply via email to