Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE FLASH:HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: How to add a jpg placeholder to Flash video

COW Forums : Adobe Flash

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
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
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]