Skip navigation
Currently Being Moderated

Problems bitmap filters FlashBuilder 4.7 / Air3.4 - Help!

Jan 9, 2013 5:18 AM

Tags: #air #bitmap #filters #64_bit #flashbuilder #3.4 #filters_not_working #4.7

Yesterday, I purchased and installed FlashBuilder 4.7, 64 bit windows version.

 

With it, I built my project for ios, and installed an export release (air3.4 for ios) on my IPad 1 for testing.

 

Two "unforgivable" problems showed up:

 

1. Most of the artwork looks utterly spoiled, as if entirely different filter coefficients
were being applied to the bitmaps.

 

(note: builds with FlashPro 5.5, FlashPro 6.0 and FlashBuilder 4.6 / air3.1 for ios (32 bit) of
the same code all show consistent and proper results instead)

 

2. The application runs much slower than when it was exported for release from FlashBuilder 4.6.

 

Is there any way to deal with these problems?
(apart from applying for a refund)


Thanks in advance

 

PS: Tests on the desktop (using the air simulator) using FB 4.7 show the same filter problem.

 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Feb 10, 2013 10:19 AM   in reply to MariusVersteegen

    Can you provide a sample project that recreates your issue? I'll be happy to see if 4.6 and 4.7 behave differently (with the same AIR 3.5 1066) both locally and on an iPad. PM me a link if you don't want to share it publicly.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 12, 2013 8:04 AM   in reply to MariusVersteegen

    I can verify it definitely happens in FB4.7 but not in 4.6. The only way I was able to get around the issue was applying the filter programmatically. Then it worked without issue:

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fla sh/filters/GradientBevelFilter.html

     

    You should open up a bug with your sample:

    http://bugbase.adobe.com

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 12, 2013 11:48 AM   in reply to MariusVersteegen

    I would file it as an Adobe Flash Player v11.5 bug that all users will encounter that's of type `Incorrectly functioning w/ workaround`. Attach the file you shared above and mention the code-based workaround.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 12, 2013 2:30 PM   in reply to MariusVersteegen

    I wish it was more prompt but I lost power and net for days in that US blizzard over the weekend. Whew, happy to be back.

     

    Please post your bug report ID here so we can vote on the issue. The number of people voting on it is what largely controls the speed it is fixed. Also go in the Flash Builder forum and post the bug link there.

     

    As for the workaround, their nature is definitely to be annoying. They're not ideal. FB "just working" is the best solution by far but a known workaround for someone else who doesn't have thousands of filters might make or break their deadline. It also gives valuable clues to the patching team on where the problem may lie. I'd always include a workaround if you find one.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 13, 2013 6:48 AM   in reply to MariusVersteegen

    https://bugbase.adobe.com/index.cfm?event=bug&id=3499140

     

    People can vote/verify in the bottom right. Thanks for reporting, I'm sure it will help someone!

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 13, 2013 9:09 PM   in reply to MariusVersteegen

    You're welcome and good luck!

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 27, 2013 8:05 AM   in reply to MariusVersteegen

    I voted on your bug but I agree the right place to file a Flash Builder bug is rather confusing.

     

    You might try here: https://issues.apache.org/jira/browse/FLEX

     

    I see some Flash Builder tickets in there and if you go here:

     

    https://bugs.adobe.com/jira/browse/FB

     

    That is what they suggest to use at the top.

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2013 2:50 PM   in reply to MariusVersteegen

    Was there any further word on this..  or better yet a fix or work around other than programmatic filtering?

     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2013 2:44 PM   in reply to MariusVersteegen

    Hi Marius, I am not sure if this is working for sure or not but you might try the following:

     

    Instantiate a library item in a SWC by extending it to another Class.

    eg: if the item is SomeClip

    use:     var mc:SomeClipExt = new SomeClipExt();

     

    and in SomeClipExt do this:

    public class mc:SomeClipExt extends mc:SomeClip{

    }

     

    At least one of my Library items is retaining the bevel filter I applied to it in Flash Pro.

    Sorry I do not have time now to test this further.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 9:59 AM   in reply to MariusVersteegen

    Hi Marius,

    I was wrong. It was not the extending of the class that made the filters work. For whatever reason, now all filters I add to a MovieClip in Flash Pro and export to a SWC are working.

    Including gardient glow.

    Here is a libnk to a SWC that has a button call btnPink  that has a bevel and a gradient glow and is working for me when used in FB 4.7.

    http://vermillion.ca/filtertest/FilterTest.swc

     

    Maybe I am missing what the problem is now?

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 10:50 AM   in reply to MariusVersteegen

    http://vermillion.ca/filtertest/FilterTest.fla

     

    I have not tried in FlashDevelop but it works in FB 4.7 for me.

    My FLA that is..  I have not tried yours yet.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 10:57 AM   in reply to MariusVersteegen

    I just tried your TestButton  and it seems to be working OK for me in FB 4.7.

    Not sure how to fix that link.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 1:02 PM   in reply to MariusVersteegen

    Yes, identical. A faint box in both. Both have same font issue but filter looks the same.

     

    I just targeted AIR 3.2 on my test and it worked without issue.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 1:36 PM   in reply to MariusVersteegen

    I installed FB4.7 only a few days ago via Creative Cloud.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 2:52 PM   in reply to MariusVersteegen

    12-05-2013 2-47-10 PM.jpg

     

    I should note that initially the filters were not working for me. Which is why I found this thread.

    You might want to try adding a Flash Button in your SWC and see if you get any results.

    I do not have one in the SWC I sent to you but I previously imported a SWC which did.

    That said, it works fine in FB without any SWC with a button or other component in it  but  maybe something triggered in FB from the time I did have one in there. Shot in the dark.

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2013 4:22 PM   in reply to MariusVersteegen

    Are you building a Flex Project or ActionScript Project?

    Mine is Flex using both MX & Spark.

     

    • I am declaring it as a WindowedApplication.

    • I am adding my ActionScript components to a visual element:

    <s:SpriteVisualElement id="theRoot" addedToStage="theRoot_addedToStageHandler(event)" />

    protected function theRoot_addedToStageHandler(event:Event):void                              {

         var main:Main = new Main();

         theRoot.addChild(main);

    }

     

    Main is my main AS Class in which I add the button from the SWC to.

     

    • I am also waiting for the added_to_stage event to fire before adding the button.

    addEventListener(Event.ADDED_TO_STAGE,Init);

     

     

    Try this:  http://vermillion.ca/filtertest/TestButton2.fxp

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2013 6:17 AM   in reply to MariusVersteegen

    Can you open it directly in Flash Builder?

    File-> Import Flash Builder project

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2013 1:18 PM   in reply to MariusVersteegen

    Hi Marius,

    Your fxp did not show the filter.

    I'll note, for whatever reason, it took a long time build to the debugger..?

     

    I have not successfully set up an actionscript project to use filters.

    I need to use a Flex Project so I can use some of the components available.

    Which is too bad as I am having a helluva time getting SWC items ( made in Fl Pro ) to be handled by Classes in FB.

     

    Glad to hear you have a potential solution for your project.

    Back to the Battle!

     
    |
    Mark as:
1 2 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points