Solved

Adding video to Flash template site

Posted on 2008-06-22
10
167 Views
Last Modified: 2010-04-03
Hello

I have purchased a Flash template website that is geared toward  photography. I have replaced the photos with my own, but would also like to add a couple different videos, probably about a minute each. I am wondering what the best method is to do this. I have footage from my MiniDV camera that is .avi format. The website doesn't really have room for an embedded player (like youtube size), so I'm wondering if I can create something that will bring up a pop-up player or what other options I have.

thanks in advance.
0
Comment
Question by:Trevor Local
  • 6
  • 4
10 Comments
 
LVL 18

Expert Comment

by:Rartemass
Comment Utility
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 500 total points
Comment Utility
0
 

Author Comment

by:Trevor Local
Comment Utility
thanks for the links. I think the JavaScript is a bit beyond my understanding at this point.
0
 
LVL 18

Expert Comment

by:Rartemass
Comment Utility
Another option is to create a simple html link (ie Click here for video) that opens a new window.
Set the size of the window to a bit larger than the dimensions of your video.
Have that new window open a html file that only has the embedded video in a player, and a 'close window' button.
You can then also set the parameters of the html file to remove the title bar, menus, status bar, etc so that the only thing that shows is the page with the video.

If you have Flash or Dreamweaver you can set most of this via point and click.
0
 

Author Comment

by:Trevor Local
Comment Utility
I'm using Flash MX Pro 2004. Currently there's a clickable image in the template (that doesn't point to anything) that I'd like to use as the link to that popup window.
I drilled down to the image and come to a menu that has "up" "over" "down" "hit" - I assume this is where I'm supposed to configure the HTML popup window- is that right? (brand new to Flash!)

thanks
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 18

Expert Comment

by:Rartemass
Comment Utility
Its been a while since I used Flash so I'm unsure on the exact location.
The 'hit' is the option you want to configure.

Basically have a link to the button, image, text, whatever, open with code similar to the attached code.

Just make sure the 'page.html' has a close button or people will get pissed at your site as they won't be able to close the window unless they know the keyboard shortcuts or use task manager.

<a href="#" onClick="window.open('page.html','mywindow','width=400,height=200,toolbar=no,location=no,directories=no,statu s=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no')">Click Here</a>

Open in new window

0
 

Author Comment

by:Trevor Local
Comment Utility
OK- Is that code supposed to call up the "page.html" which contains the link/reference to the video file? And is that html page the same page that gets published with the .swf file from the .fla file?

I guess I'm not clear on where the code will reference where the video file is or the name etc.

below is the code that is currently associated with the image I'd like to use to kick out the popup:


(PS - I'm actually using Flash CS3)
thanks!
on (rollOver) {

    gotoAndPlay("s1");
 

}

on (rollOut, releaseOutside) {

    gotoAndPlay("s2");
 

}

Open in new window

0
 
LVL 18

Expert Comment

by:Rartemass
Comment Utility
The code I gave will go onto your webpage so when you click the link it opens the page.html file.

The only contents on that page will be the .swf file inside the player, plus the close button.
0
 
LVL 18

Expert Comment

by:Rartemass
Comment Utility
The code will need to go to the 'on mouse click' event of the linked image.
0
 

Author Comment

by:Trevor Local
Comment Utility
I went with the JavaScript code, and used the joerenwigering player. thanks for the tips!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
This article provides the solution to a question (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28674207.html) posed here at Experts Exchange. The asker of the question has many JPG images in many folders, and all of t…
The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now