Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

endings in flash

Status
Not open for further replies.

hog

Technical User
Feb 19, 2003
2
US
this is probably obvious to most of you, but how do i finish my flash movie by linking to my home page. That is my flash movie is current called index.html. After it plays i want it to jump to home.html.........please help, i got an an assignment due in a few hours!!!!
 
try putting a get url action in the last frame of your index movie.

getURL ("
hope this helps...

e.gif


virtuality2001@aol.com
 
Simply try adding the following on the last frame of your action's layer if you have one:

getURL ("yourserver.com/home.html", "_self");

Obviously change the red to your path & your homepage's html. Use "_blank" in the window field, if you want to open your homepage in a new window and keep your Flash in the other window. Using "_self" will replace your movie in the window.

If you don't have an actions layer (you should!), you can allways try adding a button with the same action.
Or simply add it to the last frame of your longest layer, not a very good practice!

;-)
 
Guess T1 is faster than 56K!
Sorry virt... But your code wouldn't of worked anyway!

No offense!

;-)

Back to my yard!
 
thanks guys, that was a very quick response.
I haven't uploaded the actual site as yet, so i can't point to any urls. I guess i should wait till i upload it.

So there is no way to link it without pointing to a url, ie pointing to an actual file?

Thanks again
 
Well...you could point to the file on your hard drive just as easy by typing in the address. (C:) My question would be...why do you want or need to do that? If you do just make sure you change it to the URL of your web site before uploading. Ya' Gotta Love It!:)X-)
 
old that code did work for me..i tried it before i posted..
hows the yard work going?.
e.gif


virtuality2001@aol.com
 
Hog,
Just put in what you think your homepage html's name will be. For now, you'll probably get a 404 (page not found), but at least it'll get you somewhere for the time being. When your homepage html is uploaded, your flash movie should then correctly link to it so to speak.

Virt, I guess it would work but not as you have it typed out above. Someone copying that code would probably copy the first ";" before the ")" which would probably cause it not to work.

Not working outside... Too cold! About 2 degrees Celsius!
Preparing to paint the kitchen instead... And starting with that ceiling is certainely not appealing!

;-)
 
jeesus man..

and here today in the flash forum oldnewbie stars in "this old house"...the yard,the paint,what's next?.oh no not the garage!!

off to school..see ya guys later..
e.gif


virtuality2001@aol.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top