stonestudioprod

Members
  • Content count

    4
  • Joined

  • Last visited

Everything posted by stonestudioprod

  1. stonestudioprod

    VideoLoader target specific video for control

    Thanks, and I understand.
  2. I have ten videos that I want to play, pause,scale up, change volume and unload. I created ten vars representing each video. EXAMPLE: var sterling1:VideoLoader = new VideoLoader(“assets/sterling1.mp4”,{name:”sterling1”, container:this, onProgress:progressHandler, onComplete:completeHandler, autoplay:false}); I have ten MCs representing each video, each one with an ID. EXAMPLE: sterlingButs.sterling1.ID = “sterling1”; I created a function called playVid that I want to use to play the videos. function playVid(event:MouseEvent):void { targetMovie=event.target.ID; trace("targetMovie "+targetMovie); VARIABLE_HERE.load(); choreoButs.gotoAndStop("none"); sterlingButs.gotoAndStop("one"); break; ETC… I also have functions representing Rewind, Forward, scaleUp, and ScaleBack. EXAMPLE: controls.RewBut.addEventListener(MouseEvent.CLICK,RewVidHandler); function RewVidHandler(event:MouseEvent):void { trace("Fwd"); trace(VARIABLE_HERE.videoTime); VARIABLE_HERE.gotoVideoTime(VARIABLE_HERE.videoTime-5); I can’t seem to figure out how to cast the variable I get when clicking the button into the VideoLoader instance name. Sorry if this seems too basic, but I just have a hard time with data types.
  3. stonestudioprod

    VideoLoader target specific video for control

    Ok, this seems to work. function playVid(event:MouseEvent):void { resetForMovie(); var targVideo:VideoLoader = LoaderMax.getLoader(event.target.ID); trace("targVideo =" +targVideo); resetForMovie(); choreoButs.gotoAndStop("one"); targVideo.load(); } Now I want to unload the video that is currently playing before loading the targVideo. How do I determine the video that is currentlyplaying? So I will have curVideo and targVideo vars thanks!
  4. stonestudioprod

    blurFilter not working in AIR app

    I created a Flash CS6/AS3 project and used TweenMax to create a motionblur effect tl.insert( TweenMax.from(text1_mc, .5,{x:-600, blurFilter:{blurX:140}})); It looks great when I preview publish on the mac, but when I install the app to my iPad2, there is no motion blur effect. All the other scale, alpha, rotate effects are working great. any ideas? AIR 3.4.0.2710 GSAP 11