Vixie, the Ximpel playlist editor for the Ximpel Interactive Media Player.
You can begin editing your playlist by simply clicking the button Add subject.
If you have any questions or doubts please contact us at our support email.]]>
0){
subjectCount--;
var currentSubjectView : SubjectView = tabNavigator.selectedChild.getChildAt(0) as SubjectView;
interactiveVideo.removeSubject(currentSubjectView.subject);
tabNavigator.removeChild(tabNavigator.selectedChild);
if (subjectCount == 0)
tabNavigator.addChild(startCanvas);
}
}
private function setAsActiveMedia(media : Object):void
{
if (media == activeMedia)
return;
activeMedia = media;
propertiesPanel.propertiesCanvas.removeAllChildren();
var className : String = flash.utils.getQualifiedClassName(activeMedia);
if (className == "net.ximpel.components::MediaClipView")
{
var clipView : MediaClipView = activeMedia as MediaClipView;
propertiesPanel.propertiesCanvas.addChild(mediaClipForm);
var subject : Subject = new Subject();
mediaClipForm.updateClip(clipView.clip, interactiveVideo.subjects);
}
}
public function setAsActiveSubjectView(subjectView:SubjectView): void
{
if (activeSubjectView == subjectView)
return;
activeSubjectView = subjectView;
propertiesPanel.propertiesCanvas.removeAllChildren();
propertiesPanel.propertiesCanvas.addChild(subjectForm);
subjectForm.updateForm(subjectView.subject, interactiveVideo.subjects);
subjectForm.subjectView=subjectView;
}
private function subjectFormChangedHandler(event:InterfaceEvents):void
{
subjectForm.updateSubject();
activeSubjectView.updateInfo();
}
private function mediaActivatedHandler (event:InterfaceEvents):void {
var currentSubjectView : SubjectView = event.currentTarget as SubjectView;
var mediaView : MediaClipView = currentSubjectView.currentMedia as MediaClipView;
setAsActiveMedia(mediaView);
}
private function subjectActivatedHandler(event:InterfaceEvents):void
{
var currentSubjectView : SubjectView = event.currentTarget as SubjectView;
setAsActiveSubjectView(currentSubjectView);
}
private function childIndexChangeHandler(event:Event):void
{
var _tabNavigator:TabNavigator = event.currentTarget as TabNavigator;
var _canvas : Canvas = tabNavigator.selectedChild as Canvas;
var _subjectView : SubjectView = _canvas.getChildAt(0) as SubjectView;
subjectForm.removeEventListener(InterfaceEvents.SUBJECT_FORM_CHANGED, subjectFormChangedHandler);
setAsActiveSubjectView(_subjectView);
subjectForm.addEventListener(InterfaceEvents.SUBJECT_FORM_CHANGED, subjectFormChangedHandler);
}
]]>