View unanswered posts | View active topics



Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
FlexDesignView Plugin - Alpha 
Author Message
Member

Joined: Wed Apr 19, 2006 12:39 pm
Posts: 312
This plugin allows you to visually edit mxml files. Maximus3d has created a great designview application and I have written the plugin wrapper for it. There are still some rough edges, but it is currently functioning and so we thought others may like to give it a try. The source for the plugin is available at https://designview.svn.sourceforge.net/ ... designview and the compiled plugin can be downloaded from the bottom of this post.

Image
Download Plugin

Installation Instructions
Open FlashDevelop
Goto Tools>Application Files..
This will open an explorer window (note the path)
Close FlashDevelop
Extract .zip to location noted earlier


Last edited by xMCNUGGETx on Tue Jul 21, 2009 4:46 pm, edited 1 time in total.



Thu Oct 02, 2008 12:19 pm
Profile
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 337
Location: Lviv, Ukraine
I have try plugin on current project, and cant open any *.mxml file in "design view" mode.


Error #1069: Property childrenContainer not found on undefinedChild and there is no default value.

Error #1065: Variable is not defined.

code
Code:
<?xml version="1.0" encoding="utf-8"?>

<panels:DocumentView
   xmlns:mx="http://www.adobe.com/2006/mxml"
   xmlns:panels="constructor.panels.*"
   initialize="initializeView()"
   >
   
   <mx:Script>
      <![CDATA[
         import constructor.Global;
      ]]>
   </mx:Script>
   
   <panels:ToolsPanel
      id="tools"
      height="100%"
   />
   
   <mx:Box height="100%" width="100%">
      
      <mx:VDividedBox
         height="100%" width="100%"
         liveDragging="true">
            
         <panels:TimelinePanel
            id="timeline"
            width="100%" height="134"
            minHeight="100"
            maxHeight="200"
         />
         
         <panels:CanvasPanel
            id="canvas"
            width="100%" height="100%"
            borderStyle="inset"
         />
         
      </mx:VDividedBox>
      
      <panels:PropertiesPanel
         id="properties"
         width="100%" height="100"
         bottom="0"
         borderStyle="outset"
      />
   </mx:Box>

</panels:DocumentView>


Sat Oct 04, 2008 3:28 pm
Profile WWW
Member

Joined: Fri May 11, 2007 5:20 am
Posts: 26
Location: Melbourne
Plugin currently supports only mx xmlns. Custom components are not supported.


Sat Oct 04, 2008 10:33 pm
Profile
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 3032
Location: Finland
Seems really good and promising but it needs some small ui fixes. Let me know if you need any help.


Tue Oct 07, 2008 11:05 am
Profile WWW
Member

Joined: Wed Sep 12, 2007 3:15 am
Posts: 30
Looking pretty good.

I am getting the same
Error #1069: Property childrenContainer not found on undefinedChild and there is no default value.

when I manually add the FormItem to the form:

creating the form in design view:
Code:
 <mx:Form x="131" y="155" width="300" height="200">
        <mx:TextInput x="80" y="20" width="160" height="22"/>
        <mx:TextInput x="79" y="64" width="160" height="22"/>
    </mx:Form>


changing to the below throws the error:
Code:
<mx:Form x="131" y="155" width="300" height="200">
      <mx:FormItem>
         <mx:TextInput x="80" y="20" width="160" height="22"/>
      </mx:FormItem>
      <mx:FormItem>
         <mx:TextInput x="79" y="64" width="160" height="22"/>
      </mx:FormItem>
    </mx:Form>

_________________
Rtistique.com
Bzoo - Database for flash


Sun Oct 12, 2008 12:59 pm
Profile WWW
Member

Joined: Thu Oct 23, 2008 2:14 pm
Posts: 1
It appears not to support children at the moment. I am adding copy,paste, and cut functionality right now.

Code:
   break;
                     case "children":
                        // @todo: parse default children here
                     break;
                  }


bzouchir wrote:
Looking pretty good.

I am getting the same
Error #1069: Property childrenContainer not found on undefinedChild and there is no default value.

when I manually add the FormItem to the form:

creating the form in design view:
Code:
 <mx:Form x="131" y="155" width="300" height="200">
        <mx:TextInput x="80" y="20" width="160" height="22"/>
        <mx:TextInput x="79" y="64" width="160" height="22"/>
    </mx:Form>


changing to the below throws the error:
Code:
<mx:Form x="131" y="155" width="300" height="200">
      <mx:FormItem>
         <mx:TextInput x="80" y="20" width="160" height="22"/>
      </mx:FormItem>
      <mx:FormItem>
         <mx:TextInput x="79" y="64" width="160" height="22"/>
      </mx:FormItem>
    </mx:Form>


Thu Oct 23, 2008 2:17 pm
Profile
Member

Joined: Fri May 11, 2007 5:20 am
Posts: 26
Location: Melbourne
joe1985 wrote:
It appears not to support children at the moment.

It was a bug - it was breaking because of attempt to add known components from mx: namespace as displayObject to unknown nondisplay objects.

Now fixed in svn.


Fri Oct 24, 2008 7:30 am
Profile
Member

Joined: Sun Sep 09, 2007 11:41 am
Posts: 3
Hi,

This is a great work guys!

I would like to contribute to this project.. Please let me know if you need help..


Fri Oct 31, 2008 10:49 pm
Profile WWW
Member

Joined: Sun Jan 04, 2009 12:22 pm
Posts: 1
Hi

New to FD and would like to use the DesignView Plugin. Have tried to follow the instructions but cant find the installed plugin? I had thought that perhaps vista has mucked up the naming so I renamed the FlexDesignView-alpha file to FlexDesignView-alpaha.dll and copied it to the plugins dir launched FD which then complained about it.

So stumped :(

regtards

Roy


Sun Jan 04, 2009 2:13 pm
Profile
Member

Joined: Sat Feb 07, 2009 9:35 am
Posts: 5
I am getting errors with this plugin....

I open the Program Files in Flash Develop copy the contents of Data folder (from the FlexDesignView-alpha.zip) into the Data Folder for Flash Develop. I then copy the FlexDesignView.dll to Flash Develop's Plugin Folder.

When I try to open a small test project with an mxml file I get this error...

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at FlexDesignView.Controls.FlexDesignViewArea.InitializeComponent()
at FlexDesignView.Controls.FlexDesignViewArea..ctor()
at FlexDesignView.PluginMain.addControls()
at FlexDesignView.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

This happens even if I create a new project.

Any ideas??

Cheers!


Sun Feb 08, 2009 12:48 am
Profile
Member

Joined: Wed Apr 19, 2006 12:39 pm
Posts: 312
do you have the flash player for internet explorer installed?


Sun Feb 08, 2009 1:23 am
Profile
Member

Joined: Sat Feb 07, 2009 9:35 am
Posts: 5
Check and Check ;-)


Sun Feb 08, 2009 9:34 am
Profile
Member

Joined: Wed Apr 22, 2009 1:32 pm
Posts: 1
hi.
My os is vista ultimate and using FD3 CR2
I following the construction above, how ever, it confused me. After extracted the zip file, I found a file named "FlexDesignView-alpha" which is not a dll file. then I rename it to "FlexDesignView.dll" and copied it to the plugins folder. After I open the FlashDevelop again , the FlashDevelop throwed the exception:

Could not load file or assembly 'file:///C:\Users\yuwm\AppData\Local\FlashDevelop\Plugins\FlexDesignView.dll' or one of its dependencies. The module was expected to contain an assembly manifest.

at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at FlashDevelop.Utilities.PluginServices.AddPlugin(String fileName)
at FlashDevelop.Utilities.PluginServices.FindPlugins(String path)
at FlashDevelop.MainForm.InitializeMainForm()

please give your advice. thank you.


Wed Apr 22, 2009 1:39 pm
Profile
Member

Joined: Fri Jul 25, 2008 6:45 am
Posts: 10
Super!!!
Was looking for this plugin for a long time.
Do let me know if I could assist you in any aspect(specillay C#).
Thanks


Thu Jul 02, 2009 3:17 am
Profile
Member

Joined: Wed Jul 08, 2009 4:42 am
Posts: 1
Plugin is not working, i am unable to see the Design view at any case.


Wed Jul 08, 2009 4:44 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page 1, 2, 3  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.