Hi,
Not sure how to explain this one. however let me try.
My file structure is as follows:
video/bromford/header_video.flv
video/showreel/header_video.flv
video/sydney/header_video.flv
and in my index page i have the following php code
<?php
$folder = showreel;
?>
and in flash the following AS
[AS]
myVideo_nc = new NetConnection();
myVideo_nc.connect(null);
newStream_ns = new NetStream(myVideo_nc);
videoHolder.attachVideo(newStream_ns);
newStream_ns.play(loadMovieNum(“video/”+folder+"/header_video.flv",0));
[/AS]
this way i thought i would be able to load a different flv into the same swf by just changing the variable on the index page, for example
<?php
$folder = sydney;
?>
would load in this file “video/sydney/header_video.flv”
but its not working anybody have any ideas?