Using SWiSHmax and HTML

I am new to SWiSHmax and i have just created my first movie and i want it to play in my html file, then when it has finished playing i want to be able to open another html file or alternatively for the user to click on a link that will open the hmtl file.  I am using SWiSHmax for my project at university so i dont have a URL to type into the "getURL()" command.

Can anyone tell me how i would be able to open a local file in the same window once the movie has ended.

A response would be much appreciated.

Thanks
Madhat1026Asked:
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.

redcableCommented:
what type of file are you wanting to open?
0
redcableCommented:
Well ill give it a shot since I re read your post. and ill do a complete step by step for you starting from the end point of your movie


Step 1. In swishmax create a text and call it "link"  have it appear at the end of your move.
Step 2. make sure you have your text object selected and click on your script tab.
Step 3. choose, addscript > browser/network > getURL();
step 4. type in the name of your html file (example: myfile.html) and choose _self from the window field.
step 5. make sure the html file that displays your movie, and the html file you want to open are in the same directory. if you want to load remote html documents simply type in the network address, or file location.

hope this helps.


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
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
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.