Re: [Flashcoders] Testing LocalConnection from a server in the IDE
Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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] Testing LocalConnection from a server in the IDE
forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ 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] Testing LocalConnection from a server in the IDE
Alan- They're both on the same machine but thanks for clearing that up either way. I was thinking that I could test a file sitting on the server using a local swf file and the local connection. I tried putting the domain permission etc but to no avail. Finally I resolved to just placing the other swf file on the same html page in a debug version. Rajat- as far as the name starting with an underscore -does that help? I don't think I've ever come across that- If so I have overlooked it. Thanks guys, Mani On 3/29/06, Alan Queen [EMAIL PROTECTED] wrote: forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ 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] Testing LocalConnection from a server in the IDE
Mani - Read here forthwith and whereas the underscore is important: http://www.macromedia.com/support/flash/action_scripts/local_connection_objects/local_connection_object07.html best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: Alan- They're both on the same machine but thanks for clearing that up either way. I was thinking that I could test a file sitting on the server using a local swf file and the local connection. I tried putting the domain permission etc but to no avail. Finally I resolved to just placing the other swf file on the same html page in a debug version. Rajat- as far as the name starting with an underscore -does that help? I don't think I've ever come across that- If so I have overlooked it. Thanks guys, Mani On 3/29/06, Alan Queen [EMAIL PROTECTED] wrote: forgive me if this is implied, but there's always been alot of misunderstanding about LocalConnection.. LocalConnection is not used to send messages from one machine to another. It's meant to send messages between 2 or more swf files on the same machine whether in browser or .exe again, don't kill me if that's not what you were referring too ;) On 3/29/06, Rajat Paharia [EMAIL PROTECTED] wrote: Hi Mani - Have you prefixed your localConnectionID with an underscore? Try _id as opposed to id. The other gotcha is just to make sure there aren't two instances of the receiving swf running (as often is the case when using one of the SWF2EXE tools), since one will capture all the messages and the other will show nothing. best, - rajat On 3/29/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: I have a swf that is sending to a LocalConnection and it works fine when they are both operating locally but when I place the sending swf to the server it stops working- this is despite the fact that I have tried placing an allowDomain in the receiving swf. I am using Flash 8 as my authoring environment. What other issues should I troubleshoot when dealing with a LocalConnection behaving this way? Thanks, Mani ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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 -- - Alan Queen ___ 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.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