View unanswered posts | View active topics



Reply to topic  [ 227 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  Next
Build SWC from FD! "ExportSWC" plugin [beta] 
Author Message
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Reply with quote
Hi,

I'm currently running FD3b8 with ExportSWC plugin (version 1.0.0.12493) and I ran in these exceptions:

Code:
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

   bei ExportSWC.PluginMain.PaintTreeNodes(ICollection`1 nodes)
   bei ExportSWC.PluginMain.RepaintNodes()
   bei ExportSWC.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
   bei PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

(translated: Object reference not set to an instance of an object)


OR:

Code:
startIndex darf nicht länger als die Länge der Zeichenfolge sein.
Parametername: startIndex

   bei System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   bei ExportSWC.PluginMain.PaintTreeNodes(ICollection`1 nodes)
   bei ExportSWC.PluginMain.RepaintNodes()
   bei ExportSWC.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
   bei PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)


(translated: startIndex may not be longer than string. Parameter: startIndex)

I don't know if this matters but this happend to me sometimes while working on an AS3 project and more often in an AS2 project.

In an AS3 project this error happens only(?) when I open the project, in an AS2 project this error happens when I open the project AND when I select another file in project manager (but the select problem seems only to occur if I closed a AS3 project and open a AS2 project).

Additional informations:
- XP Pro SP3
- .NET 1.0, 1.1, 2.0, 3.0, 3.5 installed
- FlashDevelop 3 Beta 8

I hope this information is useful.

Warappa

PS: I love this plugin!!!

_________________
Practice always defeats theory


Fri Aug 29, 2008 7:54 am
Profile WWW
Member

Joined: Sun Sep 21, 2008 1:03 pm
Posts: 13
Reply with quote
This was because I used old version of ExportSWC. Downloaded 1.0.0.12493 version which is more sophisticated and it works good right now. I guess there should be one repo with latest versions for safier plugin installation


Having trobles with latest beta (9) and ExportSWC plugin. I've created dummy project with FD3 wizard and was trying to compile SWC on src directory, which is automatically added to the classpath.
So when I hit the ExportSWC button, the following exception was raised:

Code:
System.MissingMethodException: Method not found: "System.String ProjectManager.Projects.AS3.MxmlcOptions.get_Additional()".
   в ExportSWC.PluginMain.Export(Object sender, EventArgs e)
   в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   в System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   в System.Windows.Forms.ToolStrip.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


What am I doing wrong?
Thanks


Sun Sep 21, 2008 1:09 pm
Profile
Member

Joined: Wed Mar 19, 2008 10:15 pm
Posts: 36
Location: Sydney, Australia
Reply with quote
Hi Warappa, ExportSWC does not support AS2 projects (yet) so perhaps this might be the problem for AS2 projects?
As for the AS3, I've been very busy lately and haven't tested the plugin against the new FD so hopefully I can find out soon.

Could you please post the details of the steps required to replicate?
thanks.


Thu Oct 02, 2008 12:28 am
Profile
Member

Joined: Wed Mar 19, 2008 10:15 pm
Posts: 36
Location: Sydney, Australia
Reply with quote
mico,

Quote:
What am I doing wrong?


I think this may be the result of the plugin being out of date with the latest FD source.
JonasB make some changes so I will merge the latest builds with the latest FD source and release it soon.

cheers.


Thu Oct 02, 2008 12:31 am
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Reply with quote
Hi dragonworx,

It's not that difficult. Roughly these are the steps:
- open an AS 2 project or closing an AS 3 project and open an AS 2 project
- click on an as-file in the project explorer
- now you've got a litte exception-window in front of you ;)

(Again: Thanks for your effort you put into this little piece of software!)

PS: I'm currently on FD3 Beta 9

Warappa


Thu Oct 02, 2008 9:20 pm
Profile WWW
Member

Joined: Wed Oct 15, 2008 9:30 am
Posts: 9
Reply with quote
Hey ... is it possible to create resource SWC with graphic rather than classes ?


Wed Oct 15, 2008 9:30 am
Profile
Member

Joined: Wed Mar 19, 2008 10:15 pm
Posts: 36
Location: Sydney, Australia
Reply with quote
hey sorry I haven't been able to respond lately, work is draining my time.

I am going to move this project to an opensource hosting site like code.google.com/hosting and add the source for all to use/branch. I'll most likely administer the trunk for QA but any branches are welcome.

I'll post an announcement soon so that you can create your own branches and hopefully merge something great which can be included with the FD project trunk.

If anyone has some suggestions over which opensource hosting provider to use (free of course), please share them.

cheers!


Thu Oct 23, 2008 5:10 am
Profile
Member

Joined: Sun Sep 21, 2008 1:03 pm
Posts: 13
Reply with quote
When creating new .as class 3.0.0 RC1 there is an exception about ExportSWC:

'В экземпляре объекта не задана ссылка на объект.

в ExportSWC.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
в PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)'

That first line is translated as 'Null reference exception'


Mon Nov 24, 2008 7:04 am
Profile
Member

Joined: Wed Jul 02, 2008 10:30 am
Posts: 23
Reply with quote
First of all, for all the people that are getting the
"System.MissingMethodException: Method not found: "System.String ProjectManager.Projects.AS3.MxmlcOptions.get_Additional()". error:

Download this plugin:
http://curlyben.com/fd3/ExportSWCPlugins.zip

It has been posted on the 1st page of this thread and it works great. NOT the link on the first post!

I have a question. I can create the swc i want and i works just fine inside flashdevelop. Just a simple SWC only with code (no graphics, no sprites) but when i try to use it inside flash CS3 it does not work. I drag it from the components panel on the stage but nothing is added. I am sure i am doing something wrong with the configuration or the classes themselves. Anyone has any experience please help.

Thnx in advance. Keep up the good job.


Wed Nov 26, 2008 11:20 am
Profile
Member

Joined: Sun Sep 21, 2008 1:03 pm
Posts: 13
Reply with quote
I have just downloaded latest FlashDevelop development build and installed these: http://curlyben.com/fd3/ExportSWCPlugins.zip but export swc icon is disabled, why is that? The same is for latest beta.


Fri Dec 19, 2008 12:14 pm
Profile
Member

Joined: Wed Mar 19, 2008 10:15 pm
Posts: 36
Location: Sydney, Australia
Reply with quote
Apologies for not supporting recent changes, time is like a small amount of cold butter on a large piece of bread...hard to spread.

Warappas has made a fix for FD3 which I am just about to receive and repost, however this had led me to undertake setting up an opensource repository somewhere, to merge all current branches and start a publicly available project.

I'm thinking SourceForge over CodePlex or GoogleCode, any suggestions?

Please list any branches that you have of this plugin so that I can merge them together asap.

cheers!


Fri Jan 23, 2009 3:52 am
Profile
Member

Joined: Thu Mar 27, 2008 2:13 pm
Posts: 212
Reply with quote
I get following error with 3.0.0.8:
Quote:
System.MissingMethodException: Method not found: 'System.String ProjectManager.Projects.AS3.MxmlcOptions.get_Additional()'.
at ExportSWC.PluginMain.Export(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
What was the last FD version able to export SWCs with this plugin?

_________________
Was seen using 4.0.4 RTM b2 rev. 2337 on Win7 .NET 2.0 on July 29th, 2012


Tue Mar 03, 2009 10:35 am
Profile
Member

Joined: Thu Mar 27, 2008 2:13 pm
Posts: 212
Reply with quote
Never mind the above, this solved it:
antara wrote:
First of all, for all the people that are getting the
"System.MissingMethodException: Method not found: "System.String ProjectManager.Projects.AS3.MxmlcOptions.get_Additional()". error:

Download this plugin:
http://curlyben.com/fd3/ExportSWCPlugins.zip

It has been posted on the 1st page of this thread and it works great. NOT the link on the first post!

_________________
Was seen using 4.0.4 RTM b2 rev. 2337 on Win7 .NET 2.0 on July 29th, 2012


Tue Mar 03, 2009 10:52 am
Profile
Member

Joined: Tue Dec 16, 2008 5:06 am
Posts: 11
Reply with quote
Hi People,

Any news about the new plugin version compatible with RC1 release?... thanks

Greetings... :D


Thu Mar 05, 2009 3:15 am
Profile
Member

Joined: Wed Mar 19, 2008 10:15 pm
Posts: 36
Location: Sydney, Australia
Reply with quote
Yes!! Very good news! <drumroll...>

SourceForge.net have approved ExportSWC as an opensource project so it is now officially available for developer contribution... 8)

There is only one "tiny" detail of actually uploading the source via SVN which I am getting round to doing asap. :oops: Will announce when officially and completely available for opensource contribution.

cheers!


Fri Mar 27, 2009 4:35 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 227 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  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:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.