Thanks for the thought - this is a situation where this swf is being pushed to multiple work stations and then run from each workstation - locally...
-----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Chris Foster Sent: Tue 5/22/2012 5:47 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events? I've got around the 'local security warning' issue in the past by running the content from a standalone webserver - check out Server2Go. You'll be able to fire off whatever ExternalInterface call you need. You'll have a pause of a few seconds while the server stats up, but otherwise it's a pretty seamless experience. C: -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Wednesday, 23 May 2012 2:42 AM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events? I'm assuming you've already read the capabilities and info listed here, but if not, check this out: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash /external/ExternalInterface.html?filter_flash=cs5&filter_flashplayer=10. 2&filter_air=2.6 >From that page: >From ActionScript, you can do the following on the HTML page: Call any JavaScript function. Pass any number of arguments, with any names. Pass various data types (Boolean, Number, String, and so on). Receive a return value from the JavaScript function. >From JavaScript on the HTML page, you can: Call an ActionScript function. Pass arguments using standard function call notation. Return a value to the JavaScript function. Jason Merrill Instructional Technology Architect II Bank of America Global Learning _______________________ -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted Lehr Sent: Tuesday, May 22, 2012 12:36 PM To: Flash Coders List Subject: RE: [Flashcoders] RE: Can Javascript Listen to Flash Events? I cannot change security settings for the player - this will be used by a lot of people and I cannot go to each work station and change that setting... unless you are talking about some other setting... -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Paul Andrews Sent: Tue 5/22/2012 12:15 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] RE: Can Javascript Listen to Flash Events? Just get a flash event handler to call a javascript function. You probably don't have the security setting for the project set right - network access only. Paul On 22/05/2012 17:06, Ted Lehr wrote: > Oh - yes - I have the .fla... I just am running into issues when I try to have the swf call out to the javascript - I get the security warning from the player - so I am trying to figure out how to, instead of having the swf make a call out - maybe the javascript could just listen to the player... > > > -----Original Message----- > From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Merrill, > Jason > Sent: Tue 5/22/2012 11:52 AM > To: Flash Coders List > Subject: [Flashcoders] RE: Can Javascript Listen to Flash Events? > > You would have to add code to the .swf, but yes, Javascript can listen for Flash events and vice versa. > > Jason Merrill > Instructional Technology Architect II > Bank of America Global Learning > > > > > > _______________________ > > -----Original Message----- > From: flashcoders-boun...@chattyfig.figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ted > Lehr > Sent: Tuesday, May 22, 2012 11:44 AM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] Can Javascript Listen to Flash Events? > > So I have a swf that needs to run locally and make an ExternalInterface.call ... I am unable to make settings changes to the users Flash Players ... so as of now it seems unpossible! > > My thoughts was to see if the javascript can listen for a flash event > (the end of a flv in FLVPlayback to be specific) > > Any thoughts? > > Ted > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ---------------------------------------------------------------------- > This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. > Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. > The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. > > References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: > http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. > _______________________________________________ > 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 ---------------------------------------------------------------------- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. _______________________________________________ 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