Show Static Image And Then Play F4V File?

Jun 22, 2009

I am trying to do this also, only with one static image at the beginning and then the option to play the flv file: Here is where I am at the moment:In the .fla file in Flash CS4 Have the FLVPlayback Component and the FLVPlaybackCaptioning Component (with related .xml file) plus the Caption Button Component inserted, and all work fine.At this point have made the video with controls the bottom layer on the timeline.  The FLVPlayback Component instance name is vid. Next layer is the still image as a graphic symbol.Top layer is the actions layer.On the actions layer I have place the code as shown in the previous answer, before you tweaked for the two videos:I get five compiler errors, which I have attached a screenshot of as a jpg file.  I am very new to AS, understand code, but not AS code.

[Code]...

View 7 Replies


Similar Posts:


ActionScript 1/2 :: Show Static Image Then Play 2 .flv?

Apr 5, 2009

I want to have a player that shows a static image to begin with and then plays 2 short .flv files, one after the other and then reverts to the static image.I've found this, which works beautifully for the static image and one movie clip but I don't know how to add the second movie clip.

startBtn.onRelease = function() {// make sure your video has an instance name of vid// and it is NOT set to auto play.vid.play();this._alpha = 0;};var listenerObject:Object = new Object();listenerObject.stopped = function(eventObject) {startBtn._alpha =

[code].....

View 11 Replies

ActionScript 3.0 :: Play A Sound File And Show The Progress Of The Sound File Being Played

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

ActionScript 2.0 :: Load Image Names From Txt File Then Show

Jun 26, 2003

I tried to do that;a txt file which created by PHP , includes :[code]I load the values image1,image2,image3 but I can't show the images please help me ? how it can be possible,LoadMovie(image1) does not work,how it can be possible ?

View 4 Replies

Show A Static Pic If The User Doesn't Have Flash Installed?

Oct 7, 2009

check out this website first for what I'm going for:

[URL]

The header is a graphic of a guy's head and a car.

I want to design the same kind of page but my header graphic will have a cartoon head instead of that guy's head and it will animate.

Now If the user does not have flash installed I would like to have a static header image appear, like a .jpeg or a .gif, instead of the .swf header.

View 2 Replies

Asp.net :: Show The .ppt File In The Webpage By The Slide Show Manner

Jun 10, 2011

In my asp.net application,I want to show the .ppt file using the slide show manner.

That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..

Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.

This is a slide show using the flash: [URL]

What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?

View 1 Replies

ActionScript 3.0 :: Static Stop/Play Functions?

Jan 26, 2012

Let's say I would want to use the frameScript method to add some stop and play methods to some frames.

Normally I would declare the stop function:

[Code].....

My question is, how can I create the same $FUN_FrameStop as a static function?

Static functions do not allow the use of this since static members are bound to a class and are not inherited by that class' instances.

So, is there a way to create a function similar to $FUN_FrameStop, but static?

View 3 Replies

Actionscript 3 :: Make Static Stop/Play Functions?

Jan 26, 2012

Let's say I would want to use the frameScript method to add some stop and play methods to some frames.

Normally I would declare the stop function:
private function $FUN_FrameStop():void {
stop();

[code].....

View 3 Replies

ActionScript 3.0 :: Flash :: Static Stop/Play Functions?

Jan 26, 2012

I would want to use the frameScript method to add some stop and play methods to some frames.Normally I would declare the stop function:

HTML Code:

private function $FUN_FrameStop():void { stop(); return; }
and then use it like this:

Code:

addFrameScript(47, $FUN_FrameStop, 122, $FUN_FrameStop);
My question is, how can I create the same $FUN_FrameStop as a static function?

Static functions do not allow the use of this since static members are bound to a class and are not inherited by that class' instances. So, is there a way to create a function similar to $FUN_FrameStop, but static?

View 2 Replies

ActionScript 3.0 :: StartDrag And Bounds - User Will Be Able To Drag The Image, As Long As The Edges Of The Image Doesn't Show?

Jan 19, 2011

I have an image on the stage which is bigger than the stage itself:

The stage is 700x550

The image is 2100x1650, and it's registration point is at its center, if I remember correctly.The initial location of the image on the stage is 350,75.I want to make sure that the user will be able to drag the image, as long as the edges of the image doesn't show.here's what I did:

mapRect = new Rectangle(0-mapMC.width/2, 0-mapMC.height/2, mapMC.width, mapMC.height);

and later on:

mapMC.startDrag(false,mapRect);

The the top and the left of the image are bounded well, but as far as the bottom and the right side of the image.

View 1 Replies

ActionScript 3.0 :: Show Captured Image In MovieClip Without Saving Image First?

Jan 31, 2009

How can I show an image that I have just captured with the webcam?I am able to save that image using PHP but before I save it, I want to show a preview. How can I do this? Here is a snippet of the code that I think can be used to do this:

ActionScript Code:
foo = new BitmapData(640,480);
foo.draw(myvideoobject, scaleMatrix);

[code].......

View 3 Replies

Open FLV With Static Image?

Feb 17, 2010

I would like to use an image as a link to play an FLV and have the movie open and play.

View 5 Replies

ActionScript 2.0 :: Only Show Image On Smaller Image Rollover

Feb 6, 2009

i want to show a bigger image when the cursor is over the smaller version.

View 9 Replies

ActionScript 2.0 :: Show An Image If The Image Did Not Present At The Location Given In Xm?l

Aug 15, 2007

i am using the flash xml slide show which is in tutorial section. i want to show a image if the image didnot present @ the location given in xml

View 1 Replies

ActionScript 1/2 :: Hen I Tested Out The Movie Again, Only The "test" Static Text Box Words  Show Up?

Feb 25, 2011

I have no  understanding of even the most basic concepts, put it that way. Anyway,  so I have 2 test boxes, one that is static and one that is dynamic. I  made the dynamic one first, and on the same frame, I put the AS: var random:Number = 100; What I do know is that flash now recognizes that whatever dynamic  text box with the variable label of "random" is a number. The output  should also be a #, and when you test out the movie, a 100 should be in  the dynamic text box that you just created, even though you don't see  this on the stage before testing. So I tested it out, and sure enough, a  "100" shows up. Next, I put another text box that is static, and I typed "test" in  it. (Without quotes) The two text boxes should have no relation, but  when I tested out the movie again, only the "test" static text box words  show up, and the 100 in the previously created text box is gone. I've  tried moving the text boxes to different places and changing variables  and such, but nothing works, as far as I know.

View 3 Replies

Professional :: Random Links On Static Image

Feb 22, 2010

I have created a banner and wanted to randomize the URL that the user goes to. Basically the banner is of a product and it is sold a say 3 places. I wanted to randomize where the customer goes, but one of the three places it is sold. What is the easiest way to implement this? Generate a random number when the page loads and that determines the URL link?

View 1 Replies

Actionscript 3 :: Dynamically Select A Static Embedded Image?

Feb 25, 2012

Here's my current situation[code]...

As you can tell, the above codes don't seem to do the trick. I just want to dynamically select which Embedded.* class to select.

View 1 Replies

ActionScript 2.0 :: Static Rollover Effect On The Swf By Making Image As A Button?

Jun 13, 2008

I have created one static movieclip and in that movieclip i have created "i" dynamic movieclips.On the dynamically created movieclip i am loading swf(Swf consists of a Preloader and then image appears).All these swf values and link(url) values i get by parsing an xml string in the FLA itself...Now the problem starts here...There are links on these dynamically loaded swf's....And I have given static rollover effect on the swf by making image as a button..Now what happens is that i have written onRelease Function in code and in that i m getting link on images(SWF) using getURL in on EnterFrame function and i am not gettin the rollover effects that i have created in static.

View 2 Replies

ActionScript 3.0 :: Loading And Changing The Alpha Of An Image Via A Static Class

Dec 30, 2008

I'm trying to make a URL-Loader Class to speed up my workflow, but I can't manage to make the images I am loading visible, turning their alpha to 1.

I use the following line to invoke my custom loader:

import com.ab.utils.Load
Load.Image(menuitem.holder_mc, menuitem.image, this)

[Code]....

Notice where I call a Tweener, trying to make my mc (_ITEM)'s alpha turn 1.

I tried thing like loader.content and loader.content.holder_mc, but to no avail.

View 2 Replies

ActionScript 2.0 :: Static Background Image Bigger Than Flash Movie?

Dec 18, 2009

I'm creating a movie that is 500px wide but the background image is 1500px wide. How can I show the image at 100% without it being cut at 500px?

View 4 Replies

IDE :: Create Static Text In My FLA File?

Nov 11, 2009

I have created a static text in my FLA file and for some reason when I convert it to a movieclip symbol, my setting of the text - such as the letter spacing - are no longer. It scrunches together and looks pixelated. Any knowledge as to why? It was not doing this a while ago but I don't see what I have changed!

View 6 Replies

ActionScript 2.0 :: Get The Static Text From The .swf File

Jan 12, 2010

i have a .swf file which contains static text in it.. I have to get the static text from the .swf file... Is it possible to do in AS 2.0.. If it is yes means then show me a perfect direction to perform this one....

View 2 Replies

ActionScript 2.0 :: Play / Pause Slide Show?

Nov 5, 2010

I have a simple slide show with a forward & backward button, as well as a play & pause button.

The play/pause buttons toggle visability with this code (on its own actionscript layer)[code]...

However, this didn't work - at least not the way I wanted. This code causes the pause button to show up when you cycle through the images and get back to frame one - somehow forcing the net stream to play again.

tell by my code why that would happen? I'd at least like to know how to show the pause button whilst it's playing and vice-versa for the play button.

View 2 Replies

ActionScript 1/2 :: Play / Pause Slide Show?

Nov 5, 2010

I have a simple slide show with a forward & backward button, as well as a play & pause button.The play/pause buttons toggle visability with this code (on its own actionscript layer)[code]...
 
However, this didn't work - at least not the way I wanted. This code causes the pause button to show up when you cycle through the images and get back to frame one - somehow forcing the net stream to play again.

View 23 Replies

ActionScript 2.0 :: Play/Pause Slide Show?

Nov 5, 2010

I have a simple slide show with a forward & backward button, as well as a play & pause button.The play/pause buttons toggle visability with this code (on its own actionscript layer):

Code:
//FIRST HIDE THE PLAY BUTTON
playBtn._visible = false;
//WHEN THE PAUSE BUTTON IS CLICKED, STOP THE MOVIE, HIDE THE PAUSE BUTTON, AND SHOW THE PLAY BUTTON
pauseBtn.onRelease = function() {

[code]...

However, this didn't work - at least not the way I wanted. This code causes the pause button to show up when you cycle through the images and get back to frame one - somehow forcing the net stream to play again. how to show the pause button whilst it's playing and vice-versa for the play button.There's nothing on the timeline that would obstruct the buttons from the end of the timeline to the beginning. I think it's in the code, but I can't see it.

View 5 Replies

Flash :: Professional - Ipad - Website For Salou Currently Has A Static Image Of Google Street View

Nov 3, 2010

I am new to flash and am trying to achieve the following: My website for Salou currently has a static image of google street view, i want to incorporate a live version that will be available on the ipad and ipod touch, will this work as i am told that google street view uses a flash plugin.

View 1 Replies

ActionScript 1/2 :: Using An XML Object To Retrieve A Static XML File?

Mar 3, 2010

I m working on learning how to bring XML info into Flash. Eventually Im trying to pull a bunch of data about Interstate 80 drug and cash stops for an interactive project to go with a big centerpiece story for the newspaper I work for. I ve been through a [url]..... tutorial three times now.I made a dataset, bound it to a datagrid and attached the datagrid to the xml file. When I run a trace,I can see in the output window that the XML is being pulled in. But I must be doing something wrong nothing is being displayed in the datagrid. It should bring in the first three items in the code:

var myXML:XML = [code]....

View 3 Replies

ActionScript 3.0 :: Show New Form When Play Button Click?

Dec 31, 2009

i have 3 file. the first is quiz.as that contain two button. play and invite friend.quiz.fla. and quizapp.***. when i click play button i want to show the quiz that store in quizapp.as. int the quiz.as i have the mouse event that call quiapp.but when i run i got an error:
 
TypeError: Error #1009: Cannot access a property or method of a null object reference.    at QuizApp/createButtons()    at QuizApp()    at Quiz/playQuiz()
 
in createButtons(), i create three button next,prev and finish. whereas, in my quiz.fla library i have drag the button into my library but the error show nuul object reference for the button that i have created.

View 1 Replies

ActionScript 3.0 :: Private Static Properties With Public Static Getters/setters

Oct 22, 2009

how bad is this practice? I am having trouble getting to some stuff so i am taking the easy way out

Code:
private static var _interrupted:Boolean;
public static function setInterrupted(value:Boolean):void{
_interrupted = value;
}

View 1 Replies

ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

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







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