RE: [Flashcoders] swf/html and swf/swf communication
Hej Martin, There are largely undocumented issues and restrictions when using getURL(Javascript:) in content published for FP8 or higher. Some discussions on the subject can be found at: http://weblogs.macromedia.com/mesh/archives/2005/08/new_flash_8_pla.html Instead, use ExternalInterface where you also should be able to implement good swf-to-swf communication A nice, short tutorial can be found at: http://previous.emllabs.com/article.php?articleId=122 BR, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Klasson Sent: den 26 februari 2007 09:33 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] swf/html and swf/swf communication Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf/html and swf/swf communication
Yeah, I did some extensive testings on that yesterday, the only thing is that you can't return values from javascript with only inline javascript, -and you have to use void(0) in the getURL to avoid the return-values. ExternalInterface is good of course, but I am after making all the functionality in flash because of the CMS is not that greatly flexible. But since flash doesnt have browser-detection, it is hard to make out the correct syntax and so on. / martin Omar Fouad skrev: answer of the second questions: no, there arent any problems in calling java function inside getURL() On 2/26/07, Martin Klasson <[EMAIL PROTECTED]> wrote: Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] swf/html and swf/swf communication
Hej Martin, There are undocumented issues and restrictions when using getURL(Javascript:) in content published for FP8 or higher. Instead, use ExternalInterface where you also should be able to implement good swf-to-swf communication A nice, short tutorial can be found at: http://previous.emllabs.com/article.php?articleId=122 BR, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Klasson Sent: den 26 februari 2007 09:33 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] swf/html and swf/swf communication Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf/html and swf/swf communication
localconnection i believe is supported in all the browsers - as long as you have the minimum flash player requirement (i think flash player 6 was the first one to add support?) as for the getURL question: if you are using flash player 8 or higher you should be using external interface, which i don't think has a limit (or if it does, it's a very high limit). BUT, that said, you shouldn't really put javascript code into your swfs like that, it's much smarter to put the js code in your html page, and then simply call the js functions from your swf when you need them to do something. On Feb 26, 2007, at 3:32 AM, Martin Klasson wrote: Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf/html and swf/swf communication
answer of the second questions: no, there arent any problems in calling java function inside getURL() On 2/26/07, Martin Klasson <[EMAIL PROTECTED]> wrote: Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] swf/html and swf/swf communication
My understanding is that LocalConnection has nothing to with the browser. It's some process that Flash itself has implemented, so you can run the SWFs in a browser, projector, anything. For instance, I have a flash EXE that talks to flash movies running in various browsers, and it all works fine. :) As for javascript in getURL, I think in general it works, but I've had some issues with it. I ran into a problem where if I did getURL calls with javascript in quick succession some of them would never run (if the first one didn't complete before the second one ran then the first one would be canceled, or something like that). So in general I think it works, but I don't always trust it. As for how much javascript you put in the getURL call, I would suggest you write a javascript function in the HTML page, and then simply call that function using getURL. -Andy On 2/26/07, Martin Klasson <[EMAIL PROTECTED]> wrote: Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] swf/html and swf/swf communication
Hi Flashcoders, I have been searching around, but not found it to be that easy to get answers. I know that you people here tends to know everything, so I will ask you. first question: Is LocalConnection the only way to talk between two swf's in a browser (when NOT using javascript), and are there a list of browsers/os that supports this? In my case it I will have two swf's on the same html-page. -or is there a list of browsers/os that LocalConnection does NOT work on? second question: Inline javascript in flash, are there any problems with that? I mean using javascript in a getURL to make it for example write out another swf in a . I have used javascript to open popups directly from a getURL -but is there any known limitations of writing javascript in the getURL? Maybe the 99> character-bugg still is there in Flash as well? Thanks mates! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com