Submit Your Article Forum Rules

Results 1 to 4 of 4

Thread: Please help, linking from html

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    23

    Please help, linking from html

    I am working with a team on a website that will feature Flash as a portion of the site. They have asked for something I'm not sure I can do. Here's the situation: they want to be able to jump to a certain part of the flash movie after it has gone to an html page. For example, there is a Contact Us link, and after the user goes to that link, if he/she hits the Home button it would go back to the original flash movie. But here's what they want: they want to be able to have that movie NOT replay itself, but return to the frame/scene that is static. I don't know if I am making sense here. If there is anyone that could help, I would be so grateful. I don't know how to look this up in the Help portions of Flash or on Google.

  2. #2
    Junior Member
    Join Date
    Oct 2004
    Posts
    1
    We can tansfer variables to flash movie.
    Something like this:
    Code:
    <EMBED src="/intro.swf?mode=1" .... etc>
    We can make a first page, which loads the flash movie in php.

    It will be like this:
    Code:
    $mode=intval($_GET["mode"]);
    <EMBED src="/intro.swf<?php if ($mode) { echo "?mode=1"; ?>" .... etc>
    So, if we load the site like this:
    http://www.somesitename.none
    there will be no variable transfered to Flash.

    But if we load
    http://www.somesitename.none/index.php?mode=1
    The variable will be sent to Flash.

    In the first frame of flash movie we put the actionscript code like this:
    Code:
    if (mode==1) {
    GoToFrame(100); 
    }
    With the desired frame number in place of 100.

    Then we change internal links to homepage from pages like "Contat Us" to "/index.php?mode=1" or just "/?mode=1".

    All this is my supposition, but probably it will work.

  3. #3
    Junior Member
    Join Date
    Feb 2004
    Posts
    23
    Thank you so much. This site has been a challenge, but -so far- I have been able to work it all out.

  4. #4
    Junior Member
    Join Date
    Feb 2004
    Posts
    23
    I found a quick/easy way to fix this! If you label a frame in the scene you want to play (such as mylabel) then in your html link, add a # sign before the label name.

    For example, http://www.somesite.here/index.html#mylabel will take you to the point in the scene you want to skip to!

    Granted, I have not tested this in all browsers, but it works in my IE.

Similar Threads

  1. HTML Validator is a Mozilla extension that adds HTML validat
    By dougadam in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 02-10-2007, 07:45 PM
  2. URL Rewrite? ID=1.html or .html?ID=1 will it matter?
    By TransferTown in forum Google Discussion Forum
    Replies: 3
    Last Post: 12-29-2006, 04:17 PM
  3. Pre-populating an HTML Form with Data from Another HTML Form
    By ambassador in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 06-19-2005, 09:12 PM
  4. Fake HTML vs. Static HTML - Do search engines know?
    By strum4life in forum Search Engine Optimization Forum
    Replies: 5
    Last Post: 02-27-2005, 06:18 AM
  5. http://www.gochipmunk.com/html/home.html
    By madisonPete in forum Submit Your Site For Review
    Replies: 2
    Last Post: 08-16-2004, 08:09 AM

Posting Permissions

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