Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-15-2011, 06:29 AM   #1
elfenlied
Registered User
 
Join Date: May 2008
Posts: 14
Question IE9 issue - flash not showing when page is revisited

I made a very simple video player. It's working very nice in all browsers. The issue is only with IE9. The video is playing only on the first visit of the page. For example you open the page, you watch the video, click the back button and decide to visit the same page ... and the video is not showing at all. If you refresh the page the video appears again. I asked some people to test it and they have the same issue. Is this an IE9 / FP 10.3 bug?

In essence this is my code:

ActionScript Code:
var myVideo:FLVPlayback = new FLVPlayback(); var myVideoSkin = "SkinOverPlayStopSeekFullVol.swf"; myVideo.addEventListener(VideoEvent.READY, onReadyHandler); myVideo.addEventListener(VideoProgressEvent.PROGRESS, onProgressHandler); myVideo.skinBackgroundColor = 0x808080; myVideo.skinBackgroundAlpha = 0.5; myVideo.width = 600; myVideo.height = 400; myVideo.autoPlay = false; myVideo.source = root.loaderInfo.parameters.videoSource; function onProgressHandler(event:*):void {     var percents:Number = myVideo.bytesLoaded / myVideo.bytesTotal * 100;     if (percents > 5)     {         myVideo.removeEventListener(VideoProgressEvent.PROGRESS, onProgressHandler);         myVideo.seek(myVideo.totalTime / 30);     } } function onReadyHandler(event:VideoEvent):void {     myVideo.removeEventListener(VideoEvent.READY, onReadyHandler);         this.addChild(myVideo)}

P.S. - apologies for my language
elfenlied is offline  
Old 08-01-2011, 06:54 AM   #2
sunnryze
Registered User
 
Join Date: Apr 2011
Posts: 4
Default

have you tried checking the box for the loop feature in the properties panel? see if that will keep it available;

what else have you done to troubleshoot it?

jees as I'm writing this I hear gunshots in the nabe - every nite now
sunnryze is offline  
Old 08-02-2011, 05:36 AM   #3
elfenlied
Registered User
 
Join Date: May 2008
Posts: 14
Default

Actually i figured it out couple of days ago. Sorry for the late reply but I was working on a different project till now. So ... the solution is fairly simple - place the Flvplayback component on the stage and them use AS3 to apply the stuff on it.
elfenlied is offline  
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:45 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.