[Flashcoders] Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
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


Re: [Flashcoders] Can Javascript Listen to Flash Events?

2012-05-22 Thread Paul Andrews

I think you're doomed if you don't have the fla.

On 22/05/2012 16:43, Ted Lehr wrote:

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




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Merrill, Jason
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


Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Matt S.
could you load the SWF into a shell, and add the FLV event listeners at the
shell level? That would require knowing the name of the flv player within
the SWF, but maybe you could figure it out with a decompiler?

That's just a random idea, not sure if it would work...
.m

On Tue, May 22, 2012 at 11:52 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 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


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
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


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
Sorry - my original post must have been confusing...

This is an original .fla. My issue is that the resulting swf needs to run 
locally. Now it seems to me that when a swf is run locally on Flash Player that 
by default - the Flash Player does not like to to make calls outside of itself 
(i.e. ExternalInterface.call) I no this can be overcome by changing some of the 
settings in Flash player, but that is not an option here... I am wondering how 
I can fire off some javascript when the player blocks the call - hence, perhaps 
the js could be listening to the flash


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Matt S.
Sent: Tue 5/22/2012 12:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?
 
could you load the SWF into a shell, and add the FLV event listeners at the
shell level? That would require knowing the name of the flv player within
the SWF, but maybe you could figure it out with a decompiler?

That's just a random idea, not sure if it would work...
.m

On Tue, May 22, 2012 at 11:52 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 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


Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Paul Andrews

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


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ted Lehr
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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Merrill, Jason
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=cs5filter_flashplayer=10.2filter_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 

Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Paul Andrews

On 22/05/2012 17:36, Ted Lehr wrote:

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...


I was talking about the local playback settings in the publish tab in 
the IDE.




-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



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Nathan Mynarcik
Would allowscriptaccess=always work in this situation? Perhaps the issue
is deeper than that?





On Tue, May 22, 2012 at 12:15 PM, Paul Andrews p...@ipauland.com wrote:

 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-bounces@chattyfig.**figleaf.comflashcoders-boun...@chattyfig.figleaf.comon
  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-bounces@chattyfig.**figleaf.comflashcoders-boun...@chattyfig.figleaf.com[mailto:
 flashcoders-bounces@**chattyfig.figleaf.comflashcoders-boun...@chattyfig.figleaf.com]
 On Behalf Of Ted Lehr
 Sent: Tuesday, May 22, 2012 11:44 AM
 To: flashcoders@chattyfig.figleaf.**comflashcoders@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 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://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/**emaildisclaimerhttp://www.bankofamerica.com/emaildisclaimer.
 By messaging with Sender you consent to the foregoing.
 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ross Sclafani
Definitely do this

Ross P. Sclafani
Design | Technology | Creative
http://www.neuromantic.com
http://ross.sclafani.net
http://www.twitter.com/rosssclafani
347.204.5714

On May 22, 2012, at 1:02 PM, Nathan Mynarcik nat...@mynarcik.com wrote:

 Would allowscriptaccess=always work in this situation? Perhaps the issue
 is deeper than that?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Chris Foster
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=cs5filter_flashplayer=10.
2filter_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