AVI in Flash website

  • Chaosphere
  • Newbie
  • Newbie
  • User avatar
  • Joined: Nov 28, 2003
  • Posts: 11
  • Status: Offline

Post January 22nd, 2004, 10:22 pm

Hey all, I have a website, i want to put a link to an AVI i have created without having to load the avi into the file when you are at the splash page.... basically i want the movie to load fast, or at the same current speed, but include a page that has a link to DL the avi.... please help !!! Thanks :lol:
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 22nd, 2004, 10:22 pm

  • the_Maven
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Feb 02, 2004
  • Posts: 196
  • Status: Offline

Post February 4th, 2004, 11:08 pm

i guess you could try this ...
If you have a button in the flash movie, use this actionscript in the code window (make sure the button is selected):

on (release) {
getURL ("filelocationofAVI.avi");
}

I hope that answered your question. I'm a beginner at actionscript, but I think that will work.

- The Maven
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post February 5th, 2004, 2:27 pm

If you want it downloadable you will have to .zip it or something so it won't open in the browser or other default program.
  • Sulfin
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 12, 2004
  • Posts: 129
  • Loc: canada
  • Status: Offline

Post June 14th, 2004, 5:52 pm

Feb 6??? Doesn't matter if no-one ever reads this. I think I have a solution to the problem! You can try this script on your button and it might work:
Code: [ Select ]
on (release) {
  getURL("javascript:newin=window.open('about:blank', '_blank', 'width=500, height=500');newin.document.write('<embed SRC=\"movie.avi\" width=100% height=100%></embed>');", "_self");
}
  1. on (release) {
  2.   getURL("javascript:newin=window.open('about:blank', '_blank', 'width=500, height=500');newin.document.write('<embed SRC=\"movie.avi\" width=100% height=100%></embed>');", "_self");
  3. }
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post June 14th, 2004, 7:06 pm

That would be to stream the movie, not download the movie.
  • Sulfin
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 12, 2004
  • Posts: 129
  • Loc: canada
  • Status: Offline

Post June 14th, 2004, 7:23 pm

Sorry, I didn't know... :oops:
  • hastyle
  • Born
  • Born
  • No Avatar
  • Joined: Nov 01, 2006
  • Posts: 1
  • Status: Offline

Post November 1st, 2006, 3:42 pm

hey wassup, im tryin to make an interacted cd for my demoreel. Do you guys know the command to load a Avi or mov file?
  • krismeister
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 21, 2006
  • Posts: 202
  • Status: Offline

Post November 1st, 2006, 7:06 pm

the server needs to tell the browser to treat the file as a download

this is done in the response header(not the HTML kind but the basic communication between server and browser)

here is a description / code on how to do it in PHP

http://elouai.com/force-download.php
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post November 1st, 2006, 10:17 pm

using Media player .... :D
you cant load a avi or mov file from flash. only .swf and .flv.
So you might consider first converting the avi into one of those file and then use them.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.