Copy link to clipboard
Copied
Hello, this problem does not work in Adobe Animate 2022 and 2023, import fl.VirtualCamera;, although it works fine in 2019, why is this? I thought that fl, as was not in the folder, well, it is there, I looked for answers on the Internet and found nothing on this topic, thanks in advance
Copy link to clipboard
Copied
You need to ask program questions in the forum for the program you are using
To ask in the forum for your program please start at https://community.adobe.com/
Moving from Using the Community (which is about the forums) to the Animate forum
Copy link to clipboard
Copied
are you trying to use the virtual camera in the ide or using code?
Copy link to clipboard
Copied
The code, it’s even already standard in the program, well, it doesn’t work in 2022 and 2023, but it works in 2019
Copy link to clipboard
Copied
what code are you using in addition to that import statement and what kind of document are you using it in?
Copy link to clipboard
Copied
The as3 code is right in the frame
import fl.VirtualCamera;
var zoomPercent = 150;
fl.VirtualCamera.getCamera(root).setZoom(zoomPercent);
Copy link to clipboard
Copied
and you're using an as3 project?
Copy link to clipboard
Copied
Yes Action Script 3.0
Copy link to clipboard
Copied
did you enable advanced layers?
Copy link to clipboard
Copied
Yes
Copy link to clipboard
Copied
to report bugs or ideas or wishes to adobe:
for applicable apps, use https://helpx.adobe.com/ie/x-productkb/global/how-to-user-voice.html
for others, use https://www.adobe.com/products/wishform.html
if neither show a place to report the issue, just leave it here. that's the best you can do.
Copy link to clipboard
Copied
Understood, thanks!
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
With an older AS3 V-Cam, I'd suggest the first thing to try is to switch off the so-called Advanced Layers for your document and try again.
Also in Publish Settings target an older version of Flash Player, for example 11, 12 or 17.
Copy link to clipboard
Copied
Thanks for the answer, well, I tried everything too, I even went into the folder with fl.VirtualCamera and changed it from another version, nothing worked