ActionScript 3.0 :: Importing Video And Stop Function?

Jan 13, 2010

Great book but I'm finding stuff that's not working as it's supposed to  The first item I came across was adding a stop(); on a separate layer at the end to stop my swf from looping. I followed the directions to a T but no matter what, the .swf would loop. I came across another forum where it mentioned to change the publish settings to Player 8 which automatically changed the ActionScript to 2.0 instead of 3.0. Well the movie didn't loop anymore but why shouldn't it work with Player 10 ActionScript 3.0? I have the most up to date player that I can get.

The next item I came across was on the Import Video function. The tutorial was to use the video encoder to make a usable movie for my file. When I tried to import it I got nothing, no errors, nothing appeared on my layer as it was supposed to. Same thing here - I changed my publish settings to Player 8 which, again, changed it automatically to Actionscript 2.0 and then the movie imported fine and played and did everything it was supposed to do.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Importing The Video In The First Frame While Navigating The Video Sound?

Mar 9, 2010

I attached the code here. The problem is after importing the video in the first frame while navigating the video sound is heard which means the video is still playing. How can I stop it when moving to other section. Here is code

[Code]...

View 2 Replies

ActionScript 3.0 :: Video Won't Stop Using Same Command That Made Video Stop

May 7, 2011

I have a website that plays video1 when it opens. When you navigate to next page the video stops. One of the buttons on the second page plays video2. The problem is that video 2 won't stop using the same command that made video1 stop.

View 2 Replies

IDE :: Importing Video Into Swf?

Mar 24, 2009

I have a .flv file which I would like to import into my stage. I use the import video option, select the file location, select progressive download from webserver and select the skin. However when I export my swf, the video doesn't appear. I have been successful in the past doing this but for some reason it doesn't appear. I have looked at the publish settings and compared files and everything seems to be ok.

View 1 Replies

Importing A Video In Flash, Using XML?

Nov 29, 2009

All I want to do is have Flash play a single video based on the URL specified in an XML file. I am using the default Flash video player.

I go to File -> Import -> Import Video, and then click on the "Already deployed to a web server" button, and type in the path to an XML file.

I'm confused as to what needs to be written in my XML file as to make the flash video work. Let's assume my video file is located at [URL] What code would I need to write in the XML file to get it to play?

View 4 Replies

Importing Video Into Flash?

Mar 29, 2010

I have been trying to import a video into my flash file. I uploaded it to my server but when i try to use the link it always says it doesnt exsist. The file i am linking it to is in my remote files. The url i get on filezilla for it is [URL] this doesnt work as its not a html.

Edit: is there anyway of finding the http link for my video?

View 2 Replies

Importing Video In Flash?

Jul 14, 2009

when i try importing video into the flash library i get a list of about 5 options. this is just for coursework which i will send my flash site to my tutor (it will not go online). so i was just wondering what is the easyest way to stream video inside flash.

View 1 Replies

IDE :: Importing Video Into Flash?

Jun 25, 2009

I have a PowerPoint presentation that has video included and need to recreate it in Flash. I have the video in WMV format and am thinking the best way to have the video play in the flash presentation is to "Embed video in SWF and play in timline" especially since I have to add text and image effects. Or is there a better way to do this?

I'm also having a hard time importing the video especially due to the Flip4Mac WMV Player putting a watermark in the video. Is there a way that I can put use Actionscript to play the video at the beginning (and end) of the Flash presentation and then play the rest of the Flash slideshow?

View 2 Replies

Adding A Watermark After 'Importing Video'

May 20, 2009

create a watermark that fades into my videos 20 or so seconds in, then fades out after another 10 seconds.
 
Here's what I've done so far in Flash CS4:
 
- Import Video

- Pointed the "player" to an external URL for the video.

- Selected a generic Skin
 
The video plays well, all is in order.
 
Now, to add a watermark to the player. I figured you'd simply import the new animated SWF file, then write some Actions to tell it when to fade in and fade out. Not that I know how to do that at all .
 
I'd even be up for other options, if this simply won't work I've thought of pushing all my videos through a third-party program to brand the video with an animated watermark, is there such a thing?

View 7 Replies

Professional :: Importing Flv Video In Flash?

Feb 10, 2012

im currently making a multimedia product for my A-Levels ICT ... and had an issue with importing a video into my product the video was converted to flv using flash media encoding and then i embeded it into timeline using the movie symbol. the only issue which i have now is thatl it doesnt have a skin e.g. i cant stop or play the video.
 
I've tried creating buttons to stop and play it but they dont seem to work
here is the code which i used
 
play button
play.onRelease =  function(){kvideo.play();} 
stop button
stop.onRelease =  function(){kvideo.stop();}
 
i cant rely flash to access the video from a folder because it has to be sent to an exam board which means that they will only take the .swf file and nothing else so i have to make sure that the video is embeded into the multimedia product... also the video has sync issues with sound ( i know it gave me a warning about this when importing it into time line..) would it solve this if i have two seperate files? have one just a video and the other with sound... maybe import sound seperately?

View 1 Replies

Actionscript 3 :: Importing A Video To Flash?

Jun 13, 2011

I am making a project, that includes many videos. In short: let's say I want to put 20 videos that are on the screen (I won't put them all together - they would be 4 together each on 5 pages for example) and the user could hear 15 seconds of them and then decide if he/she wants to play the whole video.this is the general code I use for import (just to understand how I import):

playlistVideoDisplay[i].movie = new FLVPlayback();
playlistVideoDisplay[i].movie.load("videos/somefile.flv");


To my understanding - It would be easier for flash to load 20 videos of 15 seconds each - and then when a user request a specific video - flash will load the full video of this specific short one.BUT - I would much rather use the other way - loading full-length (let's say 10/7/5 minutes) and when the user can play the 15 second sample and, if he/she wishes, he will play the full video (without re-loading a new video - and not making a smooth transform between the short one and the long one).

My question is: Am I wrong by assuming that importing bigger movies would make everything hard and slow on flash?

View 1 Replies

ActionScript 2.0 :: Importing Video In Flash Mx

Oct 30, 2009

In Flash mx I want to import two and three videos. Now I go to File>Import>BrowseVedio file and and a dialogue box opened and I press OK. The Video appeared in an Embedded form and increases the file size. Now in another flash mx fla I saw they imported the video in this format ?streamvideo 222? but the video imported by me just named in this format? McDonalds_cromo? ( Nme of the video).

View 0 Replies

Movie Mode Button Available On Importing Video

Jul 3, 2009

When I import flv video on Flash CS4, I have a option to choose a skinning. When I choose SkinUnderAll, a lot of contorl buttons are available including full screen mode button. However, it does not include movie mode button. I am not exactly sure if it is called movie mode button. When you press it, a video clip will be displayed in center and surrounding area become transparent black. How can I obtain such a button?

View 3 Replies

Professional :: What's Best Importing Option For A Flash Video

Jun 22, 2010

I've got a few encoded high definition videos that are now .flv files and I'm wondering which is the best option to choose when importing the .flv file into my Flash project? I'm looking for fastest loading/streaming with best quality to be the result. If I choose a streaming option like progressive download from a web server, would the choice be dependent on the type of server the file(s) are hosted on? I'm using Flash Professional 8.

View 3 Replies

Flash :: Professional - Importing Video In Website?

Jan 1, 2011

I am running on Dreamweaver CS5 in Code View...I have imported a flash video, which displays in design view, but will just keep loading in the actual browser and never start the video. It is running through an Apache localhost and is a PHP file...could that mess it up? I am also using jQuery with a bunch of hidden popup views, that work fine. What's wrong with my flash? Here is my source code to my flash video file:

[Code]...

View 1 Replies

Professional :: Importing A Flash Video To A WebPage?

Feb 3, 2011

I am having a problem getting my flash file to work on my webpages. I first converted the original .avi to a .flv format,then I imported the.flv into flash. It has a skin because I wanted the users to be able to stop and pause the video. When I test the file outside of the web page it works fine. The skin file, the .flv and the .swf are all in the same folder. But when i Upload the webpage , the flash does not play online. If i preview in design mode, the flash file plays. Although with out the skin. Now if i open the flash file outside of the webdesign software it opens in a web browser and all works.

View 1 Replies

ActionScript 2.0 :: Flash 8 Importing And Controlling Video

Nov 23, 2010

I have imported video using Flash 8 and am streaming it from my server.

I am trying to incorporate a play/pause button into the center of the movie clip, however, am having trouble controlling this streamed video.

View 1 Replies

ActionScript 2.0 :: Use SWF Or FLV When Importing Video Into Flash Dynamically?

Dec 2, 2008

I am making a training video list on a web page. When a training video is clicked, the training video is played by an swf file on a new tab, and at the end of the video, the swf displays a web form to gather some data to be saved in MySQL db. The name of the training video is passed to the swf file as parameter to play the training video dynamically. When loading the training video dynamically in the swf, should I load the training video in the flv format file or swf format? The training video can be produced in swf and flv format. I noticed lots of web sites say that flv should be used. But I think training video in the swf format file size is smaller than the flv size. What is the advantage and disadvantage of loading the training video in flv format and swf format whith all other fators being equal?

View 2 Replies

ActionScript 2.0 :: Importing Video Tool In Flash?

Jul 2, 2010

I've used the import video tool in flash with the settings I wanted (buttons - forward, backward, play ...), after it was finished I added to my site,from here starts the problem - when I check the site on the computer (local mode) the video file works when I check (Web mode) it does not work.All files are together in the same folder?

View 1 Replies

ActionScript 3.0 :: Multi Video Player - Audio From The Last Video Remains Playing Even When Prompted To Stop??

Jun 2, 2010

I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.

View 3 Replies

ActionScript 3.0 :: Make Video Stop Video When Leaving A Frame?

May 11, 2010

I know how to make a video (instanced as showreel) stop when clicking on a button that that navigates to another section/frame, since otherwise I would still listen to that video while not visible. The problem is when I'm in another frame that doesn't have that video, when clicking on the menu to go to whichever other frame, it looks for that it to stop if it's playing and it and doesn't find it, and so there's an error.
 
How can solve this? Maybe I should put an order saying something like if there exists a video in that frame instanced as sowreel, stop it, otherwise don't do anything as there is nothing to be stopped. Or assign the order to the frame (which is called motion), but I don't know how to do that, can someone help? The code I have is: 
 
import fl.video.VideoEvent;
function onClick(evt:MouseEvent):void {    if( showreel.playing ){        showreel.stop();}    gotoAndStop(evt.currentTarget.name);}
motion.addEventListener(MouseEvent.CLICK, onClick);web.addEventListener(MouseEvent.CLICK, onClick);logo.addEventListener(MouseEvent.CLICK, onClick);photo.addEventListener(MouseEvent.CLICK, onClick);

View 5 Replies

Add Video Play / Stop / Pause Button To Flash Video

Dec 7, 2009

I have created my first flash video and wish to allow the visitors to play the movie themselves instead of having the movie play automatically also have a stop or pause button too.

View 2 Replies

Flash :: Professional - Sync And Frame Rate Importing Video To CS3

Oct 13, 2010

Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3. When I export a video from Premiere with the settings: 1280x720frame rate of 23.976using H264 or Animation (basically every codec produces the same results),"embed video on SWF and play in timeline" When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.

I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either.

View 2 Replies

IDE :: Importing A Mp3 File - Nested Anonymous Function?

Apr 20, 2009

I am trying to play an MP3 File in Flash Lite 2.1 (I'm using Flash 8 to develop it). The filename of the MP3 file is imported from an XML file.Here is a copy and paste from the help file on how to do this:

// create a new Sound object
var my_sound:Sound = new Sound();
// If the sound loads, play it; if not, trace failure loading.
my_sound.onLoad = function(success:Boolean) {

[code]....

When I test this code on its own, it does work fine for me. However, I want the above to be executed inside a function that does a number of other things...
Here is a sample of what I'm trying to get working.

function myMusic() {
// create a new Sound object
var my_sound:Sound = new Sound();
// If the sound loads, play it; if not, trace failure loading.

[code]....

I think it's got to do with the fact that once I put it inside a function you are nesting functions (there is a function call from the onLoad event).

I tried changed the line:

my_sound.onLoad=function(success: Boolean) {
to
my_sound.onLoad=myFunctionName(parameters go here)

and then I created a funciton called myFunctionName but I wasn't sure how to send the sound object or what parameters the function should have or how to get the .start() method to work inside the new function.

View 2 Replies

ActionScript 3.0 :: Stop The Video Buffering When Video Is Paused?

Jan 11, 2012

I am developing the video player with custom video controls and I want to stop the video buffering when my video is paused. As sson as I play the video the buffering starts from the last bufferring point.

View 8 Replies

ActionScript 3.0 :: Importing External AS Files / Running Function Inside Application

Jul 5, 2010

I'm new at AS3. I'm pretty good when it comes to PHP, MySQL or HTML but I'm totally lost in AS.I have a project in Flash Builder 4 that I'm trying to add something to that was built in Flash Professional. It's supposed to loas a couple of external AS files, then execute functions from them at a certain point in the application. I know where I want the functions to execute in the application, and I have linked the AS files to "test.as" which is the main AS file for "testapp.mxml". The problem is calling the "Detector" function from inside "FaceDetector.as" which is one of the external AS files. What is the best way to do the following.[code]I want to start the script and let it do what it's supposed to do inside the application at that given time.

View 8 Replies

Importing A Graphic File Causes The File To Stop On Frame 1 (CS4)

Aug 4, 2009

I am having an issue where if I import a graphic to the library or directly to the stage, it causes my movie to stop on frame #1, even though the graphic is on frame #40. I have tried a .png, .jpg, and .psd and they all cause this behavior. I have put other graphics in and never had this issue.

View 4 Replies

ActionScript 3.0 :: Make A Function Stop A Function?

Jul 1, 2010

ActionScript Code:
myFunct();
function myFunct()
{

[Code].....

Any way to get this to work without using much more code? This is for a function that checks to see if a user is still logged into a website. I need the check to happen every time the user causes certain functions to run, like create topic, submit new post, etc. I could put the code, which is only a two-liner if/else statement in every function, but it would be nice to just call a single function. But that function would have to be able to cause the function that's calling it to return to get it to cease.

View 5 Replies

Professional :: Photo Import Vs Result - Difference Between Importing To The Stage And Importing To The Library

Mar 24, 2010

I am importing a picture in flash and i found out that there is a difference between importing to the stage, and importing to the library... [URL] I've placed both picture close of each other and if you look closely, you'll notice that one of them is losing some resolution. Both picture come from the same file, a png. The picture imported to the stage is sharper than the one imported to the library. is there a way to import that picture to the library without losing any resolution?

View 5 Replies

Flash :: Video In CS4 - Importing An Image To Stage And Set The Width And Height To Match The Image

Nov 8, 2009

I have a Flash CS4 Professional version installed in my machine. Here is my problem.

1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem) 2nd - I am using the FLVPlayback components build-in from Flash CS4. It does load the video and everything. (everything seems good) 3rd - Publish the video to my local drive (everything seems good) 4th - I could play the video from my local pc and it loads fine and fast 5th - Upload everthing from my local folder to the Web server, it does display the background image but not the video. It has a white blank screen. What is going on? I copy the exact folder from local to server. What have I missed? How could I make the video to load?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved