nate51
10-29-2008, 05:05 PM
I am looking into a project and I am not sure if this is possible, here are the details.
A site similar to this
http://www.stephenchungphotography.com
Client wants the list in XML so they can upload their own videos.
The question I have is, would it be possible to have the right side be a dynamic place holder with open variables so when someone clicks the XML list on the left the XML drops in code for the flv?
I used something similar to this but it was hard coded into flash, it was an open ended line in my code that when you click for a new swf file, the current one would animate out then look for the swf file that filled in that blank extension (see code below)
Code used on page
Code used on button
[CODE]on(release) {
if (_root.currMovie == undefined) {
_root.currMovie = "movieName";
_parent.container.loadMovie("movieName.swf");
} else if (currMovie != "movieName") {
if (_parent.container._currentframe >= _parent.container.midframe) {
_root.currMovie = "movieName";
_parent.container.play();
}
}
}
As you can see the line
currMovie+".swf" gets replaced with whatever movie clip you click on.
Does anyone know if something like this is possible as I don't even know what to search for on the net as I am not sure what this is classified as.
-- Nate
A site similar to this
http://www.stephenchungphotography.com
Client wants the list in XML so they can upload their own videos.
The question I have is, would it be possible to have the right side be a dynamic place holder with open variables so when someone clicks the XML list on the left the XML drops in code for the flv?
I used something similar to this but it was hard coded into flash, it was an open ended line in my code that when you click for a new swf file, the current one would animate out then look for the swf file that filled in that blank extension (see code below)
Code used on page
Code used on button
[CODE]on(release) {
if (_root.currMovie == undefined) {
_root.currMovie = "movieName";
_parent.container.loadMovie("movieName.swf");
} else if (currMovie != "movieName") {
if (_parent.container._currentframe >= _parent.container.midframe) {
_root.currMovie = "movieName";
_parent.container.play();
}
}
}
As you can see the line
currMovie+".swf" gets replaced with whatever movie clip you click on.
Does anyone know if something like this is possible as I don't even know what to search for on the net as I am not sure what this is classified as.
-- Nate