Flex 4.51 Bug

Hi, I am using FlashProfesional CS5 and exporting swc to my flex 4.51.
I am getting this error:
VerifyError: Error #1053: Illegal override of TextLayoutFormatValueHolder in flashx.textLayout.formats.TextLayoutFormatValueHolder.
at fl.text::TLFTextField/repaint()[F:\Stage\Flash11_Viper_Branch_31_Stage\main\authortool\St age\tlfRuntime\fl\text\TLFTextField.as:1050]
at flash.display::DisplayObjectContainer/addChildAt()
at fl.motion::AnimatorBase/play()
at fl.motion::AnimatorBase$/processCurrentFrame()
at fl.motion::AnimatorFactoryBase/addTargetInfo()
When I am switching from TLFText to classic text, this works fine.
Any ideas about how can I fix it or can you report this bug to adobe.

had a similar problem in a flash project that required some classes from flex
the layout of the project was that i had an AS-project in Flash Builder with an swc linked into it, that Flash CS5 compiled (basically, i needed Flash that could use RemoteObjects instead of simple NetConnection - and some way of boosting compilation time; Flash compiles the visual assets in an swc and FB builds the app using that swc)
i tried messing around with the text-related-libs in both - FB and Flash; could not get this error fixed (it seemed to appear only for some tlf fields in Flash)
The fix that i came up with was to:
locate field causing the error
removing it
replacing it with a tlf-field that did not cause such errors (or creating a fresh one with the T-tool)
manipulating the contents of the tlf as needed
for some reason - it worked O-)

Similar Messages

  • Patching Flex's AreaChart bug

    Does anyone know how to overcome Flex's AreaChart bug, which causes tooltips to display the same yField value for minFields?
    I.e. for:
    <mx:AreaSeries yField="TotalVariableCost" minField="TotalFixedCost" displayName="Total Cost">
    It will show:
    Total Cost
    high: TotalVariableCost
    low: TotalVariableCost
    As opposed to:
    Total Cost
    high: TotalVariableCost
    low: TotalFixedCost
    This bug is suppose to be in lines 2058 and 2083 of AreaSeries.as. Anybody know how to fix it?
    Thanks!
    --Dwayne

    It is a limitation.  UI widgets cannot be copied the way data objects can be
    copied.  You will need to override the dragDrop events and make your own
    copy by creating a new instance of the widget and copying the relevant
    properties.

  • Flex SDK 4, bug in mx.charts.AxisRenderer with lastLabel==null?

    Hi!
    I'm upgrading a Flex application from SDK 3.5 to 4.1.
    I have a problem with mx.charts.AreaChart, namely with it's horizontal AxisRenderer for DateTimeAxis.
    During layouting one of its internal variable (lastLabel in calcRotationAndSpacing() method) can become null, causing Null pointer error.
    From examining the source code it looks like the problem happens in calcRotationAndSpacing() when there is just one label (didn't examine yet why, but presumably for small regions and narrow datasets that may happen, though it may be a bug generating labels), canDropLabels==true, then at line 1814:
       lastLabel = _labels[maxSkipCount + 1];
    Even though maxSkipCount==0, _labels[] array has nothing at index 1, returning null.
    In SDK 3 the label was calculated differently:
       lastLabel = _labels[_labels.length - 1];       
    always returning at least the first label.
    I can build a sample app, but to save time would like to know first if anybody had this before, and if isn't that an obvious bug?
    Later code has no graceful handler for when lastLabel==null
    Thanks, Andrei.

    By googling for AxisRenderer it appears, that the class has a number of similar issues. There is at least one JIRA https://bugs.adobe.com/jira/browse/FLEXDMV-2275
    Sounds like I won't have another choice but figuring out a workaround to prevent too few labels, may be by holding on renderer customization till creation is complete.

  • Flex Spark DataGrid BUG skipping rows on refresh

    I have a small one file example that demonstrates this Flex DataGrid bug.
    I tried to report it to Flex bugs and the page timed out.
    I am filling a column in a spark datagrid with checkboxes to select that row.
    In the header of that column is a checkbox to select ALL the rows.
    However, the middle row is not getting refreshed so the display is wrong.
    The checkbox looks empty when the backing value is correct.
    I have added a print to the code that sets the values in the data and it is setting everyone.
    But when I print the isSelected code it is NOT being called on ONE (the middle) visible row.
    If I move away or scroll up and down the check box shows the check mark.
    So My only conclusion is that refresh has a bug.
    Here is the example that demonstrates the problem.
    Simply select the header checkbox and the 3rd checkbox does not get updated on refresh.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  private static var values:Array = [
                                            {selected: false, position: 1},
                                            {selected: false, position: 2},
                                            {selected: false, position: 3},
                                            {selected: false, position: 4},
                                            {selected: false, position: 5}
                                  [Bindable]
                                  public static var datalist:ArrayCollection = new ArrayCollection( values );
                                  public static function updateDataList( value:Boolean ):void
                                            for each( var item:Object in datalist ) {
                                                      trace( "updated: " + item.position );
                                                      item.selected = value;
                                            datalist.refresh();
                        ]]>
              </fx:Script>
              <s:DataGrid dataProvider="{datalist}">
                        <s:columns>
                                  <s:ArrayList>
                                            <s:GridColumn dataField="position" width="200"/>
                                            <s:GridColumn width="34" >
                                                      <s:itemRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer textAlign="center">
                                                                                    <fx:Script>
                                                                                              <![CDATA[
                                                                                                        private function changeSelection( data:Object, event:MouseEvent ):void
                                                                                                                  data.selected = ! data.selected;
                                                                                                        private function isSelected( data:Object ):Boolean
                                                                                                                  trace( "isSelected: " + data.position );
                                                                                                                  return data.selected;
                                                                                              ]]>
                                                                                    </fx:Script>
                                                                                    <s:layout>
                                                                                              <s:HorizontalLayout horizontalAlign="center" verticalAlign="middle"/>
                                                                                    </s:layout>
                                                                                    <s:CheckBox id="selbox" label="" selected="{isSelected(data)}"
                                                                                                                  click="changeSelection(data, event)"/>
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:itemRenderer>
                                                      <s:headerRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer height="30">
                                                                                    <fx:Script>
                                                                                              <![CDATA[
                                                                                                        [Bindable]
                                                                                                        private static var selectAll:Boolean = false;
                                                                                                        private function changeAllSelection( event:MouseEvent ):void
                                                                                                                  selectAll = ! selectAll;
                                                                                                                  Main.updateDataList( selectAll );
                                                                                              ]]>
                                                                                    </fx:Script>
                                                                                    <s:layout>
                                                                                              <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                                                                    </s:layout>
                                                                                    <s:CheckBox label="" selected="{selectAll}"
                                                                                                                  click="changeAllSelection(event)"/ >
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:headerRenderer>
                                            </s:GridColumn>
                                  </s:ArrayList>
                        </s:columns>
              </s:DataGrid>
    </s:Application>
    Here is an image of the failed result... after selecting the top checkbox.
    Below is an image of the output produced by the two traces.
    Notice that the refresh has not called isSelected on the 3rd element.

    I have a small one file example that demonstrates this Flex DataGrid bug.
    I tried to report it to Flex bugs and the page timed out.
    I am filling a column in a spark datagrid with checkboxes to select that row.
    In the header of that column is a checkbox to select ALL the rows.
    However, the middle row is not getting refreshed so the display is wrong.
    The checkbox looks empty when the backing value is correct.
    I have added a print to the code that sets the values in the data and it is setting everyone.
    But when I print the isSelected code it is NOT being called on ONE (the middle) visible row.
    If I move away or scroll up and down the check box shows the check mark.
    So My only conclusion is that refresh has a bug.
    Here is the example that demonstrates the problem.
    Simply select the header checkbox and the 3rd checkbox does not get updated on refresh.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  private static var values:Array = [
                                            {selected: false, position: 1},
                                            {selected: false, position: 2},
                                            {selected: false, position: 3},
                                            {selected: false, position: 4},
                                            {selected: false, position: 5}
                                  [Bindable]
                                  public static var datalist:ArrayCollection = new ArrayCollection( values );
                                  public static function updateDataList( value:Boolean ):void
                                            for each( var item:Object in datalist ) {
                                                      trace( "updated: " + item.position );
                                                      item.selected = value;
                                            datalist.refresh();
                        ]]>
              </fx:Script>
              <s:DataGrid dataProvider="{datalist}">
                        <s:columns>
                                  <s:ArrayList>
                                            <s:GridColumn dataField="position" width="200"/>
                                            <s:GridColumn width="34" >
                                                      <s:itemRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer textAlign="center">
                                                                                    <fx:Script>
                                                                                              <![CDATA[
                                                                                                        private function changeSelection( data:Object, event:MouseEvent ):void
                                                                                                                  data.selected = ! data.selected;
                                                                                                        private function isSelected( data:Object ):Boolean
                                                                                                                  trace( "isSelected: " + data.position );
                                                                                                                  return data.selected;
                                                                                              ]]>
                                                                                    </fx:Script>
                                                                                    <s:layout>
                                                                                              <s:HorizontalLayout horizontalAlign="center" verticalAlign="middle"/>
                                                                                    </s:layout>
                                                                                    <s:CheckBox id="selbox" label="" selected="{isSelected(data)}"
                                                                                                                  click="changeSelection(data, event)"/>
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:itemRenderer>
                                                      <s:headerRenderer>
                                                                <fx:Component>
                                                                          <s:GridItemRenderer height="30">
                                                                                    <fx:Script>
                                                                                              <![CDATA[
                                                                                                        [Bindable]
                                                                                                        private static var selectAll:Boolean = false;
                                                                                                        private function changeAllSelection( event:MouseEvent ):void
                                                                                                                  selectAll = ! selectAll;
                                                                                                                  Main.updateDataList( selectAll );
                                                                                              ]]>
                                                                                    </fx:Script>
                                                                                    <s:layout>
                                                                                              <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                                                                                    </s:layout>
                                                                                    <s:CheckBox label="" selected="{selectAll}"
                                                                                                                  click="changeAllSelection(event)"/ >
                                                                          </s:GridItemRenderer>
                                                                </fx:Component>
                                                      </s:headerRenderer>
                                            </s:GridColumn>
                                  </s:ArrayList>
                        </s:columns>
              </s:DataGrid>
    </s:Application>
    Here is an image of the failed result... after selecting the top checkbox.
    Below is an image of the output produced by the two traces.
    Notice that the refresh has not called isSelected on the 3rd element.

  • Flex 4 TextInput Bug

    I have found a problem with the spark TextInput component.
    If the TextInput displayAsPassword variable is set to true and the user places a string of characters into the component but then highlights the whole string of characters and pastes a shorter string of characters in, the shorter string of characters only replaces the amount of characters that the pasted string has and maintains the rest of the characters of the longer string.
    For example, if I put "[email protected]" into the TextInput, highlight the entire string, then paste "blah" into the TextInput, it would appear that I have four characters within the component. However, when I trace out what is in the TextInput I get "[email protected]". The paste has only replaced the first four characters of the original string!!
    I have included some simple code so that you can check this for yourself. If you follow the example above and then press the "Check" button the Alert box will tell you what is actually in the TextInput field:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
            ]]>
        </fx:Script>
        <s:HGroup width="100%" horizontalAlign="center">
            <s:TextInput
                id="ti"
                displayAsPassword="true"
                change="trace(ti.text)"/>
            <s:Button
                label="Check"
                click="Alert.show(ti.text);"/>
        </s:HGroup>
    </s:Application>

    Hey, you should log this as a bug on the Adobe Flex Bug system, https://bugs.adobe.com/jira/secure/Dashboard.jspa

  • Flex 2 : Possible bug in Slider

    Hi,
    I have been trying to restrict the thumbs of an HSlider from
    overlapping.
    Setting allowThumbOverlap to false did not work.
    I noticed that the ability of the thumbs to overlap is
    directly related to the maximum value allowed for the slider.
    Given below is an example for the same. I presume this must
    be a bug, since the documentation mentions
    nothing about this. If somebody can throw more light on this,
    it would be great.
    TestSlider.mxml
    ===========================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*">
    <mx:HBox>
    <mx:Label text="Maximum 13" width="90"/>
    <mx:HSlider id="slider13" width="180" thumbCount="2"
    snapInterval="1" minimum="0" maximum="13" dataTipPlacement="bottom"
    />
    <mx:Label text="Thumbs overlap in both directions"
    width="300"/>
    </mx:HBox>
    <mx:HBox>
    <mx:Label text="Maximum 14" width="90"/>
    <mx:HSlider id="slider14" width="180" thumbCount="2"
    snapInterval="1" minimum="0" maximum="14"
    dataTipPlacement="bottom"/>
    <mx:Label text="Thumbs overlap from left to right"
    width="300"/>
    </mx:HBox>
    <mx:HBox>
    <mx:Label text="Maximum 15" width="90"/>
    <mx:HSlider id="slider15" width="180" thumbCount="2"
    snapInterval="1" minimum="0" maximum="15"
    dataTipPlacement="bottom"/>
    <mx:Label text="Thumbs do not overlap" width="300"/>
    </mx:HBox>
    </mx:Application>
    ===========================
    Regards!
    Santosh

    Santosh,
    This is indeed a bug. Thank you for bringing it to our
    attention. As a
    workaround, try using different values for the width property
    or don't
    specify a width at all.
    Jason Szeto
    Adobe Flex SDK Developer
    "stchavan" <[email protected]> wrote in
    message
    news:e9lh3m$sv0$[email protected]..
    > Hi,
    >
    > I have been trying to restrict the thumbs of an HSlider
    from overlapping.
    > Setting allowThumbOverlap to false did not work.
    > I noticed that the ability of the thumbs to overlap is
    directly related to
    > the
    > maximum value allowed for the slider.
    > Given below is an example for the same. I presume this
    must be a bug,
    > since
    > the documentation mentions
    > nothing about this. If somebody can throw more light on
    this, it would be
    > great.
    >
    > TestSlider.mxml
    > ===========================
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*">
    > <mx:HBox>
    > <mx:Label text="Maximum 13" width="90"/>
    > <mx:HSlider id="slider13" width="180" thumbCount="2"
    snapInterval="1"
    > minimum="0" maximum="13" dataTipPlacement="bottom" />
    > <mx:Label text="Thumbs overlap in both directions"
    width="300"/>
    > </mx:HBox>
    > <mx:HBox>
    > <mx:Label text="Maximum 14" width="90"/>
    > <mx:HSlider id="slider14" width="180" thumbCount="2"
    snapInterval="1"
    > minimum="0" maximum="14" dataTipPlacement="bottom"/>
    > <mx:Label text="Thumbs overlap from left to right"
    width="300"/>
    > </mx:HBox>
    > <mx:HBox>
    > <mx:Label text="Maximum 15" width="90"/>
    > <mx:HSlider id="slider15" width="180" thumbCount="2"
    snapInterval="1"
    > minimum="0" maximum="15" dataTipPlacement="bottom"/>
    > <mx:Label text="Thumbs do not overlap"
    width="300"/>
    > </mx:HBox>
    > </mx:Application>
    > ===========================
    >
    > Regards!
    >
    > Santosh
    >

  • Flex Builder 2 Bug

    For some reason, the text labels in the toolbar of my Flex
    Builder installation have a white background. In fact, the same is
    true for every Macromedia application I have installed. I have the
    apps installed on another computer without any display bugs at all.
    Anybody have an idea as to why this happens? I have posted an
    image
    here
    showing the glitch. I only get that behavior in Dreamweaver,
    Fireworks and Flash after my mouse moves over the buttons for the
    first time.
    I also have an error in Flex when I try to open an html
    document which contains a swf. For example, the SyleExplorer from
    AdobeConsulting.
    Thanks for your help!

    For some reason, the text labels in the toolbar of my Flex
    Builder installation have a white background. In fact, the same is
    true for every Macromedia application I have installed. I have the
    apps installed on another computer without any display bugs at all.
    Anybody have an idea as to why this happens? I have posted an
    image
    here
    showing the glitch. I only get that behavior in Dreamweaver,
    Fireworks and Flash after my mouse moves over the buttons for the
    first time.
    I also have an error in Flex when I try to open an html
    document which contains a swf. For example, the SyleExplorer from
    AdobeConsulting.
    Thanks for your help!

  • Flex bug or Safari bug?

    Hi,
    The scroll wheel does not work in a text area running Safari
    for both Mac and Win. Is this a flex or safari bug?
    Thanks,
    Paul

    Hi,
    The scroll wheel does not work in a text area running Safari
    for both Mac and Win. Is this a flex or safari bug?
    Thanks,
    Paul

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

  • Adobe Flash Player 10.1.82.76 update just released (fixes SWF in PPT bug)

    Hi,
    If you are using the Adobe Flash Player make sure you update to Adobe Flash Player 10.1.82.76 ([released by Adobe on August 10th 2010|https://www.adobe.com/support/security/bulletins/apsb10-16.html]).
    As well as having the latest security fixes this update also fixes the Adobe Flash Player bug that stopped Xcelsius SWFs from working when you embedded them into a PPT: https://www.adobe.com/support/security/bulletins/apsb10-16.html
    FYI: Xcelsius is based on Adobe Flex and this bug also affected any Adobe Flex based SWF that was embedded into a PPT not just Xcelsius.
    Regards
    Matt

    Hi,
    If you are using the Adobe Flash Player make sure you update to Adobe Flash Player 10.1.82.76 ([released by Adobe on August 10th 2010|https://www.adobe.com/support/security/bulletins/apsb10-16.html]).
    As well as having the latest security fixes this update also fixes the Adobe Flash Player bug that stopped Xcelsius SWFs from working when you embedded them into a PPT: https://www.adobe.com/support/security/bulletins/apsb10-16.html
    FYI: Xcelsius is based on Adobe Flex and this bug also affected any Adobe Flex based SWF that was embedded into a PPT not just Xcelsius.
    Regards
    Matt

  • Exercise 9 Creating New Flex Project

    Thanks to Ryan aka rsadwick, I was able to get LiveCycle and
    the ODT zip file working properly (see his reply to "Problem with
    one of the lessons"). Unfortunately when I try and create a new
    Flex Project using LCDS I am unable to get past the second step in
    the process. Going by the way it is explained in the exercise, with
    the updated information, my root folder should point to the odt
    dir, however; I have found that if you just got to that dir you
    will get this error: Invalid root. The WEB-INF/flex folder must
    contain either flex-config.xml or services-config.xml.
    So I drilled into the odt dir to find those files and found
    them in this sub dir: C:\lcds\tomcat\webapps\odt\WEB-INF\flex, and
    I am still getting the same error message, even though both the
    flex-config.xml and services-config.xml files are in this dir. I
    have tried validating the connection with LCDS running and without
    it running with no difference. I'm hoping that someone can help me
    with this or if I have made some kind of mistake in the way I
    installed the zip file. I am going to try and contact rasdwick and
    see if he can help me solve this problem and get it posted for
    those who read this in the future. I really wish Adobe would just
    update their files to the current software versions and or
    solutions.

    flashMonkey2007 wrote:
    > If reverting the change is as easy as setting the
    perspective back then I think
    > yes. Here are the two scenarios as I see them
    >
    > - W/O setting change
    > a. Install FB
    > b. Switch to FB perspective
    > c. Checkout FB
    > d. Remain in perspective or switch back
    >
    > - With setting change
    > a. Install FB
    > b. Checkout FB
    > c. Remain in perspective or switch back
    >
    > I can't imagine somebody installing an application and
    then going on to other
    > work before looking at it - that is to say if I have
    just installed Flex
    > Builder then I am more than likely going to check the
    installation worked, as
    > such I think the second scenario will be most popular...
    >
    > Either way thanks for getting out a Linux version - this
    is great news for
    > those who are tired of being forced to pay money for
    unwanted OS upgrades. I
    > don't think I have ever purchased software (generally
    use OSS applications or
    > transferable business licenses) but I'll buy FB for
    Linux just as soon as the
    > design view is working.
    >
    >
    >
    Please feel free to log a bug in Flex Builder Linux bug
    base...
    http://bugs.adobe.com/jira

  • Flex Install Issues

    I dare anyone to try to install Flex 2 or 3beta as an Eclipse
    3.3 plugin. Flex 3 has as requirement Eclipse 3.21 or above. Well
    3.3 it's above! There are scores of people with the same problem.
    Bad job Adobe!
    The solution is to first install Flex as a standalone
    application and then copy it's plugins files and folders to Eclipse
    folder.
    Another
    potential solution is to copy startup.jar from Flex to
    Eclipse, and then install Flex as a plugin.

    Hi xoo,
    Can you file a bug in the Flex Bugbase (
    http://bugs.adobe.com/flex)
    about this issue. Please specify what errors / problems you are
    seeing when installing Flex Builder 3 Beta as an eclipse 3.3
    plugin.
    Thank you!
    -Tanya

  • Basic authentication of a WebService -- Possible?

    Hi All,
    I have a web service that's defined like this:
    <mx:Webservice wsdl="
    http://username:password@intranet/webservices/myservice.asmx?WSDL"
    />
    username and password are replace with the username and
    password used by IIS's basic authentication subsystem to restrict
    access to the web service.
    This seems to work just fine in Opera and Firefox, but in IE,
    it just hands. No fault or anything, it just hangs there, waiting
    for the WSDL to load.
    I've only tested in IE6, I'm not sure if it does the same in
    IE7.
    Is this a bug in Flex/Flash, a bug in IE, or something else
    entirely? Is there a different way to do basic authentication with
    web services?
    -Josh

    I'd use an HTTP sniffer to see if you can glean any more info
    about what exactly is going over the wire and what might be
    different in the MSIE case.

  • Using RSL ? or not !

    I have just discovered a strange behaviour of the Flash Player with the Flex framework RSL.
    When you compile you Flex application with RSL linkage, the RSL framework is downloaded only once for all the Flex applications.
    In fact this is true only if the signed version (.swz) of the library is available.
    If you deploy only the unsigned version (.swf) the result is even worse than with the merged into code option.
    I found than with a modular application the framework was downloaded not only each time you are executing the application, but also with EACH module of the application.
    Here is peaces of server log showing each case :
    Case #1 : signed RSL (first load --> RSL is downloaded)
    DEBUG | 01-04-2010 21:34:24:269 | 0013:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272579)
    DEBUG | 01-04-2010 21:34:24:347 | 0014:core.protocol.HTTPMessage.execute(245)| /framework_3.5.0.12683.swz (569996)
    DEBUG | 01-04-2010 21:34:24:769 | 0015:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42364)
    DEBUG | 01-04-2010 21:35:27:879 | 0013:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84101)
    DEBUG | 01-04-2010 21:35:32:082 | 0013:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (76573)
    (next uses --> RSL is NOT downloaded again)
    DEBUG | 01-04-2010 23:10:55:394 | 0013:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272579)
    DEBUG | 01-04-2010 23:10:56:379 | 0013:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42364)
    DEBUG | 01-04-2010 23:11:03:863 | 0014:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84101)
    Case #2 : unsigned RSL (downloaded with each module !!!)
    DEBUG | 01-04-2010 21:05:19:754 | 0012:core.protocol.HTTPMessage.execute(245)| /AXX.swf (272662)
    DEBUG | 01-04-2010 21:05:20:160 | 0013:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
    DEBUG | 01-04-2010 21:05:21:379 | 0014:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (42562)
    DEBUG | 01-04-2010 21:05:21:457 | 0013:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
    DEBUG | 01-04-2010 21:05:36:004 | 0014:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (84307)
    DEBUG | 01-04-2010 21:05:36:066 | 0015:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
    DEBUG | 01-04-2010 21:05:40:519 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (76811)
    DEBUG | 01-04-2010 21:05:40:613 | 0016:core.protocol.HTTPMessage.execute(245)| /framework_3.6.0.13443.swf (568563)
    Case #3 : RSL is not used, framework is merged in application
    DEBUG | 01-04-2010 23:27:36:800 | 0014:core.protocol.HTTPMessage.execute(245)| /AXX.swf (505900)
    DEBUG | 01-04-2010 23:27:37:254 | 0015:core.protocol.HTTPMessage.execute(245)| /PXSMHome.swf (40836)
    DEBUG | 01-04-2010 23:27:43:019 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMConfig.swf (145460)
    DEBUG | 01-04-2010 23:27:46:925 | 0012:core.protocol.HTTPMessage.execute(245)| /PXUMIdaxx.swf (152239)
    As I am using my own HTTP server, may be there is some header options missing in the HTTP response.
    If anybody can confirm or invalidate these observations, I will be glad to know !

    Flex Builder 3 passes the same RSL linkage parameters to modules as it does the main application. This bug is fixed in Flash Builder 4. In Flash Builder 4 when the main application is linked with RSLs, each module its statically linked and each SWC that has RSL linkage is put on the external library path. The end result is that a module will not load the same RSLs as the main application but the module gets the size reduction as if is using RSLs.
    The only work around I know for Flex Builder 3 bug is to compile your modules at the command line.
    -Darrell

  • FlashBuilder FlexUnit plugin loses all text after parentheses (brackets, i.e. "()")

    Hi,
    Problem description: Using FlashBuilder 4 beta 2 with FlexUnit 4 tests, if a FlexUnit error includes open-close parentheses (a.k.a. for searchers brackets/braces) "()", the output will be truncated before them.
    An example error message:
    "Method initializeParsley() should be static"
    ... gives the output...
    "Method initializeParsley"
    Generated by:
      errors.push( new Error("Method " + name + "() " + state + " be static"));
    (from line 256 of http://github.com/blegros/flexunit/blob/259977f1515e151fb73defc5e3e26329c157827c/FlexUnit4 /src/org/flexunit/runners/model/FrameworkMethod.as#256 )
    Workaround:
    Switch one's FlexUnitApplication.mxml to not using FlexUnit FB plugin.  Full error reported in standalone TestRunnerBase.  Workaround is onerous especially since FB will silently overwrite if things change sufficiently.
    This seems most likely a FlashBuilder FlexUnit plugin issue.  Vague memory suggests I should post this somewhere specific to that but searching isn't giving definite answer so, coupled with likelihood of others searching here too, I thought it'd be OK to post here to start.  Please forgive spam!
    Thanks for all pointers and thoughts!
    R.

    This is a fine place to post. I do agree it sounds like a builder plugin bug though, if you can post inthe bugbase:
    https://bugs.adobe.com/flex/
    as a flex/flash builder bug it would be appreciated.
    Mike

Maybe you are looking for

  • HP Laserjet 2300 and Landscape Mode

    I have a Laserjet 2300 that I use regularly. When I switched to Leopard, it found the driver and installed it fine, but now it won't recognize printing in landscape mode. Doesn't matter what you are printing from (Word, Pages, Finder, etc.). Any sugg

  • How to resolve the issue "ignoring compiler setting" in Tomcat Web Server

    Hi All, In the Environment set up jdk1.3.1_09 Apache Tomcat 4.1.24 I'm getting the following error when i request a jsp file. Please help to solve this issue. HTTP Status 500 - type Exception report message description The server encountered an inter

  • ORA-20001: Error in MRU – Master-Detail

    We don't allow to user modify the data and I remove a delete button in Master Detail. When I Add a row, I have the following message. Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in dat

  • Transferring from old iweb blog

    I recently had to reinstall my OSX and applications after a system erase and reinstall. So I basically lost my original iweb site on the local harddisk before I was able to backup. My original site is still hosted on my .mac account. Therefore I was

  • Auto send mail in next day

    I want to create program that run in server. it can auto send mail to someone everyday. Do everybody know the way? pls help me. if you have the code example, pls send it to me. my emai: [email protected] Thank in advance.