?
Solved

PLS respond quickly !!!!! Help with Falsh and HTML tricks !

Posted on 2003-12-10
10
Medium Priority
?
279 Views
Last Modified: 2010-04-09
So things are the following .

I'm building a site .
I have a Flash movie build .
Second movie on flash .

What I want !

I want to make an Index.html in which the first flash movie loads then it stops and a redirection is executed to Index2.html .

So that's for now !

PLS respond quicly !!!!!
10x !
0
Comment
Question by:Yavor_01126
10 Comments
 

Assisted Solution

by:AntChen
AntChen earned 120 total points
ID: 9914954
Because the flash mv need loading time.So it is not good use html or script to redirect the page.You can rediret it use flash actionscript.
eg.
Add the following actionscript at the flash mv frame(the frame is what you mv stop frame)

getURL("http://www.goodishsoft.com","_blank");
0
 
LVL 2

Author Comment

by:Yavor_01126
ID: 9914998
I haven't got flash :)
sorry I haven't mentioned that

I'm familiar what flash can do in details but don't have it !

Is there a way to make it with JS !????
0
 
LVL 2

Author Comment

by:Yavor_01126
ID: 9915147
Can somebody tell me what to learn in order to be effective in Linux/BSD web dev ?
I mean an Editor ?
For HTML , JS , Java , PHP ... etc.

I mena is there something nice like Dreamweaver ?
I know that Vi and Emacs are good ... is there something like dreamweaver ?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 16

Expert Comment

by:jaysolomon
ID: 9915279
this will redirect after 20 seconds
<meta http-equiv="refresh" content="25;URL=http://google.com">

I can also show you a way to do it in javascript.

But you will also need to take into consideration slow connections, i would do as AntChen said, do it in the flash movie, hence actionscript
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 9915287
Sorry
>>>this will redirect after 20 seconds<<<

TYPO

this will redirect after 25 seconds
0
 
LVL 2

Author Comment

by:Yavor_01126
ID: 9915413
yea I've done it so ... nut ask for a good way       :-)
Sorry
but I know a bit of web dev    :-)

so will anybody give me some good advices about an APP ???
or should I close the question ?
0
 
LVL 16

Assisted Solution

by:jaysolomon
jaysolomon earned 100 total points
ID: 9915704
>>>so will anybody give me some good advices about an APP ???

What advice do you want?

You asked for
>>>I want to make an Index.html in which the first flash movie loads then it stops and a redirection is executed to Index2.html .<<<

This tells me

1) That you have a page with a fluke movie in it
2) and when the fluke loads and it stop you want to redirect to another page

You need to do either

1) ACTIONSCRIPT IN THE MOVIE
or
2) USE THE META REFRESH TO REDIRECT
or
3) USE JAVASCRIPT TO REDIRECT AFTER n SECONDS

The only TRUE way of doing this is in the movie. This away you know that
when the fluke gets to N frame, its going to goto the other page.


0
 
LVL 4

Accepted Solution

by:
bschwarz6 earned 160 total points
ID: 9915831
You could use a java "pre-load" script to pre-load the file.

Then use a seperate script to re-direct after n seconds (where n is the length of the movie)

This will account for slow (or fast) connections and will re-direct after the movie has played.

sorry, i dont have any code for you right now, as i am at work, and all my dev stuff is at home, but check around on the internet and i'm sure that you will be able to find it.


b
0
 
LVL 7

Assisted Solution

by:gam3r_3xtr3m3
gam3r_3xtr3m3 earned 120 total points
ID: 9919426
putting the redirect on actionscript if getBytesLoaded() == getBytesTotal() or placing it on the last frame.
for javascript... (AntChen = actionscript, jAy = html) lol!

made it user configurable...

<script>
var defineTime=1; //Place SECONDS here...
defineTime = defineTime * 1000;
setTimeout("gotoLocation();", defineTime);
function gotoLocation(){
url="index2.html"; //Place URL here...
window.top.location.href=url;}
</script>

gam3r
0
 
LVL 2

Author Comment

by:Yavor_01126
ID: 9922164
Thank you guys !
Thanks for your quite fast respons :-)

Regards !
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question