ActionScript 2.0 :: Setup A Poster Frame For My FLV Player
Oct 9, 2009
I'm trying to set up a poster frame for my FLV player. I'm able to get the poster frame do it's job when the video ends. But I'm not able to unload it if it s clicked again or get the play/pause button to switch accordingly.
[Code]....
View 9 Replies
Similar Posts:
Sep 6, 2009
I want to make a poster frame (a simple jpg)to display before the FLV video plays.So first the user to click the play button or on this poster frame.The code below does exactly what I need, but it is in Flash CS4.How could I do the same with Flash 8 Pro (ActionScript 2.0)?
[Code].....
View 1 Replies
Mar 28, 2011
I´m using a trial version of Fl Professional CS5 and I´m new to it. I am trying to create a poster frame for my video to upload but when I try to select the scene by using the preview parameter it is not editable and neither is cuePoints. I am referring to the component parameters panel. The default says "none". I can tick/untick the other options - autoplay, isLive etc. I´ve been playing around with it for hours without any luck.
Also, is there a way that I can add a "view in full screen" option to the video I want to upload?
View 3 Replies
Feb 16, 2012
Im building application where users can upload flv's with the fileReference. When a user press upload the flv is uploaded into a folder and the path stored into the database.
When the user clicks on an other page, he can see a list with all the uploaded movies. But I want to create custom control for the movie so the user can click one to play.
How can I add a 'poster'from the first or a random frame from the FLV?
( There is no option to create a png for each file because when the app is online user can pick there own FLVs to upload. )
View 1 Replies
May 21, 2008
I'm a complete newbie to actionscript and don't really have a clue. However by following an online tutorial in Flash 8 I managed to create a custom FLV player you can see it here [url]... I want to create a poster frame similar to YouTube so that the user clicks to start the video, however I only found how to do this using actionscript 3.0 not 2.0 which I programmed my player in.
View 9 Replies
Jul 19, 2010
I just spent 2 hours scouring the web for the answer. All I'm seeing is a whole lot of "how do you do it" and a lot of "do a google search for it'. I found a tutorial for CS4 that looked promising yet when I tried it in CS5 the damned Preview attribute (or whatever) just sits there looking at me. You're supposed to be able to click on it and choose a frame. I click and double click and nothing happens.
View 3 Replies
Dec 21, 2011
There used to be a way, in AS 2 to put the FLVPlayback component on frame 2, a poster frame JPG on frame 1 and some actionscript in frame one sayingwhen the user clicks on the JPG, Play.This would move the timeline playhead to the FLV, hide the JPG, play the video - very simple.NOW - after not touching Flash (v11.5 Mac) for a year - I need to do the same thing in AS3.
View 15 Replies
May 19, 2011
ive set up a timer on a frame that will countdown and then go onto the next frame.
it seems to work but im getting this message in the output section;
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at sub1/Atime()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
this is my code,
var mycount:Number = 3;
var mytwo_Timer:Timer = new Timer(1000,count);
mytwo_Timer.addEventListener(TimerEvent.TIMER, Atime);
[Code].....
View 9 Replies
Oct 27, 2011
Is it possible to setup cs5 to publish to Flash Player 11? Or do you need to have cs5.5?
View 1 Replies
Sep 20, 2011
I have installed FMS 4.5 successfully. I am able to run all the videos in the index.html page (filmthos.com/flash), including the HLS video on my Iphone. I was able to setup a video player for rtmp and it works fine, but I am having trouble with setting up video players for HLS and HDS. I am looking for somthing simple.
The source file or located in these location: /hds-vod/mvp5/media/MP.mp4.f4m and /hls-vod/mvp5/media/MP.mp4.m3u8 respectively (the httpd.conf location for both is HttpStreamingContentPath "/opt/adobe/fms/applications"). So obviously I want a simple video player for the HDS that plays flash and another to play HLS and HTML5. The index.html seems to cumbersome to fine out how these players work.
View 1 Replies
May 26, 2011
my goal is to set up an MP3 player, yes I know there are plenty of tuts some may say, however I'm trying to get, what I would call "fancy", with the buttons.The object is for my play btn to toggle to the pause btn and back all with roll over animation.So far I successfully toggled between the play btn and pause btn.The play btn has roll over animation and the pause btn has animation as well. The problem is that when I click the play btn and toggle the pause btn the pause btn goes back to the play btn when I want it to stay on the pause btn, but the roll over animation seems to cancel the toggle so when I roll off of the pause it goes back to the play. Here is the script:
import flash.events.MouseEvent;
function playbtnOver(event:MouseEvent):void
{[code].....
View 2 Replies
Oct 3, 2011
I'm trying to figure out how to add working links to an FLV video.
Seems like it might be possible to do this in Adobe Encore, but the documentation says: Note: Unless you set up privileges in Flash Player, the URL must be in the same domain as your Flash project.
Can anyone explain how to set up those privileges? I'd like to include active, clickabe links on my video to my site and to other sites that I reference.
View 2 Replies
May 8, 2006
How can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if flash plugin is not available in browser.
View 1 Replies
Mar 9, 2009
I am trying to setup a frame percentage counter in my movie, not in a preloader.Wanting to display via dynamic text on screen the percentage of the movie completed as it plays. I know it involves math function and _currentFrame and _totalFrames but I'm unable to get the right coding together for this.
View 2 Replies
Feb 22, 2011
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to
the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
View 3 Replies
Mar 25, 2011
I'm currently making my own shoot'em up game where the player can switch between two player types which will fire their own bullet type in this case, squares and circles. I've setup the player switch function via pressing "space" button (switching between the two player types) and the default bullet type is "squares" and I'm not sure to approach the coding with changing the bullet type to "circles".I've written 2 classes for the bullet and player setup:Player Class: Creates instance of bullet on screen and enables the switch player type function
Bullet Class: Enables bullet properies and bullet types Player Class: Code:function onKeyDown(event:KeyboardEvent):void {if (event.keyCode == 32) //// pressing/holding "space bar" to function
[code]....
View 5 Replies
Jul 23, 2009
got a movie clip with a fairly complex timeline animation. At the end of the clip I need the entire mc to move and scale to a specific location. Unfortunately, the first frame of the mc (the poster frame) is just solid black, the elements I really need to align are on the last frame of the mc (near frame 435). Is there a way to display an arbitrary frame of a mc on the main timeline for authoring purposes?
View 2 Replies
Mar 5, 2009
I've been customizing the flvplayback component and have run into a problem. So far I have successfully created a custom skin for the flvplayback component, with a play overlay button,which loads the FLV dynamically from flashvars.I am now trying to load in a static image which appears until the video is played.I've been looking around the internet and in the Adobe forums, but haven't found what I'm looking for.I thought perhaps the Preview min the AS3 flvplayback component would help, but this won't work apparently.
I was thinking myPlayer.source = "image.jpg"; but then how can I change what the source is once someone clicks on the video? I also found fl.video.VideoEvent, but I'm not sure how I can use this to set the image as the source, until someone presses the play button, or until the video is playing (note that I am using an overlay play button which shows up whenever the movie is paused, so once the video starts playing, I would not want the static preview image to come up again...just until someone clicks the any play
button).
View 3 Replies
May 19, 2009
I cannot find an ActionScript 3 code example anywhere on how to load a PNG file as a flvplayback preview image and add it in at runtime." Assigning the preview property with the string of the PNG file refrence like 'video.preview = "previewimg.png"' does nothing. who to assign in ActionScript 3 a PNG file as preview file.
View 7 Replies
Jan 2, 2011
I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast? If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?
View 2 Replies
Nov 12, 2009
I'm trying to get a movie to stop playing when I click on a button (the second frame button) that brings me to another frame (frame 2). I created on frame 1 a video gallery and I would like to create another one in frame 2. Each frame has its own player. My question is while a movie is playing in frame 1 and I go to frame 2, the the new video gallery shows but the movie from frame 1 keeps playing. I would like to have player in frame 1 stop when it hears the button for frame 2 clicked.
View 3 Replies
Oct 9, 2009
I've set up my custom Flash video player and am almost there but would like some final touches and advice on how to do that. How do I get a freeze frame to appear instead of the buffer bar when the clip ends?Here is my code:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
[code]....
View 1 Replies
Mar 28, 2011
I have windows xp - home SP3. 32 bit.I have Flash player 10.2r153.Why is it that my flash player have dual frame on every browser that I used(ie. explorer, mozilla, chrome, opera , safari)
View 3 Replies
Nov 10, 2011
I'm doing a very simple interactive screens. The timeline has 5 frames, each one with some MovieClips with "onRelease" events associated and some animations... very simple.
I'm publishing it has FP7 & AS2 (mandatory)
Surprisingly everything went fine from start to finnish, even on testing.
But when I was delivering this test version, something weird happened. I have Chrome by default has my browser, and I also tested with Firefox. On these two it works fine. The problem is when you test on IE.
In this browser the SWF skips to the second frame and stops when it loads, acting normal again. I can go back to the first frame and everything looks good.
At the beggining of each frame I have a stop(), and there's no other gotoAndStop events unless on buttons, nothing is triggered by actionscript.
I had the 10.2.159.1 version and upgraded to 11.0.1.152 (the latest)... the problem persists.
Meanwhile a simple timeout seems on 1st frame seems to solve the problem, but I wonder if this is a bug with AS2 on Flash Player specially on IE?
View 4 Replies
Mar 19, 2010
I'm trying to create a small flash website for a Uni project (I'm a music student but they want me to be able to make websites, go figure?) and I am having trouble getting a video to stop playing when i goto another frame. Im using the FLV player from Window>Componants and i have named it PubPlayer. I've tried setting its source to Null, Using .stop() and even setting its volume to 0 but everytime i goto another frame it keeps playing.Im gettingTypeError: Error #1009: Cannot access a property or method of a null object reference.at AlbumsEps_fla::MainTimeline/GoAlbum()My code is as followsQuote:
stop();
PubPlayer.source = "Machines.f4v";
function GoHome(event:MouseEvent):void {
[code].....
View 4 Replies
Jul 8, 2011
I have a site that is using 80 - 95 % CPU power, while sitting idle.
The rundown.... The site has selectable backgrounds, that are set on the main timeline. Most of the rest of the site resides inside of a MovieClip that sits on the main timeline. Before that movieClip loads, it uses about 4-15% CPU power to do everything including animations.
Once it stops on the Frame that has the main site MovieClip the CPU usage goes through the roof. However, even if I don't interact with it and it is just sitting there, stopped on a frame, no animations looping, and nothing loading. My CPU usage is nearing 100%. What is going on? And How can I make this use less power.
View 3 Replies
Jul 22, 2009
I am trying to make a multimedia player where has different pages:
- about us
- our videos
- contact us
now on the "our videos" page there are 12 thumbnails (reading from an xml file) and by clicking on them the video player shows the proper video. Till now I have been able to set it up. But when someone wants to go back to the about us, contact us ext. the player and the thumbnails still remain.How can I close them when page navigates away from that specific frame (lets say for example all of this is done on frame 150)?I would like the thumbnails and player to close when we navigate away from that frame.[code]
View 0 Replies
Nov 23, 2006
i am creating a simple quiz. I want to go the next frame if the player press a button 3 times. I use the code:
on (release) {
_root.total = _root.total + 1;
if (_root.total == 3){
nextFrame;
}
}
View 6 Replies
May 8, 2010
I've been working on a mini-mouse maze in as2, placed in a movie clip called "mouse1". On frame one is the start button, and on two is the maze and finish button. So what I'm asking: is there a way to make the movieclip return to frame one when the player right clicks? I know this code, that makes it trace something but I cant use it to navigate.[code]
View 1 Replies
Apr 13, 2011
I've got an app based on four frames with seperate events on each frame. The app is powered in AS3 and every frame calls stop(); and everything works well but the swf file in flash player has a problem where if the user hits control > play it moves to the next frame.How can I stop this? A simple conditional would prevent it but errors are triggered this way from ongoing functions from a previous frame.
View 3 Replies