Jump to content
Search Community

leadbased

Members
  • Posts

    4
  • Joined

  • Last visited

leadbased's Achievements

0

Reputation

  1. Your explanation was actually all I needed to get a grip on the issue I was having. I'm certainly glad because making a pared-down version of this site was going to kill me. Thank Jack!
  2. I am trying to debug a LoaderMax that has a for loop of various sized clips (5) acting as container for VideoLoaders The idea is LoaderMax - onComplete the container/VideoLoaders fade up and run in a sequence of 1st playing, 2nd playing, etc in a loop When I try to test the project, I get wildly different results each time ie: 2,3,4 load and display, but since 1 isn't, no play (and many other permutations) would it be better for me to make individual (hard-coded) VideoLoaders for each rather than dynamic (for loop) and to work with onChildComplete instead? perhaps with each loading and then allowing the next to load? here is the code private function _initGrid ():void{ trace("_initGrid ()") _queue = new LoaderMax({name:"videoQueue", onChildComplete:_completeChildHandler,onProgress:_progressHandler, onComplete:_completeHandler, onError:_errorHandler, auditSize:true}); var _num:int = 1 for (var i:int = 0; i < _gridClips.length; i++) { _videoClip = _masterContainer.addChild(new (getDefinitionByName(_gridClips[i]) as Class))as MovieClip _videoClip.name = "VideoClip"+_num _videoClip.addEventListener(MouseEvent.ROLL_OVER, _showVideoControls, false, 0, true); _videoClip.addEventListener(MouseEvent.ROLL_OUT, _hideVideoControls, false, 0, true); _videoClip.x = _gridX[i] _videoClip.y = _gridY[i] _videoClip.width = _gridWidth[i] _videoClip.height = _gridHeight[i] _loader = new VideoLoader(_videoDirectory+_num+".flv", {name:"poppy-video-"+_num, container:_videoClip, width:_videoClip.width, height:_videoClip.height, centerRegistration:true,scaleMode:"stretch", bgColor:0xFFFFFF, autoPlay:false, volume:0, estimatedBytes:1048576,checkPolicyFile:true}); // ADD FRAME _videoFrame = new VideoClipFrame() _videoClip.addChild(_videoFrame) _videoFrame.width = _videoClip.width _videoFrame.height = _videoClip.height _queue.append( _loader ); _num++ } _queue.load(); }
  3. I am working with the VideoLoader and have a fine time with it in test mode, but upon publish, both local and remote viewing do not load videos that are in a relative position to the presenting swf and it's parent html. I have tried absolute and relative URLs. Is this because I will need to have them on a Streaming Server? I understand this MAY not be at all related to LoaderMax code and just would like to exclude issues
  4. I cannot seem to get the VIDEO_COMPLETE to fire for any implementation I have tried and with several FLVs Has anyone made use of it and been successful?
×
×
  • Create New...