• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

privatePkg camera error when load external swf

New Here ,
Feb 26, 2020 Feb 26, 2020

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 😞 ?

TOPICS
ActionScript , Error , Publish package

Views

976

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 27, 2020 Feb 27, 2020

Copy link to clipboard

Copied

please help guys

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2020 Feb 27, 2020

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2020 Feb 28, 2020

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2020 Feb 28, 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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2020 Feb 28, 2020

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

https://gofile.io/?c=11YUkE

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2020 Feb 28, 2020

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2020 Feb 28, 2020

Copy link to clipboard

Copied

thank you man

guys please helppp 😞

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2020 Mar 01, 2020

Copy link to clipboard

Copied

hey guys please help 😞

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 13, 2020 Mar 13, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines