Same movie, different starting point

I have a flash movie with 3 different scenes, say A, B, C.

Is it possible to start the movie at different secen based on the calling url?

for example:
(all the htmls contain the same movie)

Many thanks.

Tasman :)
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.

I don't think it is possible.
How about having 3 separate pages that have the movie on it but starting at different scenes. Eg, link A will take you to HTML page A which has just got the Scene A in it. Repeat for B and C.
Would this be possible??
tasman082997Author Commented:
The scenes are not Totally seperated.  I would prefer have them all together.

Thanks for you quick response.

This can be done using JavaScript...
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

yes, you can do this.

there is a property called _url that can be accessed in flash. this is the url where the movie is loaded. set a variable (let's call it "location") equal to it and make some logical actions to decide what to do depending on what the url is.

set variable "location"= _url

if location eq ""
Goto and play (frame)
else if location eq ""
Goto and play (another frame)


tasman082997Author Commented:

  thank you for your response.  I tried _url properties.  But it gives the same movie.swf file location, not the html location.  

Many thanks.

You can do it using the _URL property and a variable as previously suggested.

BUT ... what you need to do is to use the Get URL action before you point the browser window to the new location. You will need to use a CGI script to set a variable within a database or text file so that when the new location opens the flash movie, you can use a pre-loader to interrogate the file so as to ascertain from which URL you have come from.  Then apply an IF block to set the GOTO AND PLAY action.

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
tasman082997Author Commented:

  thanks for your response.  I am aware of this approach.  But I was looking for a more direct method.  Thanks anyway.

Tasman :)
You could try a different way by using Dreamweaver.  This way you could use java to control the movie.  If you look at the button actions available on the behaviours pallette you'll see that you can actually jump to a particular frame.

Therefore you'll need to use javascript to parse out the URL from where you opened the new window and then tell the time line/movie to jump to the frame of your choice.

The theory seems sound though I haven't had time to actually try it!

Using the CGI script is very easy though!

Good luck!
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
Adobe Flash

From novice to tech pro — start learning today.