launch a flash movie at a specific frame

Hi: I have a website that I use to store pdf's of safety documents  at our company. I have a flash movie (flash5 !) that navigates from the factory to the department to the workcentre to the role ; and from there launch a php/mysql table that lists and accesses the pdf's appropriate to that role. THe problem is navigation; when I am on the 'php' page I have left the flash movie. If a user wants to go back into the navigation they have to restart the flash movie from the beginning, which kind of disrupts navigation.
 Soooo my question is - it it possible to launch a flash movie AT A SPECIFIED FRAME?  I think the answer lies in javascript of which I know next to nothing......
Thanks!
Richard TeasdaleFinancial ControllerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lenamtlCommented:
Hi,

This is possible to go to specific frame using ActionScript and an emptyMovieClip named container.
This will be more complex in your case as you will need a mechanism to remember the latest viewed frame or find a way to check the actual url and associate it to a movie frame.

Basic way how to go to a specific frame

in ActionScript panel
container.loadMovie('yourMovie.swf');

Open in new window

This is an example how to go to a specific frame
var frame:Number = 3;

container.loadMovie('yourMovie.swf');
this.onEnterFrame = function() {
    if (container._framesloaded >= frame) {
        container.gotoAndStop(frame);
        delete (this.onEnterFrame);
    }
}

Open in new window


One of my friend was using this some time ago
https://github.com/swfobject/swfobject

You should consider stop using Flash and replace it by newest technology, as it no more supported...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard TeasdaleFinancial ControllerAuthor Commented:
Thanks you very much! This is my one and only use of Flash and I have the software so to keep costs down am using rather than updating. Thank you very much for the advice.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.