Solved

Using SWiSHmax and HTML

Posted on 2004-10-21
632 Views
Last Modified: 2006-11-17
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
0
Question by:Madhat1026
    2 Comments
     

    Expert Comment

    by:redcable
    what type of file are you wanting to open?
    0
     

    Accepted Solution

    by:
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    The Complete Ruby on Rails Developer Course

    Ruby on Rails is one of the most popular web development frameworks, and a useful tool used by both startups and more established companies to build strong graphic user interfaces, and responsive websites and apps.

    When pages do not download correctly, and you don't know why, the first thing you do is to look at the HTML source code of that page, but not all the downloaded files appear always clearly. If your source includes a javascript that computes the name…
    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now