After you export a Web Avatar via the Widget/Export Web Avatar button with the Web Avatar project, you can see the result as follows in your browser. It is actually a player for playing flash files along with various events:
Item |
Event Triggered |
File Played |
File Location |
|
A |
Player |
Idle Flash Played (default) |
idle0.flv |
(same folder as the html generated)\media\ |
B |
Play Button |
Button Clicked - Main Talking Script Played |
script01.flv |
(same folder as the html generated)\media\ |
C |
|
Cursor Over the Avatar (Avatar looks at the cursor) |
lookat.flv |
(same folder as the html generated)\media\ |
To generate your custom avatar with the same talking scripts, you may simply perform the steps below:
Go to the Project page and apply the Web Avatar template from the gallery.
Go to the Model page to create a CrazyTalk Model. Follow the wizard to complete the model-creating process.
Go to the Output page and switch to the Widget tab. Click the Export iContent button.
Click the OK button to replace the original flash videos with new videos of your custom avatar if you are prompted with a warning message.
Load the html page to view the result:
If you want to playback a custom talking script when the Play button is clicked, you may perform two methods to achieve it:
A. Using Existing Web Avatar File
Apply the Web Avatar project on the Project page.
Go to the Script page and double-click the last talking script.
Replace the talking script with a new one (you may also need to adjust the length of the project).
Convert the new CTS length into an integer number:
If the CTS Length reads 02:03:45, the integer number will be (02x6000 + 0345 = 12345).
Open the ini file from the same folder where the web avatar file is located. Change the FrameNo from {14000 - 14600} to {14000 - X} in the [FLV_0005] section where X = 14000 + integer number calculated.
In the example, it will be 14000 - 26345 (14000+12345)
Export the project via the Widget page.
B. Using New Empty Project
You may also use an empty project to generate a talking script flash for playback.
Optionally save the same avatar as the web avatar into custom gallery.
Create a new project.
Apply the avatar you just saved in step 1.
In the Stage editor, add and edit talking scripts.
Go to the Output page, Web tab and use following settings:
Target Resolution: Use Full Image.
Output Size: 200 x 200.
Frame Rate: 30 / sec(s).
Advanced Audio/Video: High.
Click the Export button and replace script01.flv.