Re: [Flashcoders] ExternalInterface.call not working on desktop...??
Hi, html on the desktop is not going work, but you might have some luck when updating the security settings. I have the following batch file in most of my projects: @echo off rem echo %APPDATA% rem echo %CD% echo [Enter name for security file inserted into %APPDATA%]: echo (use a single keyword, no spaces, no dots and no .cfg in it) SET /p fileName= echo Creating %APPDATA%\Macromedia\Flash Player\#Security\FlashPlayerTrust\%fileName%.cfg echo %CD% >> "%APPDATA%\Macromedia\Flash Player\#Security\FlashPlayerTrust\%fileName%.cfg" Store it in a batch file in the same dir as your fla, run it and enter some bogus keyword to identify your settings with, eg desktop. regards JC On Fri, Jul 31, 2009 at 1:08 AM, Barry Hannah wrote: > AFAIK ExternalInterface doesn't work in the standalone player, only in the > browser. > > You should be getting error messages to that effect. You can test whether > or not it's available to use with the Boolean ExternalInterface.available > property. > > > BH > > > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of BOYD SPEER > Sent: Friday, 31 July 2009 10:49 a.m. > To: Flash Coders List > Subject: Re: [Flashcoders] ExternalInterface.call not working on > desktop...?? > > The menu.swf actually is set to "Access local files only" and seems to work > only from the website... > > Thanks for responding Karl... would changing the setting to "Access network > files only" allow a broader or narrower selection of files...? > > - Original Message - > From: Karl DeSaulniers > Date: Thursday, July 30, 2009 5:31 pm > Subject: Re: [Flashcoders] ExternalInterface.call not working on > desktop...?? > To: Flash Coders List > > > Check you publish settings, you probably have it set to network only. > > > > Karl > > > > > > On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote: > > > > > Hi all, > > > I am probably missing something obvious but I have a flash > > .swf in > > > embedded in .html and an ExternalInterface.call( to javascript). > > > It works great from my website in both I.E. and Firefox - > > but not > > > from the computer desktop (even though all the files are in > > the > > > same relationship in their folders, etc..) Is there some > > security > > > setting or other setting that I need to check to make this > > work? or > > > is it just not possible? > > > Thanks for any insights! > > > > > > -Boyd > > > > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Karl DeSaulniers > > Design Drumm > > http://designdrumm.com > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] ExternalInterface.call not working on desktop...??
AFAIK ExternalInterface doesn't work in the standalone player, only in the browser. You should be getting error messages to that effect. You can test whether or not it's available to use with the Boolean ExternalInterface.available property. BH -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of BOYD SPEER Sent: Friday, 31 July 2009 10:49 a.m. To: Flash Coders List Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...?? The menu.swf actually is set to "Access local files only" and seems to work only from the website... Thanks for responding Karl... would changing the setting to "Access network files only" allow a broader or narrower selection of files...? - Original Message - From: Karl DeSaulniers Date: Thursday, July 30, 2009 5:31 pm Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...?? To: Flash Coders List > Check you publish settings, you probably have it set to network only. > > Karl > > > On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote: > > > Hi all, > > I am probably missing something obvious but I have a flash > .swf in > > embedded in .html and an ExternalInterface.call( to javascript). > > It works great from my website in both I.E. and Firefox - > but not > > from the computer desktop (even though all the files are in > the > > same relationship in their folders, etc..) Is there some > security > > setting or other setting that I need to check to make this > work? or > > is it just not possible? > > Thanks for any insights! > > > > -Boyd > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ExternalInterface.call not working on desktop...??
I think if the loaded swf is in a main swf, it inherits the root security? Not positive. Karl Sent from losPhone On Jul 30, 2009, at 5:49 PM, BOYD SPEER wrote: The menu.swf actually is set to "Access local files only" and seems to work only from the website... Thanks for responding Karl... would changing the setting to "Access network files only" allow a broader or narrower selection of files...? - Original Message - From: Karl DeSaulniers Date: Thursday, July 30, 2009 5:31 pm Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...?? To: Flash Coders List Check you publish settings, you probably have it set to network only. Karl On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote: Hi all, I am probably missing something obvious but I have a flash .swf in embedded in .html and an ExternalInterface.call( to javascript). It works great from my website in both I.E. and Firefox - but not from the computer desktop (even though all the files are in the same relationship in their folders, etc..) Is there some security setting or other setting that I need to check to make this work? or is it just not possible? Thanks for any insights! -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ExternalInterface.call not working on desktop...??
The menu.swf actually is set to "Access local files only" and seems to work only from the website... Thanks for responding Karl... would changing the setting to "Access network files only" allow a broader or narrower selection of files...? - Original Message - From: Karl DeSaulniers Date: Thursday, July 30, 2009 5:31 pm Subject: Re: [Flashcoders] ExternalInterface.call not working on desktop...?? To: Flash Coders List > Check you publish settings, you probably have it set to network only. > > Karl > > > On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote: > > > Hi all, > > I am probably missing something obvious but I have a flash > .swf in > > embedded in .html and an ExternalInterface.call( to javascript). > > It works great from my website in both I.E. and Firefox - > but not > > from the computer desktop (even though all the files are in > the > > same relationship in their folders, etc..) Is there some > security > > setting or other setting that I need to check to make this > work? or > > is it just not possible? > > Thanks for any insights! > > > > -Boyd > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ExternalInterface.call not working on desktop...??
Check you publish settings, you probably have it set to network only. Karl On Jul 30, 2009, at 5:21 PM, BOYD SPEER wrote: Hi all, I am probably missing something obvious but I have a flash .swf in embedded in .html and an ExternalInterface.call( to javascript). It works great from my website in both I.E. and Firefox - but not from the computer desktop (even though all the files are in the same relationship in their folders, etc..) Is there some security setting or other setting that I need to check to make this work? or is it just not possible? Thanks for any insights! -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] ExternalInterface.call not working on desktop...??
Hi all, I am probably missing something obvious but I have a flash .swf in embedded in .html and an ExternalInterface.call( to javascript). It works great from my website in both I.E. and Firefox - but not from the computer desktop (even though all the files are in the same relationship in their folders, etc..) Is there some security setting or other setting that I need to check to make this work? or is it just not possible? Thanks for any insights! -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders