|
From: Alias <ali...@gm...> - 2005-11-14 00:17:23
|
HI guys, I think it's worth pointing out that Luke has actually *already* written a pointer on how to get this going - full text can be found here: http://lukebayes.blogspot.com/2005/09/asunit-meets-xulrunner.html here's the relevant excerpt: # Download the zipped files AsUnit 2.7 (alpha) # Download the latest build of XULRunner from Mozilla. # Unzip the createclass.zip file to somewhere on your system that won't cha= nge. # Copy the com folder out of the unpacked classpath folder and put it into some directory that your compiler references. This should be either some place where you tell MTASC to look or if you're using the Flash IDE on windows, it will be somewhere like: C:\Documents and Settings\lbayes\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes # Unzip the files you downloaded from Mozilla to some place that won't change. I put mine into: C:\Program Files\Mozilla\XulRunner # Update your system PATH variable to include the location of xulrunner.exe On windows, this can be done by: * Using Windows Explorer, go to the folder that contains xulrunner.exe * Select the text that appears in the address/location field * Copy it to your clip board * Right-Click My Computer * Choose properties * Select the Advanced tab * Click Environment Variables * In the System Variables, choose the one that says, "Path" * Click the edit button * In the Variable Value field, go all the way to the right, add a semi-colon ";" * Paste the contents of your clip board into this field * Keep choosing OK until the panels all go away # Open up a command prompt (Cygwin if you have it) # Navigate to the folder where you unzipped createclass.zip, step into the xulCreateClass folder # Enter: xulrunner application.ini # Start Playing! Hope this helps, Alias On 11/13/05, jeremy lu <wa...@gm...> wrote: > > hi luke, > > how about a simple instruction on getting the xul ui started working ? := -) > > a few lines of instructions would be good enough. > > ps. currently all i know is drag and drop the *.xul file onto fireworks = and > to no avail. > also tried asunit.html but nothing showed up. > > but the code and test suite itself are really great. > > thanks. > > jeremy. > |