Actionscript that dynamically replaces background images and dynamically displays images overlapping the running flash clip
$100-130 USD
Terminado
Publicado hace más de 12 años
$100-130 USD
Pagado a la entrega
Hello!
I need an Actionscript that is able to doing the following points:
- replacing the background image depending on a given timepoint
Example: I have a flv file that contains a movie with a transparent (or croma key) background. To save bandwith the background should be placed under the movie clip. But the scenes in the movie are sometimes changing so that the background image must also be changed out to the given timepoint. For example if the background must be changed out 3 times, there are all together 4 backgrounds and the script needs 8 variables:
timepoint1: 0.00 (seconds)
image1: [login to view URL]
timepoint2: 5.04 (seconds)
image2: [login to view URL]
timepoint3: 22.10 (seconds)
image3: [login to view URL]
timepoint4: 114.55 (seconds)
image4: [login to view URL]
It is very important that the timepoint of the background changing is exactlly enough that the user does not realize that scene and background change undependingly.
The second point that the script should be able to do is to place images onto the movie so that the movie is overlapped.
Example: There are three images that should be placed onto the movie clip depending from given timepoints. Here the script needs 15 variables:
timepoint1_start: 0.00 (seconds)
timepoint1_end: 22.33 (seconds)
image: [login to view URL]
x1:22 (pixel)
y1:51 (pixel)
timepoint2_start: 10.10 (seconds)
timepoint2_end: 32.33 (seconds)
image: [login to view URL]
x2:122 (pixel)
y2:5 (pixel)
timepoint3_start: 2.04 (seconds)
timepoint3_end: 7.13 (seconds)
image: [login to view URL]
x3:222 (pixel)
y3:511 (pixel)
The x,y coordinates tell the script where the top left corner of the image should be set onto the movie clip.
If an image should start from the beginning on (timepoint1_start: 0.00) then the image is not allowed to be placed while the browser is still caching the clip. Here you must add kind of a control point.
Thank you!