Copy link to clipboard
Copied
hi
help please 😞
im tired really
when i load external swf (animation) in main fla
get this error and dont load my swf with camera correctly in main fla
---------------------------------------------------------------
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at privatePkg::___Camera___()[C:\Program Files\Adobe\Adobe Animate 2020\Common\Configuration\Camera\Flash\privatePkg\___Camera___.as:66]
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
------------------------------------------------------------
------------------------------------------------------------
now i check this file ___Camera___.as :
line 66: centerX = parent.stage.stageWidth / 2;
line 67: centerY = parent.stage.stageHeight / 2;
what is problem 😞 ?
Copy link to clipboard
Copied
please help guys
Copy link to clipboard
Copied
Hi.
There used to be some conflicts when using the advanced layers mode - needed for the camera - in AS3 documents.
I believe if you upgrade your software to the latest release, this problem will probably go away.
Please let us know.
Regards,
JC
Copy link to clipboard
Copied
yes i use in my animation from advanced layer and camera and want camera load correctly in main swf when load my animation file
my software is up to date
i used from adobe animate 2020
Copy link to clipboard
Copied
Hi.
It's because your error points out to a 2019 version path.
Anyway, can you provide your files/source so we can investigate?
Copy link to clipboard
Copied
no this error is for 2019 version
but in 2020 to give this
i upload test file for you
please check
tnx
Copy link to clipboard
Copied
Thanks for the files.
It seems to me this is a bug and I don't know how to solve it.
Your options are:
- Report the bug here: https://www.adobe.com/products/wishform.html;
- Remove the Virtual Camera and nest the animation in a Graphic or Movie Clip instance and animate it to act like a cam;
- Use some third party AS3 vcam like this one: https://www.newgrounds.com/bbs/topic/716647;
- Wait for someone else that knows how to solve this problem.
Regards,
JC
Copy link to clipboard
Copied
thank you man
guys please helppp 😞
Copy link to clipboard
Copied
hey guys please help 😞
Copy link to clipboard
Copied
Hi samangraphic,
I am also getting a bunch of errors when using Virtual Canmera with Animate CC 2020 and AS3.
I had to use the virtual camera code in the actions pane for frame 1 on the timeline rather than a Main document class to get it to work at all.
But it works - but now whenever I add a child to the display list it throws an error. Doesn't upset the application but still.
Best Tommy Banana