flixel-addons icon indicating copy to clipboard operation
flixel-addons copied to clipboard

Port FlxScrollZone plugin

Open Beeblerox opened this issue 9 years ago • 3 comments

Beeblerox avatar Mar 04 '15 16:03 Beeblerox

(HaxeFlixel 4.0.0) I've ported this to Haxe and it works alright in html5 and flash. In Windows/Neko I'm getting this error when starting the game (it closes afterwards):

Invalid field access : __handle Called from openfl._legacy.display.BitmapData::copyPixels line 118 Called from flixel.addons.plugin.FlxScrollZone::createZone line 93 Called from flixel.addons.plugin.FlxScrollZone::add line 78 Called from MenuState::create line 28 Called from flixel.FlxGame::switchState line 621 Called from flixel.FlxGame::create line 334 Called from openfl._legacy.events.EventDispatcher::dispatchEvent line 98 Called from openfl._legacy.display.DisplayObject::__dispatchEvent line 182 Called from openfl._legacy.display.DisplayObject::dispatchEvent line 70 Called from openfl._legacy.display.DisplayObject::__onAdded line 362 Called from openfl._legacy.display.DisplayObjectContainer::__onAdded line 379 Called from openfl._legacy.display.DisplayObject::__setParent line 423 Called from openfl._legacy.display.DisplayObjectContainer::addChild line 31 Called from Main::new line 11 Called from DocumentClass::new line 217 Called from DocumentClass::$init line 217 Called from Type::createInstance line 108 Called from ApplicationMain::main line 119 Called from openfl._legacy.Lib::create line 122

I'm not expert at OpenFL (I'm learning), but the legacy renderer has some shortcomings around, I'd think it has to do something with implementing a missing function. I'd appreciate some help here ;-)

chiguire avatar Feb 26 '16 08:02 chiguire

@chiguire Does this still happen with recent OpenFL versions?

Gama11 avatar Jun 25 '18 07:06 Gama11

I'm not sure, it's been a while since I reported this and I have moved on since. I could try to reproduce it with latest and get back at you.

chiguire avatar Jun 25 '18 07:06 chiguire