View unanswered posts | View active topics



Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Developing Plug Ins 
Author Message
Member

Joined: Tue Feb 26, 2008 6:44 pm
Posts: 28
Location: United Kingdom
Reply with quote
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
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Post 
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
Profile WWW
Member

Joined: Tue Jul 29, 2008 7:19 am
Posts: 4
Reply with quote
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
Profile
Member

Joined: Fri Jun 08, 2007 4:39 am
Posts: 60
Location: Seattle, WA
Reply with quote
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
Profile
Member

Joined: Wed Apr 19, 2006 12:39 pm
Posts: 312
Reply with quote
Did you check the SamplePlugin from the svn?


Tue Sep 23, 2008 5:12 pm
Profile
Member

Joined: Thu Aug 21, 2008 10:13 pm
Posts: 119
Reply with quote
Also, check the wiki page for plugin development: http://www.flashdevelop.org/wikidocs/in ... evelopment
It's still incomplete, but it might help.


Tue Sep 23, 2008 9:06 pm
Profile
Member

Joined: Tue Nov 18, 2008 2:52 am
Posts: 1
Reply with quote
Is there any exmple to develop plugin using Delphi?

Thanks


Tue Nov 18, 2008 2:55 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
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
Profile WWW
Member

Joined: Mon Mar 23, 2009 11:01 pm
Posts: 31
Location: Bellevue, WA USA
Reply with quote
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
Profile
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3046
Location: Finland
Reply with quote
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
Profile WWW
Member

Joined: Mon Mar 23, 2009 11:01 pm
Posts: 31
Location: Bellevue, WA USA
Reply with quote
What basic breakpoint functionality does it provide already? Are you talking about fdbplugin?


Tue Apr 28, 2009 8:31 pm
Profile
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3046
Location: Finland
Reply with quote
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
Profile WWW
Member

Joined: Mon Mar 23, 2009 11:01 pm
Posts: 31
Location: Bellevue, WA USA
Reply with quote
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
Profile
Member

Joined: Mon Mar 23, 2009 11:01 pm
Posts: 31
Location: Bellevue, WA USA
Reply with quote
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
Profile
Member

Joined: Mon Mar 23, 2009 11:01 pm
Posts: 31
Location: Bellevue, WA USA
Reply with quote
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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 30 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.