38 Replies Latest reply: Apr 18, 2012 12:12 AM by SunilRana_Gateway RSS

    Design view in FB 4.5 not working

    Harbs. CommunityMVP

      I have multiple projects that when viewed in FB 4, show in design view perfectly. I have custom skinning and it all looks like it should.

       

      I moved these projects over to FB 4.5, and they all look terrible. It basically makes the design view unusable.

       

      I have a Flex 4 project with spark components and spark skinning which shows up correctly, but all my mx projects with classic mx skinning does not show up at all.

       

      Suggestions?

        • 1. Re: Design view in FB 4.5 not working
          migueldmag Community Member

          Hi

          I Have multiples project using Flex sdk 4.1 and the FB 4.5 design view does NOT work! Why ???

           

          I'm very very disappointed with FB 4.5.

           

          Best Regards,

          Miguel

          • 2. Re: Design view in FB 4.5 not working
            migueldmag Community Member

            Hi

             

            So Adobe doesn't have any answer to this problem?

             

            Best regards,

            Miguel

            • 3. Re: Design view in FB 4.5 not working
              cut-copy-paste Community Member

              I had the same problem. Tried the 4.5 trial.. and it didn't even come with the 4.0 and 4.1 SDKs .. which seems like a bizarre thing to leave out. So I pointed it to the SDKs on my FB 4.0 install and it says "Design mode is disabled as the project uses an incompatible version of the FLEX SDK"

               

              pretty bad experience with the new version so far!  you'd think they woulda thought people would be using flex 4 projects in it...

              • 4. Re: Design view in FB 4.5 not working
                AlexOrz

                same disappointed

                 

                cannot believe when i change sdk 4.1 to 4.5 complie error occured

                 

                but cannot design sdk 4.1 project in 4.5 ide

                 

                why adobe sells this kind of product...

                • 5. Re: Design view in FB 4.5 not working
                  Adrien. Community Member

                  i love the thread hijacking going on.

                   

                  try going import flashbuilder project - folder option - select your project folder and try that

                  • 6. Re: Design view in FB 4.5 not working
                    WebTrauma Community Member

                    I can't get Design view to work at all in FB 4.5 plugin Mac Cocoa 32 bit.

                    • 7. Re: Design view in FB 4.5 not working
                      jaco_graaff Community Member

                      aaaarrrggghh

                       

                      I installed a plugin from http://www.elementriver.com/sourcemate3 and also a code-color plugin from eclipse

                       

                      and now suddenly after a restart my design mode is greyed out!!!!

                       

                      What can I do??

                      • 8. Re: Design view in FB 4.5 not working
                        WebTrauma Community Member

                        I've tried all the suggested fixes with no luck.

                         

                        Can someone from Adobe let us know if they need any info to diagnose fix this problem in a new build ?

                         

                        thanks !!!

                        • 9. Re: Design view in FB 4.5 not working
                          AlexOrz Community Member

                          in my opinion

                          flex builder 3 only fullly supports flex 3 and 2, flex 4~ are not supported and the ide cannot create setter/getter and format/cleanup the source code

                          flash builder 4 supports flex 4 and 3.X as well but compiler is huge slow and has memory leak and crash issue even tune up xmx=1024

                          flash builder 4.5 only supports flex 4.5 and 3.6 but 4.0, 4.1, 3.0, 3.2 are not supported and compiler still huge slow has memory leak and crash issue even tune up xmx=1024

                           

                          and in my case upgrade project from (below 3.6) to 3.6 or (below 4.5) to 4.5 will occur a compile error

                           

                          so you can only use flash builder 4.5 to build flex sdk 3.6 or 4.5 project currently i think

                          and need an i7 CPU for all version ide

                          • 10. Re: Design view in FB 4.5 not working
                            cvangoethem Community Member

                            If you switch back to SDK 4.5 it works

                            • 11. Re: Design view in FB 4.5 not working
                              WebTrauma Community Member

                              False statement.

                               

                              I have the 4.5 SDK selected and design view does not work with the FB 4.5 Plugin on my Mac with Eclipse Cocoa 32 bit.

                               

                              Design View is the ONLY reason I haven't switched to IntelliJ.

                              • 12. Re: Design view in FB 4.5 not working
                                markster7778 Community Member

                                I am having many issues with 4.5 not working | debugger crashing | platforms not showing(only google android) available |

                                services not connecting |  on and on

                                 

                                very disappointed

                                • 13. Re: Design view in FB 4.5 not working
                                  Rangora Community Member

                                  @Markster7778 Did you enabled other platforms for your application in the project properties?

                                   

                                  I'm using FB 4.5 for more than 2 months (7h/day) and my debugger didnt crash once... my design view also works well (didnt try older sdk projects). In fact, I dont think the IDE crashed once since I use it. My service is also connecting as it should on every attempt...

                                  • 14. Re: Design view in FB 4.5 not working
                                    WebTrauma Community Member

                                    Are you using FB 4.5 stand alone or plug in ?

                                     

                                    I have no problems with stand alone FB, but the eclipse plug in is an absolute nightmare...one of the buggiest bits of kit I've ever suffered with.

                                    • 15. Re: Design view in FB 4.5 not working
                                      Rangora Community Member

                                      I use the standalone version. Sorry, I didnt notice you were talking of the eclipse plugin

                                      • 16. Re: Design view in FB 4.5 not working
                                        markster7778 Community Member

                                        I was using the plugin and now have the standalone all working fine.

                                        Plus needed to be updated.

                                        Wish i had a mac for iOS sdk

                                        Im pretty sure i need one to develop apps for aple?

                                         

                                        Mark B

                                        • 17. Re: Design view in FB 4.5 not working
                                          Rangora Community Member

                                          No you can develop apps for iOS from Windows. It's a little bit more complicate (you must generate a certificate from the command line) but I did it and it works well. I have a mac but I didnt use it and I am debugging an app on my Ipad 2 without any problem! There is a page on the adobe website about the signing process for ios on windows : http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html#WSfff b011ac560372f284e44b012cd1e700c0-8000

                                          • 18. Re: Design view in FB 4.5 not working
                                            markster7778 Community Member

                                            Thanks!

                                            I am reading through the information and it sounds like open ssl will save me the developer fee of $90 bucks at apple.

                                            Creating the id is free with apple but they stop at the certificate procurement(provisioning portal) and require a fee.

                                              may be you can answer a question?

                                            I want to use my application with facebook (and several other platforms)

                                            Will I need to create or request certificates for each of them?

                                            do I need to download each individual sdk and api?,...for each platform?

                                             

                                            Thanks for your time!

                                            • 19. Re: Design view in FB 4.5 not working
                                              Rangora Community Member

                                              You will have to pay anyway... You need a file that you download from the Apple dev acount page...

                                               

                                              In fact, you should use the AS3 API for those platform. http://www.adobe.com/devnet/facebook.html (for facebook). NOTE : I didnt try the library and it might not work on a real iOS device (if the library try to do unautorized call to the OS).

                                               

                                              You must understand that you cannot import an iOS library in AIR (coded in objective-c) or a java library (coded for Android). You are in AIR, you must develop in Actionscript and use AS3 libraries and you must keep in your mind that some libraries aren't design for mobiles and might crash the app on iOS (real device only, not emulator and only when you do a standard deployement).

                                              • 20. Re: Design view in FB 4.5 not working
                                                markster7778 Community Member

                                                Thanks for the info rangora!

                                                 

                                                I am trying to work with a tutorial creating a mobile twitter app

                                                (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/flex/articles/twitter -trends/build-first-mobile-flex-app.pdf)

                                                .

                                                 

                                                Following the tutorial:..

                                                Trying to connect  the data service with the url he gives (http://search.twitter.com/trends.json)

                                                returns 404 not found... URL changed since tutorial was made maybe? I dont know?

                                                 

                                                So went to twitter here (https://dev.twitter.com/docs/api/1/get/trends) and used this

                                                (http://api.twitter.com/1/trends.json)

                                                and was connected via flashbuilder test. ok good.

                                                 

                                                The tutorial has me set the name of the app in the properties dialouge under common as "twitter trends" then

                                                continue on,  and set debug configurations then run.

                                                 

                                                The app never connects..... and allways shows.. "Home View" as the title.??( I named the app twitter trends in the wizaed setup and in properties )

                                                I am sure you can tell by now I am new to  flash builder!

                                                 

                                                Also Red Circle with X in gutter.. shows within the view file's source page,  (not the application File) stating---   "Cannot resolve attribute 'viewActive' for component type spark.components.View". this occurs after trying to insert  viewActive="refresh()"  into the <s:view> tag,  in which the tutorial calls for this to be done to refresh the page view when using the "back control" in the app.(switching views)

                                                4.5 returns red X error saying.. parse error.. must be inside <fx:declaration> tag...  so I put it in there,  and

                                                4.5  returns error ... cannot follow <s: callresponder>.(which is inside the declaration tag) so I moved it between the </fx:script tag>

                                                and the <fx:Declarations> tag> and still the same error statement....huh...it is not inside the declarations tag anymore and still in the s:view tag's scope, just lower in the page.

                                                 

                                                hoping to find some kind of answer to this.

                                                 

                                                "just trying to learn"

                                                Thanks

                                                • 21. Re: Design view in FB 4.5 not working
                                                  Rangora Community Member

                                                  For the callResponder, the s:view scope is where it should be placed, you are ok.

                                                   

                                                  For the viewActive, I think Adobe renamed this event viewActivate after the beta (I might be wrong on this one, but i'm pretty sure you can use viewActivate). It will call refresh() everytime the view is loaded. (after the creation, after a push or a pop or when the user come back from the OS).

                                                   

                                                  The reason why you see an empty home page when you launch the app is because you can't run an app containing errors so the version launched is the last working copy of your app (in your case, an empty app).

                                                  • 22. Re: Design view in FB 4.5 not working
                                                    rayliner Community Member

                                                    I had a similar problem, and after some hair-pulling with not being able to switch to design mode, I found an option under "Window" tab called "Enable Design Mode".  I picked that one, and it allowed me to use design mode after that (It also put a checkbox on that option if you look at the window tab again).

                                                    • 23. Re: Design view in FB 4.5 not working
                                                      code_away Community Member

                                                      I downloaded FB 4.5.1 and imported my Flex3 project. I have the same issues, http://forums.adobe.com/thread/894388. Many windows (TitleWindow) don't appear in the Design view.

                                                       

                                                      I'm disappointed in Adobe. Further complicating the issue,  FB3 doesn't work on Mac 10.7 (Lion).

                                                       

                                                      I would upgrade my project to Flex4.5 but that requires Flash 10.2, which I'm sure some of my existing end-users don't have yet (have a SaaS solution that targets enterprise customers).

                                                       

                                                      Not too many options for me..

                                                      • 24. Re: Design view in FB 4.5 not working
                                                        code_away Community Member

                                                        I have to wonder, does anyone from Adobe plan on responding? Even if it's to just acknowledge the issues... and better, say what direction they plan on taking (remediating or otherwise). Not sure about you, but I I feel completely left in the dark here.

                                                        • 25. Re: Design view in FB 4.5 not working
                                                          rayliner Community Member

                                                          I agree with you. I called adobe today, but they refused to help me because I am using the trial version of flashbuilder. They wouldn't help me unless I had a license - now why would I ever purchase something that I know won't work in my situation without assurances they can help get it running.

                                                           

                                                          Btw, did you have a previous version of flexbuilder or flashbuilder loaded prior to this current install?

                                                          Ray Shirley

                                                          The Boeing Company

                                                          Cell: 562-889-0996

                                                          • 26. Re: Design view in FB 4.5 not working
                                                            Michelle Yaiser Employee Hosts

                                                            In a related thread about design view problems http://forums.adobe.com/thread/850869?decorator=print&displayFullThread=true  Andrew Shorten, wrote: 

                                                             

                                                            Flash Builder 4.5 provides support for Flex 3.x and 4.x SDKs, with the exception, as you've noted, of design view. The design view is only supported for Flex 3.6 and Flex 4.5.

                                                             

                                                            We understand that not having design view support for Flex 4.0 and 4.1 SDKs is an issue for some customers - unfortunately the only workaround at this time is to use Flash Builder 4.0.

                                                             

                                                            Supporting design view for all SDKs in Flash Builder is something we want to re-enable in a future version of the product, there are however architectural changes that we need to make before that can happen.

                                                             

                                                            If you need access to the installer for Flash Builder 4.0, so as to install Flash Builder 4.0 and 4.5 side-by-side, please contact our customer support team.

                                                             

                                                            Yesterday he wrote a blog post about the future of Flex http://blogs.adobe.com/flex/2011/08/flex-where-were-headed.html 

                                                             

                                                            I know this does not solve your issues but I hope it gives you more information than you previously had.

                                                             

                                                            Michelle Yaiser

                                                            Sr. Content & Community Lead

                                                            Adobe

                                                            • 27. Re: Design view in FB 4.5 not working
                                                              rayliner Community Member

                                                              I have several outstanding issues right now.  IF this is in regards to not being able to click on the Design tab in order to get into design view, you missed the boat....  After looking through all the options and preferences, I found that if I go to Window-Enable design View, it allows me to then use the design view.  I'm not sure how that option got turned off, nor do I know why you would ever want to disable the design view, but that took care of my problem.

                                                               

                                                              I still have several other outstanding issues... One of them the Adobe phone support 'elected' to not help me with....  Very disturbing.

                                                               

                                                               

                                                              Ray Shirley

                                                              cell phone:  562/889-0996

                                                              • 28. Re: Design view in FB 4.5 not working
                                                                code_away Community Member

                                                                No previous version of Flex Builder was installed - I just purchased a spanking new Macbook Pro (with Lion) and anxiously wanted to get the latest dev tools and make incremental (flex3) and then a major update (flex4) to my app.

                                                                 

                                                                Like you, I downloaded the trial. Good thing I didn't purchase yet. Now I'm dusting off my Mac Mini which has FB3.  

                                                                • 29. Re: Design view in FB 4.5 not working
                                                                  rayliner Community Member

                                                                  Try calling it into their support.  Amazingly I didn't wait too long for an answer. I asked for a callback, and they called within 10 minutes (like the record said).  I didn't fight with them too much, cause I was late for a meeting.  Maybe you can convince them that you are a potential customer.  I will probably call back when I have a longer amount of time.  I just hadn't expected them to call back so quickly.

                                                                   

                                                                   

                                                                  Ray Shirley

                                                                  cell phone:  562/889-0996

                                                                  • 30. Re: Design view in FB 4.5 not working
                                                                    code_away Community Member

                                                                    Ray,

                                                                     

                                                                    My Design View option was already Enabled. My window and UI components still don't appear - except for my "main" application window (and even then, my button icons don't appear).

                                                                     

                                                                    Code_away

                                                                    • 31. Re: Design view in FB 4.5 not working
                                                                      meteorpinball Community Member

                                                                      Flash Builder 4.5 is a joke. Even when I run a project in Design Mode, the entire interface refreshes after every single change. Font Size 11 -> 12? Wait for Refresh. BorderAlpha 0-9 -> 0.7 Wait for Refresh.

                                                                      Lucky for Adobe, developer costs are picked up by my company. I'd ask for a refund.

                                                                      • 32. Re: Design view in FB 4.5 not working
                                                                        AlanChristian Community Member


                                                                        Issue:  problems dragging components on to Design stage or Design Mode Fails. 

                                                                         

                                                                        I do not appear to have "design mode" tab or window issues but when I would drag a component on to the screen I would get the circle-backslash symbol.  Related issues: errors state "this panel is only available in design mode" and "An unknown item is declared as the root of your mxml document switch to source mode to correct it"

                                                                         

                                                                        Since I was getting the error in my current project I tried a brand new project, (building a new Android mobile project) and got the same error using Adobe base source code. 

                                                                         

                                                                        Fix (it's not pretty):  export the project to an FXB, create a new workspace, import the project into the new work space.  It did solved the problem for me. 

                                                                         

                                                                        Steps. 

                                                                        1>File>Export Flash Builder Project

                                                                        2>Project{create a name or use the one you have}>Save to desktop

                                                                        3>Create a new folder in your directory

                                                                        4>File>Import Flash Builder Project

                                                                        5>Good luck. 

                                                                        • 33. Re: Design view in FB 4.5 not working
                                                                          code_away Community Member

                                                                          Nothing works for me. Tried importing a few more times. Did an export then import. In one case, a created a TitleWindow from scratch, copied the old code to the new one, then the UI elements appeared. Then I closed the window then reopened it, only to no longer see the UI elements (simply shows gray screen). I tried refreshing, switch back and forth between Source and Design view.

                                                                           

                                                                          I'm still awaiting to hear from Adobe on this issue, as I'm sure they are aware of it.

                                                                          • 34. Re: Design view in FB 4.5 not working
                                                                            bellesoft Community Member

                                                                            For what is worth, mobile design view was not working for me on a Mac. Neither with 4.5 or 4.5.1. I got it to work by creating a new, clean workspace with nothing on it. then if you create a mobile project using the wizard it all works. I beleive if you have existing project on the worspace mobile design view does not work.

                                                                             

                                                                            Hope this helps somebody.

                                                                            • 35. Re: Design view in FB 4.5 not working
                                                                              KamalAanand Community Member

                                                                              I had the same Design mode being disabled problem. I ended up enabling it back after selecting "Enable Design Mode" from Windows menu in Flash builder 4.5.

                                                                               

                                                                              Could be the same case of accidental disabling for some one else. Just check if this helps.

                                                                              • 36. Re: Design view in FB 4.5 not working
                                                                                code_away Community Member

                                                                                @KamalAanand, my Enable Design Mode option was enabled. After much tinkering, I found the issue. See below.

                                                                                 

                                                                                 

                                                                                ISSUE & ROOT CAUSE:

                                                                                As previously mentioned, for many of my TitleWindows, Design View doesn't work. So, today I downloaded and installed FB 4.6 hoping it would somehow address the issue. Of course, it doesn't. Anyhow, if you have a flex 3.6 titlewindow with say a button with embedded icon, the Design View WON'T appear!!!

                                                                                 

                                                                                EXAMPLE CODE THAT WILL BREAK DESIGN VIEW:

                                                                                 

                                                                                <?xml version="1.0"?>

                                                                                <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="250" height="204" layout="absolute">

                                                                                 

                                                                                <mx:Button label="Button2" icon="@Embed(source='assets/accept.png')"  id="btnUsePicture"/> 

                                                                                 

                                                                                </mx:TitleWindow>

                                                                                -----------------

                                                                                 

                                                                                Now, remove "icon="@Embed(source='assets/accept.png')" and design view will work.

                                                                                 

                                                                                Can someone from Adobe provide an official comment? I'm shocked that Adobe didn't catch and fix this.

                                                                                • 37. Re: Design view in FB 4.5 not working
                                                                                  Giuseppe Muccioli Community Member

                                                                                  Try with ALT+PGUP or ALT+PGDOWN (Works on Mac OS)

                                                                                  -g

                                                                                  • 38. Re: Design view in FB 4.5 not working
                                                                                    SunilRana_Gateway Community Member

                                                                                    Try Below steps :

                                                                                     

                                                                                    selecting "Enable Design Mode" from Windows menu in Flash builder 4.5.

                                                                                     

                                                                                    Could be the same case of accidental disabling for some one else. Just check if this helps.