Yeah, not so good a technique :) simple way - just have the swf file call FLash's getURL() method when the video is done playing. This could be a static location, or you could pass through a variable using flashvars from the HTML page
js way Use the ExternalInterface class in Flash to call a javascript method on the HTML page when done. Either way, you really need access to the Flash file source code.... Aran On Tue, Jun 1, 2010 at 10:11 PM, Rubén <[email protected]> wrote: > HI Aran, my best regards beforehand.... > > Just wondering about something else that perhaps you would be able to > help me with.. the thing is that this intro page of www.agilemarine.com > should got self-redirected to my home page at the intro ending.. Time > ago I tried to find some event from this javasript library or > soemthing,to know exactly the flash video Reproduction-Ending, but not > luck. This way got the client should be redirected automatically to my > home page after the video. So far what I did (which is not the good > way because of the customers connection kinds), was the following: > > <body onload="timer=setTimeout('move()',12000)"> > > this code just calls the setTimeout at form OnLoad and this way I set > a fixed 12 secs timer and after that, I just do a redirection... which > means that perhaps there could be some clients with an slow connection > and they all will got redirected before the video ending. > > Thanks you for any help in advance. > Ruben. > > > On 31 mayo, 22:32, Rubén <[email protected]> wrote: > > Hi Aran. > > > > Beforehand let you know my full gratitude to you for your amazing > > assistance. > > > > Yes Aran, I'm making contact to the coder of this flash video to make > > the correct fixes not only on the refreshing issue, but also on the > > stuff about the suggestion you just gave me in regards to the > > VideoWeight/ReproductionTime balance. > > > > I'm very grateful to you Aran. > > Thanks very much, > > Ruben. > > > > On 31 mayo, 21:43, Aran Rhee <[email protected]> wrote: > > > > > Hi Ruben. > > > > > I am glad that it helped. Really the cache suggestion was only a temp > fix as > > > it means that every time someone visits the intro page, they will be > forced > > > to re-download the intro swf. I would suggest you talk to your Flash > dev and > > > have them fix their code to handle a browser refresh (and re-encode the > > > video - you should be able to get the video to 100's of kb, not MBs!) > > > > > Cheers, > > > Aran > > > > > On Tue, Jun 1, 2010 at 12:38 PM, Rubén <[email protected]> wrote: > > > > Hi Aran, the first think I need to say is just : THANKS very much for > > > > your quick and helpful assistance... > > > > With this single line of code the flash video seems that it's working > > > > fine with this cache-suggestion you just gave me. Thanks you very > much > > > > once again. > > > > > > Now, regarding your recommendation and comments... > > > > 1. I realized that I did the changes on the local development website > > > > with the newest version, but got not the hosted version yet. This is > > > > why you saw the old version references on the hosted website. > > > > 2. regarding the weight of the swf file and your suggestion.. I think > > > > you are right.. It's just I'm not the flash developer of this intro, > > > > I'm just the website coder.. :( But I'll make your recommendation. > > > > > > Thanks you once again Aran, your comment just got me out of a tinny > > > > hole! > > > > Ruben. > > > > > > On 31 mayo, 20:34, Aran Rhee <[email protected]> wrote: > > > > > Well, the Flash file IS being loaded each time, so I would think > that the > > > > > issue lies within the swf file, and not with the HTML. > > > > > > > You could verify this by adding a cache busting querystring to your > swf > > > > like > > > > > so: > > > > > > > var so = new SWFObject('agilemarine_intro.swf?r=' + new > Date().getTIme(), > > > > > 'mpl', '400', '400', '8'); > > > > > > > BTW - you are NOT using swfobject 2.2 like you state, but v1.5. > > > > > > > You have a bunch of 404s (not found) for these files referenced on > your > > > > > page: > > > > > -http://www.agilemarine.com/App_Themes/homepage/shadow.png > > > > > -http://www.agilemarine.com/jquery-1.3.2.min-vsdoc2.js > > > > > -http://www.agilemarine.com/jquery.cycle.lite.js > > > > > > > Also, this "preloader" is huge! - 3.7 mb for a 5 sec intro! I would > > > > rethink > > > > > the need for this video / at least re-encode it... > > > > > > > Aran > > > > > > > On Mon, May 31, 2010 at 10:29 PM, Rubén <[email protected]> > wrote: > > > > > > What steps will reproduce the problem? > > > > > > > > -The steps are explained at the attached file or take them from > > > > > > here:https://www.box.net/shared/eybz9zype4. > > > > > > -Please, could you also go to my website here: > > > >http://www.agilemarine.com > > > > > > and you will see the flash intro right there, afterwards the home > page > > > > > > will be displayed. At this point when you are at > > > > > >http://www.agilemarine.com/home > > > > > > just please, change the url in this same browser by removing the > > > > > > "home" from the string and this way you will go to the intro > webpage > > > > > > again (http://www.agilemarine.com)....andthentheissue will > > > > > > comes...which is a blue progress bar instead of the flash video. > > > > > > > > What is the expected output? What do you see instead? > > > > > > > > What I need is an intro flash video to be reproduced on my > default > > > > > > website > > > > > > page. And then, after the video is reproduced, the user is > > > > > > automatically > > > > > > redirected to the home page. SO far everything works fine!! but > the > > > > > > issue > > > > > > comes when I try to get back to the default page from my home or > any > > > > > > other > > > > > > webpage by using this same "IExplore Browser Instance", and when > this > > > > > > is > > > > > > done, the flash video just do not got reproduced. (Please, look > at the > > > > > > attached file for more info). Basically, when one browser is > opened, > > > > > > and > > > > > > the website is accessed for first time on this Browser Instance, > the > > > > > > flash > > > > > > video is displayed correctly...but when I try to access to the > flash > > > > > > video > > > > > > page again from this same browser instance, the only thing I got > is a > > > > > > blue > > > > > > bar (the flash player progress bar) instead of the Intro Video. > > > > > > > > What version of the product are you using? On what operating > system? > > > > > > > > *SWFObject 2.2 > > > > > > *Windows 7 > > > > > > *IExplore Version: 8.0.7600.16385 > > > > > > > > -- > > > > > > You received this message because you are subscribed to the > Google > > > > Groups > > > > > > "SWFObject" group. > > > > > > To post to this group, send email to [email protected]. > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected]<swfobject%[email protected]> > <swfobject%[email protected]<swfobject%[email protected]> > > > > > > <swfobject%[email protected]<swfobject%[email protected]> > <swfobject%[email protected]<swfobject%[email protected]> > > > > > > > > > > . > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/swfobject?hl=en. > > > > > > -- > > > > You received this message because you are subscribed to the Google > Groups > > > > "SWFObject" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<swfobject%[email protected]> > <swfobject%[email protected]<swfobject%[email protected]> > > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/swfobject?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
