rainbowcreatures / FlashyWrappers

AIR / Flash video recording SDK
17 stars 10 forks source link

FWVideoEncoder class can't be found #14

Closed vorlovsky closed 7 years ago

vorlovsky commented 7 years ago

Hi!

I've tried both the 900k+ iOS ANE from Github and 300k+ ANE from FW_2_55_premium.zip, but seems nether one holds FWVideoEncoder class to import.( I'm adding ANE through Project Properties -> ActionScript Build Path -> NativeExtensions tab of my FB 4.6. ExtensionID node is already in my XXX-app.xml.

Can you, please, tell what have I missed?

vorlovsky commented 7 years ago

Still don't know the reason, but FB appears to be a dead end. FWVideoEncoder class can be imported from the same ANEs in Idea.

rainbowcreatures commented 7 years ago

FB is problematic with ANE's, especially FB 4.6.

Recently I've found the long lasting issues with FW ANE's on OS X(where it can't find classes or methods) can be easily fixed by bringing the build process from Mac to Windows - this will make sure to "destroy" any symlinks inside, which is what causes issues in FB, Flash CS6 etc on Mac.

By destroy I mean it will duplicate the files inside the ANE(replacing the symlink therefore), so the resulting ANE will be larger - but you could use this for developement in IDE's. For production, the ANE with symlinks should still work.

The side effect of building everything on Windows would be one universal ANE for all platforms finally. I might make this change myself if I get to it, or someone else can.

vorlovsky commented 7 years ago

Right now I need ANE for iOS only, so I built it in Mac OS and stopped investigations. Nevertheless, the tiny ANE file from FW_2_55_premium.zip seem not to work, nevermind of IDE to be used.

rainbowcreatures commented 7 years ago

Cool! This was more of a message for anyone with related ANE issues.