foursquare actionscript problem

20 views
Skip to first unread message

Marius

unread,
May 12, 2010, 3:36:24 AM5/12/10
to foursquare API
Hi!

I'm building a small app in Flash showcasing mayors on different
resturants. In my working environment everything works as it should.
When I upload it to my server my application does not load any data at
all. I'm using calls that do not require any authentication at all.
I'm using the Actionscript 3 API.
Do anyone have any ideas on why this is happening?

--
To post to this group, send email to foursqu...@googlegroups.com

http://groups.google.com/group/foursquare-api

naveen

unread,
May 12, 2010, 11:19:47 PM5/12/10
to foursquare API


On May 12, 3:36 am, Marius <mariusgra...@gmail.com> wrote:
> I'm building a small app in Flash showcasing mayors on different
> resturants. In my working environment everything works as it should.
> When I upload it to my server my application does not load any data at
> all. I'm using calls that do not require any authentication at all.
> I'm using the Actionscript 3 API.
> Do anyone have any ideas on why this is happening?

not a flash genius here, but wondering if there some sort of console
or debug log that will show you the error conditions under production
that you don't see under development?

any flash devs want to weigh in here?

Will Carter

unread,
May 12, 2010, 11:23:22 PM5/12/10
to foursqu...@googlegroups.com
You have the cross domain XML file on yer server?

Sent from my iPad

Tim Walling

unread,
May 13, 2010, 6:47:19 AM5/13/10
to foursquare API
Sorry I didn't chime in sooner, I only subscribe to the daily digest
for the group.

You don't need a crossdomain file on your own server so that's not the
issue. It's possible that you compiled your SWF with local access only
and not network access. So when you uploaded it to your server it
doesn't work when its making network requests. Check your publish
settings and find area where you can specify local vs network access.
I'm not sure where it is exactly if you're doing this in the Flash
IDE, I hardly ever do work there, if you can't find it I can check
though and post a screenshot of the setting.

Tim


On May 12, 11:23 pm, Will Carter <will.car...@gmail.com> wrote:
> You have the cross domain XML file on yer server?
>
> Sent from my iPad
>

seth hillinger

unread,
May 13, 2010, 11:28:29 AM5/13/10
to foursqu...@googlegroups.com
Try out Charles, http://www.charlesproxy.com/ It's a life saver for
knowing what your app is calling and what response you're getting back.

hope that helps,
Seth

Tim Walling

unread,
May 13, 2010, 1:16:26 PM5/13/10
to foursquare API
Here's a screenshot of the setting I was referring to. The default
value for a new Flash project is "local files only". Make sure its set
to "network only" and try it again on your server if it was set
incorrectly. This typically gets developers because when you're
testing a SWF locally within the Flash IDE they are "trusted" SWFs and
can access either local or network. Personally I've always thought
that its kind of odd that the default is "local files only" since most
of the time I would think people are deploying them to the web.

http://grab.by/4md2

Tim

On May 13, 11:28 am, seth hillinger <geekin...@gmail.com> wrote:
> Try out Charles,http://www.charlesproxy.com/It's a life saver for  
Reply all
Reply to author
Forward
0 new messages