Note that there are some explanatory texts on larger screens.

plurals
  1. PORuntime problems after migrating from Flex3 to 4 in compatibility mode
    primarykey
    data
    text
    <p>We are migrating our Flex-3.2 application to Flex 4.1, mainly to take advantage of the new text flow/engine features. In a first step we decided to go with compiling for <strong>MX-only and in Flex-3-compatibility mode</strong>.</p> <p>Thanks to some helpful resources (</p> <p><a href="http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html" rel="nofollow noreferrer">http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html</a></p> <p><a href="https://stackoverflow.com/questions/1563482/any-flex-4-migration-experience">Any Flex 4 migration experience?</a></p> <p><a href="http://www.adobe.com/devnet/flex/articles/flex3and4_differences_02.html" rel="nofollow noreferrer">http://www.adobe.com/devnet/flex/articles/flex3and4_differences_02.html</a></p> <p>) I am able to compile our application.</p> <p>But I find myself surprised about the amount of runtime differences ranging from the problem that I cannot cast ResultEvent.currentTarget to HTTPService ( which apparently was introduced in 3.5 ) to many layout problems to differences in event dispatching ( e.g. one of our legacy components listens to the add event which it just doesn't seem to get anymore ).</p> <p>It seems there is very little documentation on this. I'd like to find a list with detailed changes so that we don't have to rely on QA to stumble across hopefully all issues.</p> <p><a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+4+Backwards+Compatability" rel="nofollow noreferrer">This documents lists some</a>, but doesn't seem exhaustive. <strong>Does someone have a better list of documented changes?</strong></p> <p>Thanks Stefan</p> <p><strong>PS. List of concrete examples I have found so far:</strong></p> <p><strong>1) In Flex 4 the add event is not fired:</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" minWidth="955" minHeight="600"&gt; &lt;fx:Script&gt; &lt;![CDATA[ private function notFired():void { trace("ADDED"); } private function fired():void { trace("COMPLETE"); } ]]&gt; &lt;/fx:Script&gt; &lt;mx:TextArea add="notFired();" creationComplete="fired();"/&gt; &lt;/mx:Application&gt; </code></pre> <p>Now do the same in Flex 3 and you'll see both events fire.</p> <p>Apparently, <a href="http://bugs.adobe.com/jira/browse/SDK-27357" rel="nofollow noreferrer">this is a bug</a>. Might be possible to work around this but certainly decreases my level or trust substantially.</p> <p><strong>2) Dialogs/popups show all content mirrored.</strong></p> <p><a href="http://bugs.adobe.com/jira/browse/SDK-26940" rel="nofollow noreferrer">A bug as well</a>. Easy to work around, but how could something that obvious slip?</p> <p><strong>3) Problems with injected "Ôª" chars.</strong></p> <p><a href="http://forums.adobe.com/message/3077179#3077179" rel="nofollow noreferrer">See post here.</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload