A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Html

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    8

    Html

    Hi all.

    I have two .fla files tha i will publish as .html files. After I've openned the first file i would like to open the second one simply pressing a button. Is that possible? Someone told me the I should create (in Dreamwever) a new file with two frames. Is that the only way?
    Thanks in advance...

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You could have the second movie open up in the same browser window as the first one and only use one html.
    Could be done with a button or a frame action on the last frame of your first.swf.
    code:

    on(release){
    loadMovieNum("second.swf", 0);
    }



    You could also use getURL and called the second movie this time embedded in it's own html...
    code:

    on(release){
    getURL("http://www.yourserver.com/yoursecond.html", "_self");
    }


  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    8

    HTML

    Are you sure? I could not make them work. Do you need any other information to keep on helping me?

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I have told you it would work without using frames... In fact 2 different ways! But if you want to use frames (frameset), be my guest! That should work too!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center