A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: LINKING TO A .HTM

Hybrid View

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    20
    Can someone tell me how to link my flash movie (.exe version) to open up a .htm file that is not published on the web - but will be burned on the same CD with the .exe file.

    Thanks!

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Location
    Lebanon
    Posts
    573
    Hi friend..
    that's easy.
    you can link to a .htm page from whitin a text field, or you can make a button.
    from a text field you make a thing similar to a normal hyperlink.
    on a button you use the getURL() function, but here the url don't have to be absolute (ex: http://www.mysite.com/..).. no it has to be relative to the place of the file (.exe or .swf) for example: "about/bio.htm".. where the "about" folder is under the folder that contains your presentation.

    try it.. if you have some problems don't hesitate to reply to this thread, or mail me at kingmaks@yahoo.com

    beat regards..
    m.Saleh

  3. #3
    Senior Member
    Join Date
    Aug 2002
    Posts
    191
    msaleh,

    when i transfer my .exe file on a cd my buttons dont work.


  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Currently if you need to run external file,
    you have to put the external exe into a subfolder
    named fscommand in the main folder :
    X:\..\Main.exe
    X:\..\fscommand\Sub1.htm
    X:\..\fscommand\Sub2.htm

    then use fscommand("exec","Sub1.htm", "blank");




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