Skip to main content
Participating Frequently
January 27, 2023
Question

Video Component Does Not Work After Converting Action Script 3 to HTML5 Canvas

  • January 27, 2023
  • 1 reply
  • 736 views

I am having trouble using the video component functions in Animate after converting from Action Script 3 to HTML5. I am using Animate 23.0 and created a fully functional file using Action Script 3. After creating the file that I wanted with screen organization, I used the in-program option to convert the file to HTML5 so that I could share the file with other people (as Action Script 3 produces an swf which is no longer supported). When I did this, all of my externally linked video files (45) were removed as expected, but then when I tried to add video files through the components menu (leaving the components properties as default), I ran into substantial problems.

 

The first video component, which is linked to a file on my computer (we'll call it File A) would not load in Test Mode. Test Mode showed that File A was loading, but nothing ever loaded and eventually the loading icon stopped. I tried using a different video file (File B), which I created in the exact same way as File A (used Animate, added sound with Premier, used File Encoder to encode H.264), and it seemed to work with no clear difference between File A and File B. I went in to my folder to see why File A wasn't loading and noticed that the file count in the folder went down. I had 46 files in my source folder, but after running Test Mode with the two videos I now have 44. The two missing files from the folder were the ones specified as the video component source (Files A and B). Despite the fact that they are missing and the file count went down, there is nothing in the trash folder.

 

I restored the source folder and tried to see if I could recreate the problem starting from an HTML5 script (rather than converting to HTML5 from Action Script 3) and this didn't happen. The files in the source folder remain and the files properly load, but other issues came up.

 

If I don't have to start over from scratch, I would really appreciate this because my original structure will take weeks to recreate in Animate with HTML5 and there is no guarantee that the other issues which I found won't become a new sticking point.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 27, 2023

so what problem do you have after all that?

Participating Frequently
January 27, 2023

As mentioned above: the video doesn't work and files are being either deleted or moved. That is a problem.
Can you replicate this and suggest what may be going on/how to fix it?

kglad
Community Expert
Community Expert
January 27, 2023

i can't reproduce that.  i tried:

 

create an as3 project with flvplayback component on stage

used the component parameters panel to navigate to the source

test

convert to html5

add the video component

use the component parameters panel to navigate to the same video

test

 

both tests look fine and checking the video folder used, the video file is still there unchanged.