Skip to main content
June 30, 2006
Answered

Still got a big problem

  • June 30, 2006
  • 1 reply
  • 257 views
First, please check out my site...this will be easier to explain once you see it....

http://www.ekorastudios.com/index2.html

Navigate yourself to "Portfolio" and then to "Video"
I can't get any of my flv files to play, and I'm guess it's because when you click on the thumbnail of a particualr video you want to watch, it pops up a new window with just a swf file in it that plays the flv file. I've been told not to do this (I should use html to embed the swf), but I did it out of necessity.

Here's my wish, please let me know if you can help me figure out how to do this...
I'd like to make one swf file with a keyframe for each movie clip to show. I'd like to code the buttons to open up that one swf file and tell it to go to a specific frame. That way, everything is in one swf file (not the actual flv files of course, I use the flv player to call them in) instead of 60 different swf files and 60 different html files.

Please help!!! Thanks,
B


This topic has been closed for replies.
Correct answer Newsgroup_User
Why do you need the external swfs or separate MCs? Do they have unique
imported static assets that are related to each FLV?

If not then just use the contentPath property for the FLVPlayback and a
single FLVPlayback component and use AS to change the that value. Use an
array to hold the various FLV file names and the buttons to make the switch.



--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"ekora" <webforumsuser@macromedia.com> wrote in message
news:e8260i$e95$1@forums.macromedia.com...
> First, please check out my site...this will be easier to explain once you
> see
> it....
>
> http://www.ekorastudios.com/index2.html
>
> Navigate yourself to "Portfolio" and then to "Video"
> I can't get any of my flv files to play, and I'm guess it's because when
> you
> click on the thumbnail of a particualr video you want to watch, it pops up
> a
> new window with just a swf file in it that plays the flv file. I've been
> told
> not to do this (I should use html to embed the swf), but I did it out of
> necessity.
>
> Here's my wish, please let me know if you can help me figure out how to do
> this...
> I'd like to make one swf file with a keyframe for each movie clip to show.
> I'd like to code the buttons to open up that one swf file and tell it to
> go to
> a specific frame. That way, everything is in one swf file (not the actual
> flv
> files of course, I use the flv player to call them in) instead of 60
> different
> swf files and 60 different html files.
>
> Please help!!! Thanks,
> B
>
>
>
>


1 reply

Newsgroup_UserCorrect answer
Inspiring
July 2, 2006
Why do you need the external swfs or separate MCs? Do they have unique
imported static assets that are related to each FLV?

If not then just use the contentPath property for the FLVPlayback and a
single FLVPlayback component and use AS to change the that value. Use an
array to hold the various FLV file names and the buttons to make the switch.



--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"ekora" <webforumsuser@macromedia.com> wrote in message
news:e8260i$e95$1@forums.macromedia.com...
> First, please check out my site...this will be easier to explain once you
> see
> it....
>
> http://www.ekorastudios.com/index2.html
>
> Navigate yourself to "Portfolio" and then to "Video"
> I can't get any of my flv files to play, and I'm guess it's because when
> you
> click on the thumbnail of a particualr video you want to watch, it pops up
> a
> new window with just a swf file in it that plays the flv file. I've been
> told
> not to do this (I should use html to embed the swf), but I did it out of
> necessity.
>
> Here's my wish, please let me know if you can help me figure out how to do
> this...
> I'd like to make one swf file with a keyframe for each movie clip to show.
> I'd like to code the buttons to open up that one swf file and tell it to
> go to
> a specific frame. That way, everything is in one swf file (not the actual
> flv
> files of course, I use the flv player to call them in) instead of 60
> different
> swf files and 60 different html files.
>
> Please help!!! Thanks,
> B
>
>
>
>


July 2, 2006
"If not then just use the contentPath property for the FLVPlayback and a
single FLVPlayback component and use AS to change the that value. Use an
array to hold the various FLV file names and the buttons to make the switch."

Hi Lon,

Your response was a little above my actionscript knowledge, but I kind of understand. What would I put in the contentPath property box? I don't really understand what you meant by "use a single FLVPlayback component and use AS to change the that value."

You also siad to use an array to hold all of the FLV file names ...where would I put that array? I've never written an array before, could you provide an example?

Also, you said I could control it with a button - each of these are attached to a button already, so how would I change the script on the button to control this?

Thanks in advance....
B