iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-25-2004, 12:08 PM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Location, Location
Posts: 23
MidNite RepRank 0
Default 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.
Reply With Quote
  #2 (permalink)  
Old 10-28-2004, 02:05 PM
Ti Ti is offline
WebProWorld New Member
 
Join Date: Oct 2004
Posts: 1
Ti RepRank 0
Default

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.
Reply With Quote
  #3 (permalink)  
Old 10-30-2004, 02:21 AM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Location, Location
Posts: 23
MidNite RepRank 0
Default

Thank you so much. This site has been a challenge, but -so far- I have been able to work it all out.
Reply With Quote
  #4 (permalink)  
Old 11-27-2004, 03:22 AM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Location, Location
Posts: 23
MidNite RepRank 0
Default

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.
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:34 PM.



Search Engine Optimization by vBSEO 3.3.0