Personal tools

Views

Talk:Flex Builder

From Adobe Labs

If you intend to edit the 'Discussion' tab of this document, you must sign your comment. To do so, simply add four tilde characters as so:

~~~~

...on a new line at the end of your post to add your username and timestamp to the comment. Anonymous or off-topic comments will be removed by the Labs wiki administrators at their discretion.


Table of contents

1 Saving your changes
2 Documentation
3 You can't insert an item into a custom MXML component
4 Web Services/Restaurants Example
5 Problems with debugging ActionScript
6 Problems after installing Flex Builder 2.0 Beta 2
7 Error Installing Flex Builder 2.0 beta 2 as an eclipse plug-in

[edit]

File Sizes

I have downloaded the new Flex 2 Alpha today and have made this simple app.

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*"> <mx:Canvas width="100%" height="100%"> <mx:Label text="Hello World"/> </mx:Canvas> </mx:Application>

When I compile this to a swf, I find that the file size is 243 KB!! Is it supposed to be that big? All it does is output "Hello World." I can't see me using this new flex on my website as it would take 56K users forever to view.

Update: Now I have downloaded the beta and made a simple app with a panel that enlarges with a transition when you click a button. This file size is 184KB. I guess it's an improvement, but it still seems too big. Hopefully the final version won't be so big.

--jag57 18:19, 23 Mar 2006 (PST)

[edit]

Re: File Sizes

The file sizes in the alpha build are definitely larger than they will be in its final release. Part of this is because the tool currently compiles with extra debugging information. In addition, we haven't yet optimized the framework to reduce SWF size. However, Flex applications are somewhat larger than your typical SWF because of the of application framework pieces that get included when you compile.

[edit]

Re: File Sizes

Possibly it might be better to divide one single SWF into several SWFs, one main view below 50k then load other containers, more business style.


[edit]

Re: Flex Builder 2 to Linux

I haven't heard any details of a Linux release, sorry. There will definitely be a Mac release, just not in the same timeframe as the Windows release. You can read more in the comments at Mark Anders' blog post here:

http://www.andersblog.com/archives/2005/10/about_the_diffe.html

HTH!

sfegette 13:02, 26 Oct 2005 (PDT)

[edit]

Suggestion for Flex Builder 2 IDE

Hi, I have been using flex since its initial release and have made it a point to dive into the alpha to air my views on its roadmap. First of, I think Flex Builder 1.5 had its advantages and disadvantages and I hope that the team makes up the advantages of 1.5 and make up for its short comings.

1. One of the things which I saw in 1.5 but wasnt able to use (due to lack of documentation or what ever ) is timeline editing. Just like in flash. Aside from giving us component, it will be nice to give us the power to drag a MovieClip from our component list, dive into it just like in flash and edit the timeline , dive out and there, you MovieClip will be ready to go.

2. I also think the intergration between flash and flex is a bit lacking. Flex seems to be ahead of flash with actionscript 3 and some remodification of component and visa versa. If this gap could be closed so that creating an app / move in flash could also be edit in flex with no harm. The component framework of flash and flex are not the same and hope there where for some transition.

3. It would also be nice if flex builder could have publication setting (just like flash) so we can change the settings of the output (exe, html etc) as well as the player.

4. It was nice that flex builder 1.5 had the help documentation section for html, javascript, coldfusion etc. I hope version 2 includes that with documentation for flex

5. Looks like mxml can only experience code behind through importation, scripting but no true sense of code behind. I hope the flex team will look into providing the option for code behind so as to move all scription and importation to code behind free the presentation layer (mxml).

6. Editing tools like flash (pencil, pen , eraser, etc) for MovieClip or MovieClip component.

Thank you very much.

[edit]

Re: Suggestion for Flex Builder 2 IDE

Thanks for the feedback/suggestions! Please don't forget to sign your posts in the future, however- (use 4 tilde characters at the end of your message as noted in the Labs wiki FAQ- link over in the left navbar if you're not familiar w/MediaWiki markup).  ;-)

best-

sfegette 11:23, 2 Nov 2005 (PST)

Hi! I am test the Flex Builder alpha and when I am work with application the memory in my computer change the 350 MB to 895 MB. What is the problem? Thank You.

Hi, that happen for the IDE (Eclipse) the IDE consume a large quantity of RAM

[edit]

Saving your changes

Like in Dreamweaver it would be nice if you could have a save option on the popup menu when you right click the active tab. You provide the ability to close, but not the ability to perform a save without closing the file. I know the save button is on the main toolbar, but by having it pop up for a specific tab makes the control very exacting as to what you are saving.

Thanks,

--BobK101060 05:32, 11 Nov 2005 (PST)

Just a suggestion but maybe we could add some simple image modification tools like you have in dreamweaver, just normal stuff like flip, flip horizontal and things like that... it would make desing things in Design mode much easier. Also I think it would be cool/good if you were to code completion that good get the completions from the web for unknown commands? Somewhat like google suggest? Randall Hunt 02:14, 27 Nov 2005 (PST) The Ranman 12:41 AM November 27 2005

[edit]

Documentation

Are there any more online resources available? Books even?

[edit]

You can't insert an item into a custom MXML component

Using the Design View in FLEX 2 Beta 1 you cannot drag and drop any MXML component into a custom MXML component. However, you can do this through the Source View. What is the reason behind this restriction and will it ever change?

getfatday1 09:07, 3 Feb 2006 (PST)

[edit]

Web Services/Restaurants Example

I was using the FlexBuilder 2.0 Alpha for a POC I developed in which I was calling web services as in the Restaurants example. With the new Beta build, the Restaurants example is missing as are many of the mx.rpc classes - which has the effect of keeping my code from compiling.

Have support for this functionality been removed from the Beta? Or has it been moved to a different package?

[edit]

Problems with debugging ActionScript

Hi,

I am using Flex Builder Beta1 and the debugger will not stop on break points in code included in the mxml as:

<mx:Script source="myAsFile.as"/>


but will in inlined ActionScript

<mx:Script>

      [  CDATA [
      // my action script
      ] ]

</mx:Script>

Is this a bug ?

--AlainF 12:36, 8 Feb 2006 (PST)

[edit]

Problems after installing Flex Builder 2.0 Beta 2

Hi, I just installed Flex Builder 2.0 Beta 2 and had the following problem:-

Every time I try to open a new Flex project the following message is displayed: "Your pre-release version of Flex Builder has expired. Please check http://www.adobe.com for information about purchasing a license or downloading a trial version".

How can it be expired if I only just installed it???

Then I click OK and this message appears: The selected wizard could not be started.

Reason: Plug-in com.adobe.flexbuilder.editors.common was unable to load class com.adobe.flexbuilder.editors.commons.ui.project.wizards.NewFlexProjectWizard

How can I solve this problem please?

JB33 07:08, 10 Apr 2006 (PDT)


[edit]

Error Installing Flex Builder 2.0 beta 2 as an eclipse plug-in

When I try to install Flex Builder 2.0 beta 2 as an eclipse plug-in I get the following error in my <eclipse3.1_intall_root>:

!SESSION 2006-04-11 15:57:13.62 ------------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.4.2_09
java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application org.eclipse.update.core.standaloneUpdate -command install -from file:\C:\Program Files\Adobe\Flex Builder 2 Plug-in Beta 2\zorn.update.site/ -featureId com.adobe.flexbuilder.feature.core -version 2.0.296
Command-line arguments: -application org.eclipse.update.core.standaloneUpdate -command install -from file:\C:\Program Files\Adobe\Flex Builder 2 Plug-in Beta 2\zorn.update.site/ -featureId com.adobe.flexbuilder.feature.core -version 2.0.296

!ENTRY org.eclipse.update.core 4 0 2006-04-11 15:57:15.640
!MESSAGE Duplicate conflicts

any clues? Thanks.

--lili5058 14:45, 11 Apr 2006 (PDT)

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:Flex_Builder"