SapphireSteel Forum
Welcome, Guest. Please login or register.
June 19, 2013, 12:16:42 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
3893 Posts in 803 Topics by 672 Members
Latest Member: davib
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  Build 797 Bugs
« previous next »
Pages: 1 [2] Print
Author Topic: Build 797 Bugs  (Read 6879 times)
Luth
Jr. Member
**
Posts: 59


« Reply #15 on: January 16, 2010, 03:18:07 PM »

Cool  (This may have been intentional, but it's awfully annoying.)  AS class files outside the project but opened in VS under Amethyst will not be capable of auto-formatting.
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1006


« Reply #16 on: January 16, 2010, 04:23:40 PM »

It was intentional, but I've just had a look at what C# does - and it does provide IntelliSense and formatting (but no Find All References or Go To Definition).

I can't really see why I didn't include this in the first place, it's not difficult to do.

So I'll make sure it's in the next (full) beta.

Dermot
Logged
Luth
Jr. Member
**
Posts: 59


« Reply #17 on: January 16, 2010, 09:10:41 PM »

TA mate.
Logged
frank
Jr. Member
**
Posts: 72


« Reply #18 on: January 21, 2010, 12:22:17 PM »

Hi Dermot,

If you look under Tools | Options | Projects | Amethyst you'll see two Web Browser properties. By befault these are set to IE and Firefox. You can switch between them dynamically by choing Amethyst from the main menu and right clicking 'Use Seconadry Browser' (it toggles).

However, the 'browser' in these properties can be any executable, so try setting the primary browser (say) to 'C:\Program Files\Flex 3 SDK\bin\adl.exe' (on my machine). Then when you try to debug, the IDE program launch will use ADL to run the program and not IE. So using the Flash IDE as the compiler will produce an AIR SWF file which you can then use to ADL to run. Also, that technique should enable you to use the internal Flash player to run Flash SWFs.

I tried to switch from IE to the Flash player (that's inside the installtion folder of Flash inside the folder called Players) and even though Visual studio is able to run it when I press F5 my swf doesn't get loaded.

I try to run the flash player from the shell passing the swf file as paramenter and it loads that correctly.

Am I missing something?

Thanks,
Frank
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1006


« Reply #19 on: January 22, 2010, 04:40:07 AM »

You need to override the 'Launch Page'.

By default, this is 'xxx.html' because the system expects to use a browser. But the Flash Player expects an SWF - it doesn't like a HTML extension. So you need to set the 'Launch Page' to 'xxx.swf'

To to this, select Project Properties | Web | and set the 'Launch Page' to say 'F:\Data\Test\HelloFlex\bin\Debug\HelloFlex.swf' (for my test program). Then F5 will run the Player with the SWF. I've just checked this and it works here.

Don't forget to set the correct version of the Flash Player in the primary/secondary browser if you want debugging.

Dermot
Logged
Pages: 1 [2] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!