Re: [Flashcoders] Strange Button Behavior

2011-06-14 Thread Karl DeSaulniers
You could try a LocalConnection with a crossdomain policy, and an  
allowDomain set,
(I know you can do it with two different open webpages, haven't  
tested web 2 desktop,
but as long as both are open, they should talk. But I could stand  
corrected.)
I think LocalConnection is just AS2 though. Not sure of the equiv. in  
AS3.
Might be a less hacky work-around though. If I understand your  
situation that is.. :)


HTH,

Best,
Karl

On Jun 13, 2011, at 12:26 PM, Steve Abaffy wrote:

It is not an exe. I am accessing the swf file via webpage. I tried  
adding

Security.LOCAL_TRUSTED; to the code but that didn't work either. Tried
making it a exe file but then it won't run from the CD because the  
link to
it is via a web page and the browser objects as the exe file does  
not have a

digital signature.


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of  
Glen Pike

Sent: Monday, June 13, 2011 4:03 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Strange Button Behavior

Hmm, an exe should be exempt from the local vs network restrictions,
but maybe something else is failing.

Have you tried tracing the error?

I vaguely rememeber having problems with _blank, etc. in the past.
See if it works without those?

Here are some links I found that may help.
http://probertson.com/articles/2006/10/11/geturl-flash-projector- 
firefox-pro

blem/
http://www.adobe.com/devnet/flash/articles/local_network_playback.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/ 
flash/net

/package.html#navigateToURL%28%29

Glen


On 11/06/2011 19:35, Steve Abaffy wrote:

Hello,



After some more investigation I have found that the buttons not  
working
problem I was having is not a browser malfunction. I have found  
that when

I
put the site on a web server all works well regardless of the  
browser. But

when I put the site on a CD a run it from there, all calls to outside
sources do not work.

All calls to local sources such as url:String = /Documents/ 
some.pdf in

the

below function works just fine.

And insight to this problem would be appreciated.



function GotoURLAustinMopac(e:MouseEvent):void{

 var url:String =

http://maps.google.com/maps?f=qhl=engeocode=q=6836+Austin+Center 
+Blvd.+A

ustin+TX+78731;

 var request:URLRequest = new URLRequest(url);

 try {

 navigateToURL(request,'_blank');

 } catch (e:Error) {

  //Do Nothing

 }

}

___
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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


Re: [Flashcoders] Strange Button Behavior

2011-06-13 Thread Glen Pike
Hmm, an exe should be exempt from the local vs network restrictions, 
but maybe something else is failing.


Have you tried tracing the error?

I vaguely rememeber having problems with _blank, etc. in the past.  
See if it works without those?


Here are some links I found that may help.
http://probertson.com/articles/2006/10/11/geturl-flash-projector-firefox-problem/
http://www.adobe.com/devnet/flash/articles/local_network_playback.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/package.html#navigateToURL%28%29

Glen


On 11/06/2011 19:35, Steve Abaffy wrote:

Hello,



After some more investigation I have found that the buttons not working
problem I was having is not a browser malfunction. I have found that when I
put the site on a web server all works well regardless of the browser. But
when I put the site on a CD a run it from there, all calls to outside
sources do not work.

All calls to local sources such as url:String = /Documents/some.pdf in the
below function works just fine.

And insight to this problem would be appreciated.



function GotoURLAustinMopac(e:MouseEvent):void{

 var url:String =
http://maps.google.com/maps?f=qhl=engeocode=q=6836+Austin+Center+Blvd.+A
ustin+TX+78731;

 var request:URLRequest = new URLRequest(url);

 try {

 navigateToURL(request,'_blank');

 } catch (e:Error) {

  //Do Nothing

 }

}

___
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] Strange Button Behavior

2011-06-13 Thread Steve Abaffy
It is not an exe. I am accessing the swf file via webpage. I tried adding
Security.LOCAL_TRUSTED; to the code but that didn't work either. Tried
making it a exe file but then it won't run from the CD because the link to
it is via a web page and the browser objects as the exe file does not have a
digital signature. 


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: Monday, June 13, 2011 4:03 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Strange Button Behavior

Hmm, an exe should be exempt from the local vs network restrictions, 
but maybe something else is failing.

Have you tried tracing the error?

I vaguely rememeber having problems with _blank, etc. in the past.  
See if it works without those?

Here are some links I found that may help.
http://probertson.com/articles/2006/10/11/geturl-flash-projector-firefox-pro
blem/
http://www.adobe.com/devnet/flash/articles/local_network_playback.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net
/package.html#navigateToURL%28%29

Glen


On 11/06/2011 19:35, Steve Abaffy wrote:
 Hello,



 After some more investigation I have found that the buttons not working
 problem I was having is not a browser malfunction. I have found that when
I
 put the site on a web server all works well regardless of the browser. But
 when I put the site on a CD a run it from there, all calls to outside
 sources do not work.

 All calls to local sources such as url:String = /Documents/some.pdf in
the
 below function works just fine.

 And insight to this problem would be appreciated.



 function GotoURLAustinMopac(e:MouseEvent):void{

  var url:String =

http://maps.google.com/maps?f=qhl=engeocode=q=6836+Austin+Center+Blvd.+A
 ustin+TX+78731;

  var request:URLRequest = new URLRequest(url);

  try {

  navigateToURL(request,'_blank');

  } catch (e:Error) {

   //Do Nothing

  }

 }

 ___
 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] Strange Button Behavior

2011-06-13 Thread Ben Sand
Pretty sure you can only do network access from local apps with air.
Adding trusted will just be ignored by the flash player, it'll
(silently) refuse to attempt network connections with anything that
didn't originate from the web. And vice versa with manipulating local
files

On Tuesday, 14 June 2011, Steve Abaffy st...@msmarketing.biz wrote:
 It is not an exe. I am accessing the swf file via webpage. I tried adding
 Security.LOCAL_TRUSTED; to the code but that didn't work either. Tried
 making it a exe file but then it won't run from the CD because the link to
 it is via a web page and the browser objects as the exe file does not have a
 digital signature.


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
 Sent: Monday, June 13, 2011 4:03 AM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Strange Button Behavior

 Hmm, an exe should be exempt from the local vs network restrictions,
 but maybe something else is failing.

 Have you tried tracing the error?

 I vaguely rememeber having problems with _blank, etc. in the past.
 See if it works without those?

 Here are some links I found that may help.
 http://probertson.com/articles/2006/10/11/geturl-flash-projector-firefox-pro
 blem/
 http://www.adobe.com/devnet/flash/articles/local_network_playback.html
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net
 /package.html#navigateToURL%28%29

 Glen


 On 11/06/2011 19:35, Steve Abaffy wrote:
 Hello,



 After some more investigation I have found that the buttons not working
 problem I was having is not a browser malfunction. I have found that when
 I
 put the site on a web server all works well regardless of the browser. But
 when I put the site on a CD a run it from there, all calls to outside
 sources do not work.

 All calls to local sources such as url:String = /Documents/some.pdf in
 the
 below function works just fine.

 And insight to this problem would be appreciated.



 function GotoURLAustinMopac(e:MouseEvent):void{

                  var url:String =

 6836 Austin Center Blvd. 
 A http://maps.google.com/maps?f=qhl=engeocode=q=6836+Austin+Center+Blvd.+A
 ustin+TX+78731;

                  var request:URLRequest = new URLRequest(url);

                  try {

                  navigateToURL(request,'_blank');

                  } catch (e:Error) {

                   //Do Nothing

                  }

 }

 ___
 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] Strange Button Behavior

2011-06-11 Thread Steve Abaffy
Hello,

 

After some more investigation I have found that the buttons not working
problem I was having is not a browser malfunction. I have found that when I
put the site on a web server all works well regardless of the browser. But
when I put the site on a CD a run it from there, all calls to outside
sources do not work.

All calls to local sources such as url:String = /Documents/some.pdf in the
below function works just fine.

And insight to this problem would be appreciated.

 

function GotoURLAustinMopac(e:MouseEvent):void{

var url:String =
http://maps.google.com/maps?f=qhl=engeocode=q=6836+Austin+Center+Blvd.+A
ustin+TX+78731;

var request:URLRequest = new URLRequest(url);

try {

navigateToURL(request,'_blank');

} catch (e:Error) {

 //Do Nothing

}

}

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


Re: [Flashcoders] Strange button behavior

2011-06-10 Thread Paul Andrews

On 10/06/2011 03:49, Steve Abaffy wrote:

Hello,

I have a flash button that when it is played on IE9 works. It calls an off
site website, but when I try it on IE8 the mouse over actions that the
button is supposed to have work, but when pressed nothing happens. The
entire application was written in AS3, is there something that I am missing
as to why this is not working. I have also test on Chrome 3 and Firefox 4
and they work fine. Any help would be appreciated.

Perhaps you can make a small example test case.

Thank you.


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


[Flashcoders] Strange button behavior

2011-06-09 Thread Steve Abaffy
Hello,

I have a flash button that when it is played on IE9 works. It calls an off
site website, but when I try it on IE8 the mouse over actions that the
button is supposed to have work, but when pressed nothing happens. The
entire application was written in AS3, is there something that I am missing
as to why this is not working. I have also test on Chrome 3 and Firefox 4
and they work fine. Any help would be appreciated.

 

Thank you.

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