Uncategorized
Compiling Mystic Compatible Flex 2 SWF’s with Ant
I previously posted on how I was able to get the files that make up the Flex sdk. I also posted an ant script (thanks rob) that allows you to compile those to swf’s so you can test out flex 2 on the mac.
Yesterday I outlined the steps nessicary to get the Mystic updater running on mac and linux as well. But without a swf that uses the remote object calls you can’t really test out that installation.
So adding this functionality is very simple. It is actually the same functional steps required when using Flex builder. What we have to do is tell the mxml compiler where the xml config file is that tells it what to do with our new “ColdFusion” remote object destination
So one of the files that gets installed when you run the Mystic cf updater is the {WEB-INF}/Flex/flex-enterprise-services.xml. I grabbed a copy of this file and put it in the /flex/frameworks/ folder that I created when setting up my sdk files. Make sure that line 36 (or so) of that file has the correct port for your mystic instance.
Now in your Ant file you need to add one more argline to my compile task.
This tells the compiler to look for the information on services in that file. If you want to put your xml file somewhere other than in frameworks, this is where you tell the compiler how to find it.
So just for the record this is how my Ant file looks now.
01 Mar 2006 Simeon

How would you debug and trace?
How would you get Net Conection Debugger working?