To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-15-2006, 12:49 PM   #1
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Flash intro page.

Ok, I've figured out how to add a .flv file to a project, added a skip button now what I need to figure out is how to make the page load the main site page once the clip has run to its end.

Thanks
Franklyn Halamka
Galactic Zero is offline   Reply With Quote
Old 12-15-2006, 04:31 PM   #2
ant_Z
Polak Maly
 
ant_Z's Avatar
 
Join Date: Jul 2006
Location: Poland
Posts: 438
that is easy - just set number of frames to your movie's lenght (in secs).
__________________
http://www.mroofka.z.pl
ant_Z is offline   Reply With Quote
Old 12-15-2006, 10:53 PM   #3
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Ok, maybe I'm not being clear, I've created a storyboard 640x500 and imported a 640x480 .flv file to sit on the storyboard as an object. I've put a text button at the bottom of this .flv object with the action to go to a URL upon release. What I'm trying to make happen is at the end of the play of the .flv object how do I trigger the automatic forward to another web page?
Galactic Zero is offline   Reply With Quote
Old 12-16-2006, 12:58 AM   #4
tmoore935
Relaxing
 
tmoore935's Avatar
 
Join Date: Oct 2001
Location: colorado, usa
Posts: 1,712
I put a video player on at koolexchange. If you look at the code for the progress bar, you can see that it is converted to precentages. From that you could set up an if statement that says

If (percent = 100)
{the go to new URL
}
__________________
Any programming language is at its best before it is implemented and used.
tmoore935 is offline   Reply With Quote
Old 12-16-2006, 01:19 PM   #5
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Thanks tmoore935, question, it says to set it at 320x240, can this be made larger?
Galactic Zero is offline   Reply With Quote
Old 12-16-2006, 01:21 PM   #6
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Ok, just tried to open that in Koolmoves, well, it crashes the program, when I double click to open, says it wasn't created in koolmoves... any suggestions?
Galactic Zero is offline   Reply With Quote
Old 12-16-2006, 01:37 PM   #7
w.brants
Senior Member
 
w.brants's Avatar
 
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
Maybe your KM version isn't up to date (KM 5.7.1) .

Another option is to pause the main timeline until the flv movie ends.
If you embed a flv movie named flv1 in the first frame and add the following code to the second frame
Code:
flv1.netStream.onStatus = function(i){
 if (i.code == 'NetStream.Play.Stop') _root.play();
}

stop();
the main timeline will be paused and continue once the flv movie has stopped.
w.brants is offline   Reply With Quote
Old 12-16-2006, 04:18 PM   #8
tmoore935
Relaxing
 
tmoore935's Avatar
 
Join Date: Oct 2001
Location: colorado, usa
Posts: 1,712
Quote:
Originally Posted by Galactic Zero
Thanks tmoore935, question, it says to set it at 320x240, can this be made larger?
Make it any size you want. 320*240 will work with the "skin" that I made. You can also remove any buttons or the like. Also wilbert has a good idea pausing the main timeline. He was also the one that showed how to use the flv in koolmoves in the beginning.
__________________
Any programming language is at its best before it is implemented and used.
tmoore935 is offline   Reply With Quote
Old 12-22-2006, 12:55 AM   #9
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
w.brants, when I add an extra frame, then add the script into the scripts part of that frame, the movie flashes, then goes blank.. I'm doing something wrong but not sure what.. I'm attaching a ss of what I have so far.

As you can see I have btn1, flv1 and I added a second frame, then went to edit frame actions/sounds and in the actions section I added your code. When I play the movie, it flashes, then goes blank. Here is the flv file: http://www.galacticzero.net/nof10/LibertyMTGUS.flv

Thanks.
Franklyn
Galactic Zero is offline   Reply With Quote
Old 12-22-2006, 01:12 AM   #10
w.brants
Senior Member
 
w.brants's Avatar
 
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
As far as I can see your btn1 and flv1 objects only exist in the first frame.
They should also exist in the second frame (the frame you attached the script to).
w.brants is offline   Reply With Quote
Old 12-22-2006, 01:19 AM   #11
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Using a portion of Wilberts code, does this do what you want?

Preview link edited out. Trying to save band now that he is all set

Last edited by Chris_Seahorn; 12-22-2006 at 02:56 AM.
Chris_Seahorn is offline   Reply With Quote
Old 12-22-2006, 01:26 AM   #12
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Disregard, I thought you wanted to sequentially load. Should read first
Chris_Seahorn is offline   Reply With Quote
Old 12-22-2006, 01:30 AM   #13
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Yes Chris, that is what I'm trying to accomplish. I'm going to embed this at 640x500 so that the skip button shows up at the bottom, it is already configured to switch to the main page.

Err.. ok not quite.. but that is the idea, I want the movie to play, then once it is finished to change to a new web page.

How do I do that?
Thanks
Franklyn
Galactic Zero is offline   Reply With Quote
Old 12-22-2006, 01:35 AM   #14
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
w.brants ok I copied both the btn and flv to the second frame, added the code to the second frame .flv object, now it plays and loops.. not quite what I'm after. Do I put the code there or on the frame at the bottom under the .flv?
Galactic Zero is offline   Reply With Quote
Old 12-22-2006, 01:35 AM   #15
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Mine doesn't use a button. It uses a variation of Wilberts code to advance one frame without need for one. A skip button would simply need a gotoAndPlay to hit a frame or a getURL to skip to another external page.

Want me to show a test sending it to a completely different external page automatically or just another frame in the same movie? I'm confused on what you are sending to on completion.
Chris_Seahorn is offline   Reply With Quote
Old 12-22-2006, 01:42 AM   #16
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
I want to send to a new URL. So, visitor comes to www.xyz.com/index.html and see's the movie. They have the option on that page to skip the movie (text button with mouse release command to send user to www.xyz.com/html/main.html) or watch the movie to completion and then be directed automatically to www.xyz.com/html/main.html.

Does that make sense?
Galactic Zero is offline   Reply With Quote
Old 12-22-2006, 01:43 AM   #17
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Mind you, this could send it anywhere, even a html or php or any kind of valid webpage anywhere, even in the same domain. I just sent it here for example. This would force the movie on users (which sometimes is wanted for ads) if a button is offered to skip you can expect it will be used (I can add though).

Again, thank Wilbert for all of this. That is a sweet couple of lines on his part

Preview link edited out. Trying to save band now that he is all set

Last edited by Chris_Seahorn; 12-22-2006 at 02:56 AM.
Chris_Seahorn is offline   Reply With Quote
Old 12-22-2006, 01:50 AM   #18
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
Here is what I have so far:
http://www.galacticzero.net/flvswf/liberty.html

To this I need to add a preloader and at the finish I need to have it redirect.
Galactic Zero is offline   Reply With Quote
Old 12-22-2006, 01:51 AM   #19
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
OK...hit it again. It should be what you want.

Preview link edited out. Trying to save band now that he is all set

I always leave frame one open so you will be able to use a KM preloader or whatever.

Last edited by Chris_Seahorn; 12-22-2006 at 02:57 AM.
Chris_Seahorn is offline   Reply With Quote
Old 12-22-2006, 01:52 AM   #20
Galactic Zero
Junior Member
 
Join Date: Dec 2006
Posts: 12
BINGO!!

Now, How do I do that?


Thanks.
Galactic Zero is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT -4. The time now is 03:00 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.