This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > September 2006 > Need Help again...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need Help again...
ArtQ

2006-09-24, 6:24 pm

Hi all...

Really need help again this time...

I am trying to do a web page and thought of placing 4 video clips into 1
Loader...viewers can simply
choose any of the videos they would like to watch...and all the video clips
will then play in the same
Loader like the rest...Is it possible?

Moca...or anyone...please help me...Thanks in advance...

ewon15

2006-09-24, 6:24 pm

it should be possible...if i understand your inquiry correctly. You want to
load in various video clips at different times (not at the same time, right?)
into the same loader...i'm not sure how different video clips are in relation
to movie clips and loading but here's what i would do...

for your buttons:
on(release) {
_root.yourLoader.loadMovie(url, target);
}

what should happen is no matter which video is loaded when you click on
another button and your loader is told to load in a different video, it will
simply replace the previous one...that is, as long as you load your video clips
onto the same level and/or target. At least that is how movie clips and loaders
work...i don't think it would be that different to code for video clips. hope
that helps...


ArtQ

2006-09-24, 6:24 pm

Thanks so much ewon15!

(by the way I love the number 15 in ur nick cos 15 is my
fav number since toddler, with all the sentimental values...)

you got me right...that's wat I wanted to do. but for the url
and target, can you explain more cos I'm a newbie. All I know
is that the target is my movie but wat about the url?...

Let say -

for my buttons:
on(release) {
_root.yourLoader.loadMovie(url, myMovie.flv);
}

but wat about my url?...and did I get it rite for the target,
and, should I write these scripts in my actions layer or the
button itself?...Please help...Thanks so much! Appreciated!

Moca

2006-09-24, 6:24 pm

hhhmm I think there is a better way to do this:

1. Open your components panel and drag the FLVPlayback to the stage
2. Give an instance name of my_FLVPlybk
3. Add your buttons and give instance names of btn1, btn2 etc...
4. For each one add this on the first frame of the timeline:
btn1.onRelease = function() {
my_FLVPlybk.contentPath = "video_01.flv";
}
5. If you want the movie to start to play immediately, just add
my_FLVPlybk.contentPath = "video_01.flv";

Remember the flv location needs to be in sync with the swf
You can change the playback skin from the parameter panel be selecting
the component. This will create an additonal swf that needs to be always
there in the same directory


ArtQ wrote:
> Thanks so much ewon15!
>
> (by the way I love the number 15 in ur nick cos 15 is my
> fav number since toddler, with all the sentimental values...)
>
> you got me right...that's wat I wanted to do. but for the url
> and target, can you explain more cos I'm a newbie. All I know
> is that the target is my movie but wat about the url?...
>
> Let say -
>
> for my buttons:
> on(release) {
> _root.yourLoader.loadMovie(url, myMovie.flv);
> }
>
> but wat about my url?...and did I get it rite for the target,
> and, should I write these scripts in my actions layer or the
> button itself?...Please help...Thanks so much! Appreciated!
>
>

eyeflame.tv

2006-09-24, 6:24 pm

Interesting.
Moca, is it possible to have different trigger points for every FLV that is
played?(Or since this is linked to the Display component itself, and not the
FLV file itself. I guess it would not be?) Or is the triggers linked to the
instance of the component?
(Why I'm asking, is cause it seems like I can only get one set of triggers
working with a FLV played via the Display component per movie. I'm using it to
advance the root movie to a label that contains the menu again. The first one
works fine but the others are dead. (even though I set it up exactly the same
way as for the first FLV).

Moca

2006-09-24, 6:24 pm

oi

I think the best thing would be to use 'cue points'. These are
'triggers' you can create inside the FLV and you can use listeners to
listen to them.
There are a couple of ways to setup cue points, you can use the FLV
encoder or there is another way within the authoring tool I forgot about it.

There are 2 kinds of cue points...
Google on FLV cue points and this could be what you are looking for

eyeflame.tv wrote:
> Interesting.
> Moca, is it possible to have different trigger points for every FLV that is
> played?(Or since this is linked to the Display component itself, and not the
> FLV file itself. I guess it would not be?) Or is the triggers linked to the
> instance of the component?
> (Why I'm asking, is cause it seems like I can only get one set of triggers
> working with a FLV played via the Display component per movie. I'm using it to
> advance the root movie to a label that contains the menu again. The first one
> works fine but the others are dead. (even though I set it up exactly the same
> way as for the first FLV).
>
>

ArtQ

2006-09-24, 6:24 pm

First & foremost...Thanks loads to Moca! You neva disappoint newbies
like me and others in this 'Helpful' forum. And those who had help me
b4, thanks to you too!
ArtQ

2006-09-24, 6:24 pm

Hi All...
In need of help now (again!?...hehehe)

ok my questions...
Finally, I have almost finish with my 1st Flash website consists of :-

9 Scenes of different pages
eg. Scene 1 - Home
Scene 2 - About Me, and so forth...

1. How can I include a preloader between pages?

2. What is the next step for me to prepare for FTP uploading? Can
anyone with expertise in Flash teach me step by step on what I should
do next when everything is complete (publishing my website via FTP)?

Thanks loads for any help cos I am really a Newbie in Flash 8 and
I really need a lot of help out here. Who knows in the future I can
help others too.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews