Hi all
I created my own FLV player skin and then wanted to know how
to pass variables to flash via HTML so I could make my progressive
download FLV player dynamic. I found a helpful tutorial on passing
variables and just tried this tutorial out. I am using Flash CS3
and I am fairly new to Flash.
When I get to the stage in the tutorial below of publishing
to HTML I get the following Actionscript 3 compiler error. Its so
frustrating as I am slow close to getting this sorted and I am not
sure what I am doing wrong.
Error message:
1120: Access of undefined property video.
1119: Access of possibly undefined property contentPath
through a reference with static type fl.video:FLVPlayback.
Actionscript code:
stop();
var passed:String = video;
player.contentPath= video;
I am using the instance name of 'player'. I just wondered is
it because the actionscript refers to 'contentpath' which is now
'source' in CS3? Although changed 'contentpath' to 'source' and
still had a similar problem.
This is the link to the tutorial I am using:
http://www.webdesign.org/web/flash-&-swish/flash-tutorials/passing-variables.12759.html
If anyone can help I would be very grateful
Many thanks
Rob