Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > Flash help plz
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
lücid
electric girl



Registered: Aug 2003
Location: NY
Question Flash help plz

ok, so i'm working on an intro page for a site that basically just has their logo, commercial, and "Skip Intro" button on it. the commercial video is an FLV file, and i can't figure out for the life of me how to get it to redirect to the homepage after the video is done playing.

i'm sort of a n00b when it comes to Flash, and i tried searching for tutorials on how to do this, but couldn't find anything.

any ideas?


___________________
+ + + AMBROSIA
lovebirds tracklist archive | vincenzo tracklist archive

Old Post May-23-2007 16:54 
Click Here to See the Profile for lücid Click here to Send lücid a Private Message Add lücid to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

try here

Old Post May-23-2007 18:18  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
LeopoldStotch
Suapremae tranecadictt



Registered: Jan 2005
Location: Yawbs,Giaks,and Automobiles

don't know much Flash, but if you want a quick out,

define an 'id' for your flash object on the page, create a script, and have it continuosly listen to the flash object until the readystate == complete. when complete, have the page redirect to the 2nd page?

there should be a better way to do this. this is just a quick out.


___________________

Old Post May-23-2007 19:18  United States
Click Here to See the Profile for LeopoldStotch Click here to Send LeopoldStotch a Private Message Visit LeopoldStotch's homepage! Add LeopoldStotch to your buddy list Report this Post Reply w/Quote Edit/Delete Message
AnomalyConcept
Supreme tranceaddict



Registered: Jun 2005
Location: Chicagoish, USA

ActionScript to replace the document location.

(maybe that's what the previous link was, I didn't check.)

HTH. Personally, I don't like using Flash on websites, but I can see why a Flash intro would be helpful.

Old Post May-23-2007 19:20  United States
Click Here to See the Profile for AnomalyConcept Click here to Send AnomalyConcept a Private Message Add AnomalyConcept to your buddy list Report this Post Reply w/Quote Edit/Delete Message
LeopoldStotch
Suapremae tranecadictt



Registered: Jan 2005
Location: Yawbs,Giaks,and Automobiles

^^that could work too ..

or

code:
Script LANGUAGE="VBScript" Sub [name of object]_OnReadyState(lReadyState) 'check for complete, if so, then redirect End Sub /SCRIPT


haven't tried to see if it works.


___________________

Old Post May-23-2007 19:25  United States
Click Here to See the Profile for LeopoldStotch Click here to Send LeopoldStotch a Private Message Visit LeopoldStotch's homepage! Add LeopoldStotch to your buddy list Report this Post Reply w/Quote Edit/Delete Message
pvdAngel
Lavenderism...



Registered: Feb 2006
Location: Inside My Mind

Man, I really need to get back into ActionScripting. Only got up to Lesson 2 in 'Training From The Source'.


___________________

Old Post May-23-2007 19:34 
Click Here to See the Profile for pvdAngel Click here to Send pvdAngel a Private Message Visit pvdAngel's homepage! Add pvdAngel to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

or a dirty sleezy bad way of doing it is using header redirect. You might know how long the movie is, so use this to redirect them after that amount of time is over hehe

code:
< HEAD> < META HTTP-EQUIV="refresh" CONTENT="15;URL=http://www.thewebsite.com"> < /HEAD>




that redirects after 15 seconds.

Old Post May-23-2007 19:35  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
LeopoldStotch
Suapremae tranecadictt



Registered: Jan 2005
Location: Yawbs,Giaks,and Automobiles

quote:
Originally posted by Boomer187
or a dirty sleezy bad way of doing it is using header redirect. You might know how long the movie is, so use this to redirect them after that amount of time is over hehe

code:
< HEAD> < META HTTP-EQUIV="refresh" CONTENT="15;URL=http://www.thewebsite.com"> < /HEAD>




that redirects after 15 seconds.


that's the homeless man's way out of this.


___________________

Old Post May-23-2007 19:41  United States
Click Here to See the Profile for LeopoldStotch Click here to Send LeopoldStotch a Private Message Visit LeopoldStotch's homepage! Add LeopoldStotch to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

quote:
Originally posted by LeopoldStotch
that's the homeless man's way out of this.




i know, I lol'd when I thought of it. hehe

Old Post May-23-2007 20:05  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
PEZ68
Progressive Resistance



Registered: May 2002
Location: 1€/j (soldes)

If you're using AS2 & NetStream class:

code:
var netConn:NetConnection = new NetConnection(); netConn.connect(null); var netStream:NetStream = new NetStream(netConn); netStream.onStatus = function(infoObject) { if (infoObject.code == "NetStream.Buffer.Empty") { //end of video, redirect here } }; maVideo.attachVideo(netStream); netStream.setBufferTime(2); netStream.play("yourvideo.flv");

Old Post May-23-2007 21:20  France
Click Here to See the Profile for PEZ68 Click here to Send PEZ68 a Private Message Add PEZ68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > Flash help plz
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackPlease, help id this sample [2003] [0]

Click here to listen to the sample!Pause playbackPaul van Dyk - "I Can't Feel It" [2004]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 09:30.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!