| Author |
Message |
|
CorsonS
Member
Joined: Tue Feb 26, 2008 6:44 pm Posts: 28 Location: United Kingdom
|
 Developing Plug Ins
Philippe
I caught your 2005 posting Plugin Development kit tutorial and would like to build a plugin to create the web page for viewing the swf and to copy the SWFObject code to the Bin directory.
1. Do I need to download the FD SVN to get at (reference) PluginCore dll
2 Do I need to use VS 2005 as i have tried with VS2003 and get an error message when selecting the PrgFiles/FD/ directory PluginCore.dll
3 Where is the svn?
Many thanks
Steve
|
| Thu Apr 24, 2008 1:25 pm |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 10740 Location: Paris, France
|
The dev kit is now quite outdated.
You should download the source ( http://svn1.cvsdude.com/osflash/flashdevelop/Trunk/FD3/) and Microsoft C# Express 2008.
You'll find a sample plugin in External/Plugins/SamplePlugin.
Looking at existing plugins source is a great source for learning the application architecture.
|
| Thu Apr 24, 2008 1:27 pm |
|
 |
|
pHk
Member
Joined: Tue Jul 29, 2008 7:19 am Posts: 4
|
 Re: Developing Plug Ins
Maybe you should put a sticky up with that info, to make it easier for people to find how they should go about creating plug-ins?
|
| Sat Sep 20, 2008 6:47 pm |
|
 |
|
Infinite
Member
Joined: Fri Jun 08, 2007 4:39 am Posts: 60 Location: Seattle, WA
|
 Re: Developing Plug Ins
I would love a very simple "Hello World" starter project for those of us that know that need a leg up in Plug-in development.
_________________ Bla bla bla.
|
| Tue Sep 23, 2008 4:51 pm |
|
 |
|
xMCNUGGETx
Member
Joined: Wed Apr 19, 2006 12:39 pm Posts: 303
|
 Re: Developing Plug Ins
Did you check the SamplePlugin from the svn?
|
| Tue Sep 23, 2008 5:12 pm |
|
 |
|
luiscubal
Member
Joined: Thu Aug 21, 2008 10:13 pm Posts: 119
|
 Re: Developing Plug Ins
Also, check the wiki page for plugin development: http://www.flashdevelop.org/wikidocs/in ... evelopmentIt's still incomplete, but it might help.
|
| Tue Sep 23, 2008 9:06 pm |
|
 |
|
andya
Member
Joined: Tue Nov 18, 2008 2:52 am Posts: 1
|
 Re: Developing Plug Ins
Is there any exmple to develop plugin using Delphi?
Thanks
|
| Tue Nov 18, 2008 2:55 am |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 10740 Location: Paris, France
|
 Re: Developing Plug Ins
andya wrote: Is there any exmple to develop plugin using Delphi?
Thanks Delphi.Net may work (a plugin is just a .NET DLL) - but I think the problem is that Delphi.Net uses its own VCL instead of WinForms.
|
| Tue Nov 18, 2008 3:48 pm |
|
 |
|
rnelson
Member
Joined: Mon Mar 23, 2009 11:01 pm Posts: 31 Location: Bellevue, WA USA
|
 Re: Developing Plug Ins
Are there any rules regarding the Editor window margins? Scintilla only allows 5 margins. FlashDevelop is currently using 3 of those leaving 2 unallocated. I would like to use margin 3 for the debugger to display breakpoints (with two different icons depending on the enabled state). This would allow breakpoints to be set, enabled and disabled by clicking in the margin.
|
| Tue Apr 28, 2009 5:00 pm |
|
 |
|
Mika
Admin
Joined: Tue Aug 30, 2005 6:14 pm Posts: 2535 Location: Finland
|
 Re: Developing Plug Ins
No, you can use it freely. FD offers basic breakpoint functionality already so just beware that it does not interfere with your implementation.
|
| Tue Apr 28, 2009 7:36 pm |
|
 |
|
rnelson
Member
Joined: Mon Mar 23, 2009 11:01 pm Posts: 31 Location: Bellevue, WA USA
|
 Re: Developing Plug Ins
What basic breakpoint functionality does it provide already? Are you talking about fdbplugin?
|
| Tue Apr 28, 2009 8:31 pm |
|
 |
|
Mika
Admin
Joined: Tue Aug 30, 2005 6:14 pm Posts: 2535 Location: Finland
|
 Re: Developing Plug Ins
FD internally has already breakpoints functionality. If you set the IMainForm.BreakPointsEnabled to true you can toggle breakpoints by clicking the margin and keeping, if i remember correctly, shift key down.
This does not have different states but if you have ideas how to improve it we could change this functionality so that other languages could use it too. We could also just remove the functionality if it's not necessary or if it's too restrictive. What do you think?
|
| Wed Apr 29, 2009 6:54 am |
|
 |
|
rnelson
Member
Joined: Mon Mar 23, 2009 11:01 pm Posts: 31 Location: Bellevue, WA USA
|
 Re: Developing Plug Ins
I noticed that after I posted the message. What I've done with FlexDbg is define 3 new markers, one for enabled breakpoint (3), one for disabled breakpoint and one for current line . I configured them to use margin 0 the same as the existing BP support and enabled mouse clicks for margin 0. Then each time you click next to a line it cycles between enabled bp, disabled bp and no bp. So there is no effect if FlexDbg isn't installed and the existing support is ignored when FlexDbg is installed. The third marker is set to the current line whenever the debugger is paused or at a breakpoint.
|
| Wed Apr 29, 2009 4:58 pm |
|
 |
|
rnelson
Member
Joined: Mon Mar 23, 2009 11:01 pm Posts: 31 Location: Bellevue, WA USA
|
 Re: Developing Plug Ins
Mika,
I'm also planning on adding a fourth marker for the case where the breakpoint couldn't be set, usually because that source file isn't part of any swf that is loaded.
|
| Wed Apr 29, 2009 6:10 pm |
|
 |
|
rnelson
Member
Joined: Mon Mar 23, 2009 11:01 pm Posts: 31 Location: Bellevue, WA USA
|
 Re: Developing Plug Ins
Mika and Philippe,
Is there any way to extend the project settings with plugin specific settings? I would like to have an additional Debug tab with per project debugger settings.
|
| Wed May 06, 2009 4:12 pm |
|
|