FORUMS: list search recent posts

Re: How to add a jpg placeholder to Flash video

COW Forums : Adobe Flash

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Robert O'MalleyRe: How to add a jpg placeholder to Flash video
by on May 23, 2012 at 8:39:08 pm

import fl.video.*;
import com.greensock.*;
import com.greensock.easing.*;

Demitri,

Here's the code I'm using. It's not loading the flv video and controls. I'm getting an error message:Access of possibly undefined property PLAYING_STATE_ENTERED through a reference with static type class.



import fl.video.*;
import com.greensock.*;
import com.greensock.easing.*;

movie1.autoPlay=false;

movie1.source="sandywoods_resident_export.flv";


movie1.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, isPlaying);



function isPlaying(e:VideoEvent): void
{
TweenLite.to(poster, 4,{alpha:0} );
}



Posts IndexRead Thread 


Current Message Thread:





© 2016 CreativeCOW.net All Rights Reserved
[TOP]