The plan is to set up variables to react to a flashvars value like this:
[code=html]<param name="flashvars" value="mainVars=1" />[/code]
videoTitle="Show the video's change";
videoTitle="This is the second one";
There would be many mainVars (over 100, actually) and this setup isn't working. Could someone please help fix this problem?
Message was edited by: shawn234
there are so many problems it's hard to tell what you want to do.
but to start:
1. you almost certainly don't want to use an enterframe loop there
2. the parameter i should be decrementing, not incrementing
3. _root.mainVar is not the same as mainVars
4. you almost certainly don't want to use a while-loop there
Oops, the mainVars was a typo.
What I want to have as the finished product is a video page of multiple video players, each player with a different mainVar value. The mainVar would tell the videoArray what to change the simplified videoTitle and videoFile variables to.
That's the plan. I don't know how to impliment it. I figured an array would be a good choice since the array can have infinite "i" values, but I could be horribly wrong...