If I'm doing local testing of a swf that talks to Javascript in the page HTML, how can I give the Flash plugin permission to do that? It used to be that there was a list of sites that you could add your local file to, and then it wouldn't complain. But, these days Flash stores settings in the OSX System Preferences, and I can't figure out how to tell it that I trust my local test file.
I had the same problem last week, what I did was to put all the project's
content into my local webserver and run through local host. If you install
the MAMP you should be fine.
On Tue, Aug 7, 2012 at 11:04 AM, Colin Holgate <co...@verizon.net> wrote:
> If I'm doing local testing of a swf that talks to Javascript in the page
> HTML, how can I give the Flash plugin permission to do that? It used to be
> that there was a list of sites that you could add your local file to, and
> then it wouldn't complain. But, these days Flash stores settings in the OSX
> System Preferences, and I can't figure out how to tell it that I trust my
> local test file.
> Any ideas where I would do that now?
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
On Tue, Aug 7, 2012 at 2:04 PM, Colin Holgate <co...@verizon.net> wrote:
> If I'm doing local testing of a swf that talks to Javascript in the page
> HTML, how can I give the Flash plugin permission to do that? It used to be
> that there was a list of sites that you could add your local file to, and
> then it wouldn't complain. But, these days Flash stores settings in the OSX
> System Preferences, and I can't figure out how to tell it that I trust my
> local test file.
> Any ideas where I would do that now?
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> If I'm doing local testing of a swf that talks to Javascript in the page HTML, how can I give the Flash plugin permission to do that? It used to be that there was a list of sites that you could add your local file to, and then it wouldn't complain. But, these days Flash stores settings in the OSX System Preferences, and I can't figure out how to tell it that I trust my local test file.
> Any ideas where I would do that now?
> -- > You received this message because you are subscribed to the Google Groups "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/flashcodersny?hl=en.
> On Aug 7, 2012, at 2:04 PM, Colin Holgate <co...@verizon.net> wrote:
> > If I'm doing local testing of a swf that talks to Javascript in the page
> HTML, how can I give the Flash plugin permission to do that? It used to be
> that there was a list of sites that you could add your local file to, and
> then it wouldn't complain. But, these days Flash stores settings in the OSX
> System Preferences, and I can't figure out how to tell it that I trust my
> local test file.
> > Any ideas where I would do that now?
> > --
> > You received this message because you are subscribed to the Google
> Groups "FlashCodersNY" group.
> > To post to this group, send email to flashcodersny@googlegroups.com.
> > To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
This may or may not be a solution but I just recently had an issue using ExternalInterface where I was able to call JS functions from Flash but NOT call ActionScript functions from JS. I kept getting that the flash function didn't exist. I finally figured out a solution. It turned out that it was the embed code hat Flash generates when you hit publish. I changed to the old school method of embedding and I was able to communicate back and forth without a problem. Not sure if this is a similar issue.
> If I'm doing local testing of a swf that talks to Javascript in the page HTML, how can I give the Flash plugin permission to do that? It used to be that there was a list of sites that you could add your local file to, and then it wouldn't complain. But, these days Flash stores settings in the OSX System Preferences, and I can't figure out how to tell it that I trust my local test file.
I've found that having your SWF report to JS that it is done adding callbacks can be crucial in avoiding attempts to call methods on the SWF before they are exposed.
> This may or may not be a solution but I just recently had an issue using ExternalInterface where I was able to call JS functions from Flash but NOT call ActionScript functions from JS. I kept getting that the flash function didn't exist. I finally figured out a solution. It turned out that it was the embed code hat Flash generates when you hit publish. I changed to the old school method of embedding and I was able to communicate back and forth without a problem. Not sure if this is a similar issue.
> - Trevino
> On 8/7/12 11:04 AM, Colin Holgate wrote:
>> If I'm doing local testing of a swf that talks to Javascript in the page HTML, how can I give the Flash plugin permission to do that? It used to be that there was a list of sites that you could add your local file to, and then it wouldn't complain. But, these days Flash stores settings in the OSX System Preferences, and I can't figure out how to tell it that I trust my local test file.
>> Any ideas where I would do that now?
> -- > You received this message because you are subscribed to the Google Groups "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/flashcodersny?hl=en.
I have to second MAMP (or other Web server configuration) on this. serving the SWF and HTML over http: to your browser will teach you more about the app you're testing, unless you expect your users to be reaching it via file: protocol, anyway.
On Aug 7, 2012, at 2:28 PM, Colin Holgate <co...@verizon.net> wrote:
> Thanks. I'm on Mountain Lion, but it is the same basic issue, and I was able to add the location after scrolling down.
> Ross, I didn't mention it, but the same page works fine when it's online, I do already have allowsscriptaccess="always"
> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com> wrote:
>> >if you're in lion, it's hiding the scrollbar in the flash pref pane from you, where you can add your locations.
>> just go to the pane and scroll down.
> -- > You received this message because you are subscribed to the Google Groups "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/flashcodersny?hl=en.
I've just completely abandoned the use of localhost and use Charles instead
to map stuff. This gets around any issues with local sandbox security. You
can just set any site as your testing site and just map the whole site
folder to your local folder. Soooo much easier.
> I have to second MAMP (or other Web server configuration) on this. serving
> the SWF and HTML over http: to your browser will teach you more about the
> app you're testing, unless you expect your users to be reaching it via
> file: protocol, anyway.
> On Aug 7, 2012, at 2:28 PM, Colin Holgate <co...@verizon.net> wrote:
> Thanks. I'm on Mountain Lion, but it is the same basic issue, and I was
> able to add the location after scrolling down.
> Ross, I didn't mention it, but the same page works fine when it's online,
> I do already have allowsscriptaccess="always"
> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com> wrote:
> >if you're in lion, it's hiding the scrollbar in the flash pref pane from
> you, where you can add your locations.
> just go to the pane and scroll down.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
On Wed, Aug 8, 2012 at 4:42 PM, Thaylin Burns <thayli...@gmail.com> wrote:
> I've just completely abandoned the use of localhost and use Charles
> instead to map stuff. This gets around any issues with local sandbox
> security. You can just set any site as your testing site and just map the
> whole site folder to your local folder. Soooo much easier.
> "Common sense is a sense that common man does not seem to have." -me
> On Wed, Aug 8, 2012 at 10:41 AM, Ross P. Sclafani <ross.sclaf...@gmail.com
> > wrote:
>> I have to second MAMP (or other Web server configuration) on this.
>> serving the SWF and HTML over http: to your browser will teach you more
>> about the app you're testing, unless you expect your users to be reaching
>> it via file: protocol, anyway.
>> On Aug 7, 2012, at 2:28 PM, Colin Holgate <co...@verizon.net> wrote:
>> Thanks. I'm on Mountain Lion, but it is the same basic issue, and I was
>> able to add the location after scrolling down.
>> Ross, I didn't mention it, but the same page works fine when it's online,
>> I do already have allowsscriptaccess="always"
>> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com> wrote:
>> >if you're in lion, it's hiding the scrollbar in the flash pref pane from
>> you, where you can add your locations.
>> just go to the pane and scroll down.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "FlashCodersNY" group.
>> To post to this group, send email to flashcodersny@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flashcodersny+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/flashcodersny?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "FlashCodersNY" group.
>> To post to this group, send email to flashcodersny@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flashcodersny+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/flashcodersny?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> On Wed, Aug 8, 2012 at 4:42 PM, Thaylin Burns <thayli...@gmail.com> wrote:
>> I've just completely abandoned the use of localhost and use Charles
>> instead to map stuff. This gets around any issues with local sandbox
>> security. You can just set any site as your testing site and just map the
>> whole site folder to your local folder. Soooo much easier.
>> "Common sense is a sense that common man does not seem to have." -me
>> On Wed, Aug 8, 2012 at 10:41 AM, Ross P. Sclafani <
>> ross.sclaf...@gmail.com> wrote:
>>> I have to second MAMP (or other Web server configuration) on this.
>>> serving the SWF and HTML over http: to your browser will teach you more
>>> about the app you're testing, unless you expect your users to be reaching
>>> it via file: protocol, anyway.
>>> On Aug 7, 2012, at 2:28 PM, Colin Holgate <co...@verizon.net> wrote:
>>> Thanks. I'm on Mountain Lion, but it is the same basic issue, and I was
>>> able to add the location after scrolling down.
>>> Ross, I didn't mention it, but the same page works fine when it's
>>> online, I do already have allowsscriptaccess="always"
>>> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com> wrote:
>>> >if you're in lion, it's hiding the scrollbar in the flash pref pane
>>> from you, where you can add your locations.
>>> just go to the pane and scroll down.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "FlashCodersNY" group.
>>> To post to this group, send email to flashcodersny@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> flashcodersny+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/flashcodersny?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "FlashCodersNY" group.
>>> To post to this group, send email to flashcodersny@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> flashcodersny+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/flashcodersny?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "FlashCodersNY" group.
>> To post to this group, send email to flashcodersny@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flashcodersny+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/flashcodersny?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> On Wed, Aug 8, 2012 at 4:42 PM, Thaylin Burns <thayli...@gmail.com
> <mailto:thayli...@gmail.com>> wrote:
> I've just completely abandoned the use of localhost and use
> Charles instead to map stuff. This gets around any issues with
> local sandbox security. You can just set any site as your
> testing site and just map the whole site folder to your local
> folder. Soooo much easier.
> "Common sense is a sense that common man does not seem to
> have." -me
> On Wed, Aug 8, 2012 at 10:41 AM, Ross P. Sclafani
> <ross.sclaf...@gmail.com <mailto:ross.sclaf...@gmail.com>> wrote:
> I have to second MAMP (or other Web server configuration)
> on this. serving the SWF and HTML over http: to your
> browser will teach you more about the app you're testing,
> unless you expect your users to be reaching it via file:
> protocol, anyway.
> On Aug 7, 2012, at 2:28 PM, Colin Holgate
> <co...@verizon.net <mailto:co...@verizon.net>> wrote:
>> Thanks. I'm on Mountain Lion, but it is the same basic
>> issue, and I was able to add the location after scrolling
>> down.
>> Ross, I didn't mention it, but the same page works fine
>> when it's online, I do already have
>> allowsscriptaccess="always"
>> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com
>> <mailto:bitl...@gmail.com>> wrote:
>>> >if you're in lion, it's hiding the scrollbar in the flash
>>> pref pane from you, where you can add your locations.
>>> just go to the pane and scroll down.
>> -- >> You received this message because you are subscribed to
>> the Google Groups "FlashCodersNY" group.
>> To post to this group, send email to
>> flashcodersny@googlegroups.com
>> <mailto:flashcodersny@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> flashcodersny+unsubscribe@googlegroups.com
>> <mailto:flashcodersny+unsubscribe@googlegroups.com>.
>> For more options, visit this group at
>> http://groups.google.com/group/flashcodersny?hl=en.
> -- > You received this message because you are subscribed to
> the Google Groups "FlashCodersNY" group.
> To post to this group, send email to
> flashcodersny@googlegroups.com
> <mailto:flashcodersny@googlegroups.com>.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com
> <mailto:flashcodersny%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> -- > You received this message because you are subscribed to the
> Google Groups "FlashCodersNY" group.
> To post to this group, send email to
> flashcodersny@googlegroups.com
> <mailto:flashcodersny@googlegroups.com>.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com
> <mailto:flashcodersny%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> -- > You received this message because you are subscribed to the Google
> Groups "FlashCodersNY" group.
> To post to this group, send email to
> flashcodersny@googlegroups.com
> <mailto:flashcodersny@googlegroups.com>.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com
> <mailto:flashcodersny%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
> -- > You received this message because you are subscribed to the Google > Groups "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to > flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at > http://groups.google.com/group/flashcodersny?hl=en.
>> On Wed, Aug 8, 2012 at 4:42 PM, Thaylin Burns <thayli...@gmail.com>wrote:
>>> I've just completely abandoned the use of localhost and use Charles
>>> instead to map stuff. This gets around any issues with local sandbox
>>> security. You can just set any site as your testing site and just map the
>>> whole site folder to your local folder. Soooo much easier.
>>> "Common sense is a sense that common man does not seem to have." -me
>>> On Wed, Aug 8, 2012 at 10:41 AM, Ross P. Sclafani <
>>> ross.sclaf...@gmail.com> wrote:
>>>> I have to second MAMP (or other Web server configuration) on this.
>>>> serving the SWF and HTML over http: to your browser will teach you more
>>>> about the app you're testing, unless you expect your users to be reaching
>>>> it via file: protocol, anyway.
>>>> On Aug 7, 2012, at 2:28 PM, Colin Holgate <co...@verizon.net> wrote:
>>>> Thanks. I'm on Mountain Lion, but it is the same basic issue, and I was
>>>> able to add the location after scrolling down.
>>>> Ross, I didn't mention it, but the same page works fine when it's
>>>> online, I do already have allowsscriptaccess="always"
>>>> On Aug 7, 2012, at 2:06 PM, Fil <bitl...@gmail.com> wrote:
>>>> >if you're in lion, it's hiding the scrollbar in the flash pref pane
>>>> from you, where you can add your locations.
>>>> just go to the pane and scroll down.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "FlashCodersNY" group.
>>>> To post to this group, send email to flashcodersny@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> flashcodersny+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flashcodersny?hl=en.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "FlashCodersNY" group.
>>>> To post to this group, send email to flashcodersny@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> flashcodersny+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flashcodersny?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "FlashCodersNY" group.
>>> To post to this group, send email to flashcodersny@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> flashcodersny+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/flashcodersny?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "FlashCodersNY" group.
>> To post to this group, send email to flashcodersny@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flashcodersny+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/flashcodersny?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "FlashCodersNY" group.
> To post to this group, send email to flashcodersny@googlegroups.com.
> To unsubscribe from this group, send email to
> flashcodersny+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flashcodersny?hl=en.
Amongst the many good things it does is Map Local. Suppose you have to update a swf on your client's site, and to test it you need the swf to be in amongst all the other files. But, you wouldn't want to put it onto the live site, it might break everything. So, in Charles you can set it up to use your local swf in place of the one on the live site. That way you can really test the changes as if they were fully deployed, without uploading the swf to the server.
On Aug 10, 2012, at 5:02 PM, Ali Tan Ucer <alitanu...@gmail.com> wrote:
A couple of years ago we had a meeting where we looked at various such tools. I showed Charles that time. Maybe we could do a similar meeting again. I don't think you could fill a whole meeting just on Charles' features.
On Aug 11, 2012, at 8:58 AM, Josh J <jjancou...@gmail.com> wrote: