Play Mov-file Inside Swf-file Triggered By URL?
Oct 14, 2009
I want to list about ten videoclips (all mov-files) on my webpage and when i put my mouse over a clip it should start playing - when i remove the mouse from the clip, it stops. My idea was to use a swf-file that i can trigger using a URL like this: preview.swf?path=movies/movie1.mov
1. How do make my swf-file aware of the URL and then play the right file?
2. When the mouse is not over any videoclip i would like have the first frame of the mov-file shown - is this possible or do i need to make screenshots from all the mov-files then?
View 3 Replies
Similar Posts:
Aug 2, 2009
I've published this small swf file and it plays allright when I preview it but when I insert it in an html page (DW) it just won't play.
I won't attach the swf this time because I suspect that is why this same post I placed here yesterday never got listed but in any case I think the problem is not with the file itself but perhaps something in DW that I'm not handling well. I inserted it in a div btw via the flash option in the insert menu.
View 4 Replies
Aug 9, 2010
How do I play a .flv file inside Ext.Window?
View 1 Replies
Mar 14, 2012
However, when I preview the flash catalyst swf file, the flash swf thats inside, plays just fine.
View 2 Replies
Feb 14, 2005
Im pretty new with the flash -> php -> mysql thing .. And I have made a script that sends some variables (that a user inserts in some input forms) with some var names, and then php handles it and insert it into my MySQL database its kinda ugly that a page pops up and opens the php page.So I was wonderin' if there is some way to send the variables to the php file and process them inside the flash file. without openin' some fancy browser window ?
View 3 Replies
Aug 17, 2010
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?
View 1 Replies
Aug 17, 2010
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial (search on google for 4906532_within-another-flash-swf-file.htm since i cant add links) that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf.
View 2 Replies
Sep 13, 2009
Is it possible to just create a .AS file and define constants inside of that file? Without making a new class, just so that all my classes can access these constants? This is of course possible in PHP, but are the scopes handled differently in AS3?
View 3 Replies
Jan 15, 2009
The navigation on a website I am designing is an swf file embedded inside another swf file, the latter being the body of the site. The navigation buttons are themselves embedded inside movie clips inside the embedded swf file...
I'm sure I'm missing some sort of line of programming, however my actionscript skills are rudimentary at best. I have assigned a simple goto webpage behavior on each of the buttons. However, when I look at the site all put together, they do not work.
View 1 Replies
Jan 19, 2012
I will try to be as clear as I can. I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.I am loading an external swf file that has all of the controls on it via this code:
// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);
[code].....
View 1 Replies
Mar 25, 2012
I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.
I am loading an external swf file that has all of the controls on it via this code:
// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);
[Code]....
I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.
What I am looking for is the code to apply to the buttons on the external swf file that has the controls to control the playing of the movie.
View 5 Replies
Feb 6, 2010
I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);
View 7 Replies
Sep 8, 2009
I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.
View 1 Replies
Oct 8, 2009
I am having some problems showing my videos in flash after moving it anywhere besides my computer.
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.
View 2 Replies
Aug 27, 2009
i'm trying to play flv file using programming but problem it's only work with only html file.when i play with stand alone SWF File it's not playing flv file? what should i do to run as a stand alone application do i've to desing into Adobe AIR ?
View 2 Replies
Jan 23, 2012
I have downloaded a template from [url].... And there is a xml gallery for images. I want to use my movie in swf instead of one single image from slide show.[code]...
View 1 Replies
Jul 31, 2010
I have a slash template that I will be inserting video into, the template is set up for a .flv file ? what would I change in Dreamweaver or Coda to edit this file so that it can play video with a .swf file instead of a .flv file? here is the template
<dat video="dat/Images/Folio/video.jpg" title="sample" des="video samples" flvPath="dat/Videos/test.flv"/>
I want to change this to test.swf instead of test.flv
View 2 Replies
Apr 16, 2006
but how do you play a .swf file in a .swf file? Would it be better if I were have it as an external or embeded? Would it require AS or would it be able to play just fine without it?
View 1 Replies
Mar 16, 2009
I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.
View 3 Replies
Jul 14, 2011
I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....
View 1 Replies
Feb 27, 2012
I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?
[Code]...
View 1 Replies
Mar 23, 2010
I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.
View 5 Replies
Sep 12, 2009
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 Replies
Feb 4, 2010
I am trying to write a class file using a .as file instead of writing code into the script tab of a .fla file.When I write stage.addChild(img); I get an error that stage is null. When I take out stage, and just write addChild(img); the code runs fine, but nothing appears on stage. Do I need to do something to set a stage active?
Is this because I don't have a Main class? My class is named after the file and I don't have a file named Main.Here is the code. As it is, it runs and I get the two trace outputs, but no graphic on my screen.
package { import flash.display.DisplayObject; import flash.display.Sprite; import flash.display.Loader; import flash.events.*; import flash.net.*; public class HelloWorldImage extends Sprite { private var background:DisplayObject, foreground:DisplayObject; private var url:String = "hw_jpg.jpg"; private var loader:Loader = new Loader( ); public function
[code].....
View 7 Replies
Oct 22, 2010
Are there any software that will convert Word documents or pdf into swf files that ca be displayed inside of a Flash movie. Currently, I am using FlashPaper but the software is not supported anymore by Adobe. I am creating eLearning courses and having a pdf open inside of a course without opening multiple makes for a better learning experience.
View 1 Replies
Sep 12, 2009
i open up .fla file, but when i click window->action, there is not actionscript inside it. may i know where else can i check the .fla file is importing .as file. where to check it in flash cs3?
View 1 Replies
Sep 16, 2011
I'm writing a Flex app which is a kind of light CMS. The front site is using an XML file which contains texts and images links. Is it possible to write some XML inside this existing file from Flex? The fileReference allows to save XML content as a new file, but not to write inside an existing one.The XML looks like:
<?xml version='1.0' encoding='utf-8'?>
<content>
</content>
[code].....
View 1 Replies
Mar 24, 2010
I'm trying to get a swf inside a swf to load xml data and I don't fully understand relative paths.I want to include all the necessary info.I have a main swf in my index.html page and a gallery.swf loaded into a container in the main swf, and I can't get the gallery.swf to load the xml data. See pic. I'm not sure if the path to XML file is wrong OR the paths to the image in the XML file are wrong.Here is the structure in the root:
root/index.html (contains main.swf)
root/flash/gallery.swf[code]....
I know the gallery swf IS loading into the main swf because for now I'm using the absolute path and I have typed "test" on the gallery stage and it shows up. (Once I get a grip on paths, I'll change the absolute path to a relative path, but for now, I need to reduce my variables for troubleshooting).I've think I've tried every path permutation for the load XML path inside the gallery swf:
ActionScript Code:
myXML.load("scripts/xml/gallery.xml");
myXML.load("./scripts/xml/gallery.xml");[code]....
I've also tried every permutation for the paths to the images, but unfortunately BOTH need to be right for the pics to show up!
Code:
<image image_small="gallery/thumbs/kirk_ross_01.jpg"
<image image_small="./gallery/thumbs/kirk_ross_01.jpg"[code].......
View 6 Replies
Mar 7, 2011
I've tried importing a SWF file into a new fla file but when I test it the embeded swf doesn't do anything. I can't click and drag any of the things that I could if I ran the SWF file on its own.
The embeded file uses some php. is this factor? Is there something I need to doin order to make it run? right now its just a graphic.
View 0 Replies
Nov 24, 2006
I have created a class file with 2 functions one to load an xml file and the other to parse the file and push the values into an array. My problem is that I can't access this array inside another function unless pass the array as a parameter or the main timeline. Below is the class file I'm using:
Code:
import mx.utils.Delegate;
class XmlTest
{
[Code]....
What I would like to do is pass the array to another function in the class file. This function would loop through the array and push certain values into an array that would be returned to the main timeline so I can using them.
View 4 Replies