Export Build Release\" and moved the files from /bin-release onto my local server (WAMP" />
开发者

Deploy flex app to MAMP server

I created a Flex app in a Windows XP environment using Flex Builder 3.

From the menubar, I selected "Project->Export Build Release" and moved the files from /bin-release onto my local server (WAMP).

I have a PHP file that connects to a db and delivers some data via XML

Everything works开发者_运维技巧 right on my computer. Then I tried to move the app to a mac.

I installed MAMP with the default settings (localhost:8888)

I can connect to the PHP file and get the XML by hitting the appropriate URL on @ http://localhost:8888/...

Likewise, I can connect to the html template and the swf executes, but it doesn't seem to be getting the data back, and I don't get any debug info popping up.

Any ideas? Are there security settings enabled by default in Mac OS that would not allow a flex app to request data from a remote resource (i.e. http://localhost:8888/ in this case)?


what is the error that you get? 1. try to catch the FaultEvent 2. do you install any of flash debugger?


The trouble was with the MAMP installation. I reinstalled it, and the app worked.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜