This is a discussion on "Javascript->Flash rewind() not working on local IE drive" within the Flash & Multimedia Forum section. This forum, and the thread "Javascript->Flash rewind() not working on local IE drive are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Javascript->Flash rewind() not working on local IE drive
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Javascript->Flash rewind() not working on local IE drive
Hi there
I'm currently having trouble finding the error as to why my code doesn't work. Ok, what I've done is coded in Javascript to call a flash Rewind method (movie.Rewind()). I've got the play and stop methods going very well on the local drive via Internet Explorer but the Rewind method is not doing what it suppose to do, which is, to go back to the first frame. I tried it on Firefox locally and uploaded onto a serve viewed via IE. All buttons (play, stop and rewind) behave as it should. Does anyone know why this is happening? Is it Flash causing the problem or IE. I've read something about security issues whould that be the case? Cheers Kyk |
|
|
|
|||
|
Re: Javascript->Flash rewind() not working on local IE drive
Post code.
Why not use flash to do it instead? |
|
|||
|
Re: Javascript->Flash rewind() not working on local IE drive
Hi there,
I'm with Sypher. It's so much easier just to insert a back button in your flash persentation with a simple gotoandplay() or gotoandstop() command. Bruno Aun |
|
|||
|
Re: Javascript->Flash rewind() not working on local IE drive
Thanks for the suggestion. If I use Flash for those buttons would I need to write the rest of the page in Flash? What bother me is that it works fine on the web server with IE & Firefox (locally too) but not on local drive with IE.
So if it is working fine on Firefox and on web-server, I assume my code would be all right, right? The reason why I need IE to work on local drive is because some of our customers perfer to work off-line...ie they'll be using a CD instead. It'll be great if there is a way round it. Cheers Kyk |
|
|||
|
Re: Javascript->Flash rewind() not working on local IE drive
No, there's no need for the entire page to be in Flash.
The rewind button would reside within the flash movie only. Just create a simple button and add this action to it : on release {gotoandplay(1);} you can change the '1' to the frame number you want to send your users to. hope this helps Cheers, Bruno Aun |
|
|||
|
Re: Javascript->Flash rewind() not working on local IE drive
Thanks Bruno Aun,
so the code on release{gotoplay(1);} is this within javascript or where should it go. my current code for rewind method is: function rewindMovie(){ var movie=getFlashMovieObject("fileName"); if(movieIsLoaded(movie)){ movie.Rewind(); } else{ alert("can't rewind"); } } I've also tried using TotalFrame()/GotoFrame(), for some reasons IE is not responding locally. Firefox is fine. Would you have any idea why that is? Cheers Kyk |
![]() |
| Tags |
| javascriptgtflash, rewind, working, local, drive |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some javascript not working in Firefox | jonnymorris | Web Page Design | 4 | Sep 18th, 2007 14:02 |
| Some javascript not working in Firefox | jonnymorris | JavaScript Forum | 4 | Sep 18th, 2007 10:47 |
| Javascript not working in xhtml | adnanoner | JavaScript Forum | 0 | Aug 4th, 2007 23:24 |
| Help: getURL not working on all browsers to access Javascript | PDidee | Flash & Multimedia Forum | 1 | Jan 22nd, 2007 21:33 |
| Javascript->Flash Rewind() not working on local drive with IE | kyk | JavaScript Forum | 1 | Jul 31st, 2006 03:45 |