FORUMS: list search recent posts

Adobe Flash: Components and Video Player?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Robert Meade
Adobe Flash: Components and Video Player?
on Oct 10, 2009 at 3:25:23 am

Hey There,

I'm very new to Flash, I haven't used it since MX, and even then I wasn't very good. However, what I'm trying to do is use 3rd Party Components. More specifically I use Photoflip CS from DigiCrafts and I use it for image galleries very successfully. However, what I want to do is use it as a way for people to select a video that will play in my separate Flow Player. I have PhotFlip CS and SimpleLoader from DigiCrafts they are AS3 and I am using Flash CS4. I don't know where to start for this so any help would be appreciated. Mainly I want to list images that correspond to different videos in my PhotoFlip and when a user clicks on it the response is to have FlowPlayer play that video. -Thank You For Your Time.


Return to posts index

Robert Meade
Re: Adobe Flash: Components and Video Player?
on Oct 11, 2009 at 1:27:54 am

Okay,
So I figured out how to do it with having a video player in the same flash movie like this:


//import event
import com.digicrafts.events.*;

//add click action to the photoflip
photoflip.addEventListener(ItemEvent.CLICK, iEventHandler);
photoflip.addEventListener(ItemEvent.CHANGE, iEventHandler);
/*
photoflip.addEventListener(ItemEvent.DOUBLE_CLICK, iEventHandler);
photoflip.addEventListener(ItemEvent.MOUSE_OVER, iEventHandler);
photoflip.addEventListener(ItemEvent.MOUSE_OUT, iEventHandler);
photoflip.addEventListener(ItemEvent.SELECT, iEventHandler);
*/

function iEventHandler(event:ItemEvent){
switch(event.type){
//Event when selection change
case ItemEvent.CHANGE:
//change the Players Source to the The Title
pubPlayer.source = event.item.title;
caption.htmlText = event.item.description;
//Event when click on the item
case ItemEvent.CLICK:
break;
default:
break;
}
}


the instance name for the Flash Player component is pubPlayer

So if there is any other newbies out there trying to figure this out, there ya go, and if anyone could help me out with doing it with an outside player like FlowPlayer than please help me out.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]