FLVplayback Seekbar problem
Hello,
I'm having issues with the seekbar handle for FLVplayback
components. I have separate videos in separate movieclips and when
I click to a new one the seekbar handle gets left from the previous
one. I've noticed other people having the same problem but haven't
found a solution as yet, can anyone help? Is there code to prevent
this and if so would it go into the button, component or AS frame??
Any help would be greatly appreciated.
David
That is my plan to use playheadupdate. I have been able to add a mouse click to the seekbar itself and can seek the the correct place in the flv on demand. My problem is that I am unable to display the handle rectangle. I am also unable to add a mouse event to the SeekBarHandle class I have.
Similar Messages
-
Hello,
I'm having issues with the seekbar handle for FLVplayback
components. I have separate videos in separate movieclips and when
I click to a new one the seekbar handle gets left from the previous
one. I've noticed other people having the same problem but haven't
found a solution as yet, can anyone help? Is there code to prevent
this and if so would it go into the button, component or AS frame??
Any help would be greatly appreciated.
DavidOh! Okay!
So, I did try your solution. Changed the code to that :
import fl.video.*;
import fl.controls.ProgressBarMode;
var flvDisplay : FLVPlayback;
var flvSource : String = "videos/P01_Intro.flv";
var flvCaption : FLVPlaybackCaptioning;
var flvCaptionSource : String = "intro.xml"
flvDisplay = new FLVPlayback();
flvDisplay.skin = "SkinUnderPlaySeekCaption.swf";
flvDisplay.source = flvSource;
flvDisplay.width = 757;
flvDisplay.height = 530;
flvCaption = new FLVPlaybackCaptioning();
flvCaption.source = flvCaptionSource;
flvCaption.showCaptions = true;
addChild(flvDisplay);
addChild(flvCaption);
I temporarily put the code related to the progress bar in comment, so I didn't add it to the post.
You know what's bizarre? The caption button still doesn't appear! The captions do work though. I just can't turn them off since the button isn't there. :/
So basically, I return to my first problem : is there any way to "access" the seekbar scroller trough code? Then my first solution would "work". -
FLVPlayback SeekBar and volumeBar conflict
I am using the FLVPlayback component with the seperate play
button, back button, seekbar, volume bar (instead of using a skin).
The seekbar and volume bars worked perfectly individually, however
used together they seem to conflict - when I click on the volume
bar handle the seek bar handle flashes and the volume cannot be
controlled. I have also had it the opposite way round too. I cannot
work out how to fix this.
I have read a few reports that this is a bug with Flash 8,
and that the Flash 8 FLVPlayback Component Update 1.0.1 fixes this
with replacement files. I have also read that this bug has not been
resolved with CS3. However I started my project on Flash 8 and then
moved on to CS3 so cannot use the update (the files to replace are
all different).
I would appreciate any help on this.I need to re-submit the entire code since it has to be
something therein, since I did a document and I had no problem but
when I use this code I have a problem with the seek and volume not
working together.
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
for(i=0;i<nodes.length;i++) {
list.addItem(nodes
.attributes.desc,nodes.attributes.flv);
vid.play(list.getItemAt(0).data);
list.selectedIndex = 0;
list.backgroundColor = 0x000000;
list.color = 0xffffff;
xml.load("videos.xml");
var lList:Object = new Object();
lList.change = function() {
vid.play(list.getItemAt(list.selectedIndex).data);
list.addEventListener("change",lList);
vid.playPauseButton = playPause;
vid.seekBar = seeker;
vid.muteButton = mute;
vid.volumeBar = volBar; -
my flash movie contains FLVPlayback component to play videos.
In the begining of the movie( frame 1) I have a simple pre-loader.
When I test my swf on a browser the pre-loader appear only after
few second, not immediately. (my pre-loader start from 40%). I
think the reason is that flash load the FLVPlayback component on
the first frame although my component appears only on the second
frame . Is there any work around this issue?
ThanksI am having the exact same problem. Thanks for info that this
is caused by movie being the same size as the stage. I am also
working on a solution and will let you know if I find one. -
Preload .f4v FLVPlayBack Choppy problem
Hi ,
I'm new here. My first post !
Just for info , I use Flex to build Action script project.
So I preload some f4v movie, <1,50 mo , 720*405, between 4 and 10 s duration.
No problem for the preload. But when 'bytesloaded=bytestotal' , I play the file, it looks like choppy. The video is not smooth at all.
I try with flash player beta 10.1 , it's better but still choppy.
Anyone get this problem ? I try to play with the buffertime method of F4vPlayBack , it changes nothing.
Samuel. Please Help !
www.visualiser.frThanks for your answer. My f4v are no more than 0,5 Mbit/s. But I've made some test yesterday , on different os and browser.
And the winner is : Safari on a mac os 10.4, it's completly smooth !! The other test was made on firefox both xp and macOS, and ie8(xp), it still choppy.
I really don't understand what's happen. Flash is not supposed to display exactly the same thing what ever os or broswer you use ?
Samuel -
Flash cs5.5 FLVplayback Encoding Problems with Air for Android
Dear All,
I'm trying to play flv in my air application by using FLV playback in flash cs5.5.
I can play flv in the pc but not on the samsung galaxy tab andriod platform.
if anyone out there has tried out FLV playback with either an Air For Android application, where the FLV files are packaged within the app, or either streaming via normal http//:, any help would be greatly appreciated.
Thanks!First disable autoplay. It gave errors for me. Try to make the movie play with the play() command.
to embed the movie in your air bundle, just go to publish settings for your flash project. Then in that screen go to the player settings.
In the first GENERAL tab you'll see a the bottom that you can add files to your project
Propably there is allready your .swf and an .xml file in there.
Using the + icon you can add your video.
Make sure that your video is in the same directory as your . FLA file and you can use it as is (by name)
If for example your flashfile is in c:\mytest\mytest.fla and the video in c:\mytest\videos\myvideo.flv , then you will have to load your video as "videos/myvideo.flv" with a FORWARD slash, never use \
Good luck -
Hello.
I'm converting a Web (Flash Player) application to iOS. The Web application uses external SWFs. But in iOS I can't load external SWFs. I decide to convert the SWFs to SWCs and insert the SWCs in the "Library path" of the main SWF.
All is OK except the use of the SeekBar.
This is a link to an example of the problem (CS5.5): http://www.highresolution.it/SWC_SeekBar.zip
The main SWF (Main 01.fla) play a video with FLVPlayback+Seekbar, close it and instantiate the "video" movieclip from SWC. The SWC (from "ForSWC 01.fla") have the "video" movieclip that play the video with FLVPlayback+Seekbar.
The SeekBar in the SWC don't work. But if I compile the "ForSWC 01.fla" to SWF and load this SWF with a loader the SeekBar work. Or if I remove the FLVPlayback(and his skin)+SeekBar from the library of main SWF the SeekBar into SWC work.
I don't find any solution to this problem...
Thank you for help.I got the answer , I think. the following from flex
reference:
Change the default link type combo box from "Merged into
Code" to "Runtime Shared Libraries". Click on the SDK folder to
open it up and do the same on the "framework.swc" entry. Click on
the "RSL URL" entry. Your dialog should now look like this: -
Setting FLVPlayback parameters at run time
Hello,
Is there a way to change the parameters on the FLVPlayback at
run time? For example, I create a swf file to play the video
"my_video", and I set the parameter "autoPlay" to false. I then
embed the following code into a web page:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="326" height="266" id="my_video" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my_video.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="my_video.swf" quality="high" bgcolor="#666666"
width="326" height="266" name="my_video" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
The video is embedded in the page, and the user can click the
controls to play the video.
What I'm wondering is ... can I change the parameters at run
time by using the above code somehow? For example, can I change the
autoStart parameter to true, so now the video would start
automatically when the page is loaded. Or, could I change the
contentPath parameter so the code would now play a different flv
file?
Thanks for any help.
BobHi,
Thanks for the quick response. Your suggestion works almost
perfectly. I can now change the flv to any flv I want, and it plays
the video I want. However, even though I am specifying
autoPlay=false, it still plays automatically when the page loads.
Here is my actionscript:
flvPlayback.playPauseButton = myplayPause;
flvPlayback.seekBar = mySeek;
flvPlayback.muteButton = myMute;
flvPlayback.contentPath = newPath;
flvPlayback.autoPlay = autoStart;
and here is my html:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="326" height="266" id="xxx" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="pokflvplayer.swf">
<param name="FlashVars"
value="autoStart=false&newPath=holiday_message_2007.flv" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="pokflvplayer.swf"
FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
quality="high" bgcolor="#666666" width="326" height="266"
name="medical_imaging" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Any idea why it will not recognize the autoStart paramenter?
By the way, I had to change your myFLV.autoStart - autoS to
flvPlayback.autoPlay=autoStart. The actual name of the parmameter
is autoPlay, not autoStart. My guess is that was just a typo on
your part. Thanks again for your help.
Bob -
FLV components work one at a time, but not in unison!
I've done this before so I don't know why it's happening. I
have an FLV component and 3 other FLV player components: Volume
bar, play/pause button, and seek bar. They all have instance names
and control the FLV correctly, but the seek bar and volume bar do
not like each other.
When the volume bar works, the seek bar doesn't and when
clicking on the little black triangle to change the volume, a
yellow rectangle appears briefly around the seek bar triangle. If I
go and delete the seek bar and drag another seek bar component to
the stage, it will work, but the volume bar will not. Again, a
yellow rectangle now briefly appears around the volume bar. Are
these triangle thingys connected somehow? My movie plays fine - the
play/pause button always works fine.
Any insight into this?
Thanks bunches!I figured it out, but it isn't really intuitive:
If you go to
http://www.adobe.com/support/flash/downloads.html
and download the 1.01 Flash UI playback update, the readme
file states:
"3. Both seekBar and volumeBar custom components will not
work if a UI Component is in the library
If certain UI Components are on stage or even just in the
library, they will prevent the FLVPlayback SeekBar and VolumeBar
FLVPlayback Custom UI components from both working. The exact
symptom is that one or the other of the two controls will work, but
the other one's handle will be unresponsive when clicked. There is
a work around for this problem, which is to wrap one or both of the
SeekBar or VolumeBar in an empty movie clip, because the bug only
occurs when they are both on the same timeline.."
I put my seekbar in a parent clip I called seekFix and it
works fine now.
FLVplayer.seekBar = vid_system.vid_ctrl.seekFix.seeker;
FLVplayer.volumeBar = vid_system.vid_ctrl.volumer;
Interestingly I didn't need to update my components to
1.01. -
Hi all.
I've got a video interface happening with the following
component instances:
FLVPlayback
SeekBar
VolumeBar
PlayPauseButton
MuteButton
The issue I'm having is that when the user clicks a button to
close the video (the button isn't a component) and the interface
closing animation happens, the instances of the SeekBarHandle and
VolumeBarHandle stay right where they are even after the blank
keyframes in the timeline forces the VolumeBar and SeekBar
instances to disappear.
How do I get the SeekBarHandle and VolumeBarHandle instances
to disappear when the now non-existant SeekBar and VolumeBar
instances within which they're nested disappear?
Any help is appreciated.
JP
Donkey Ink DesignHi Folks,
Donkey Ink have you managed to resolve this? I ask, because I
also seem to have the same problem with the seekbar component.
I have the seekbar attached to an FLVPlayback instance in one
frame, when I progress the timeline to the next frame the
seekbarhandle seems to remain on the stage (when testing the movie)
even though all compenents seem to have been removed from the
stage.
Any help would be greatly appreciated.
Thanks -
Setting bind references at run-time
Hi,
I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example
http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html
At design time, it is not know which node in the data dom the field should be bound to, so I would like to be able to simulate a match="dataRef" ref="$.myNode" statement at run-time.
However, my recollection is that the binding reference can't be changed at run time. Does anyone know if it can be done, and how to do it?
JohnHi,
Thanks for the quick response. Your suggestion works almost
perfectly. I can now change the flv to any flv I want, and it plays
the video I want. However, even though I am specifying
autoPlay=false, it still plays automatically when the page loads.
Here is my actionscript:
flvPlayback.playPauseButton = myplayPause;
flvPlayback.seekBar = mySeek;
flvPlayback.muteButton = myMute;
flvPlayback.contentPath = newPath;
flvPlayback.autoPlay = autoStart;
and here is my html:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="326" height="266" id="xxx" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="pokflvplayer.swf">
<param name="FlashVars"
value="autoStart=false&newPath=holiday_message_2007.flv" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="pokflvplayer.swf"
FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
quality="high" bgcolor="#666666" width="326" height="266"
name="medical_imaging" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Any idea why it will not recognize the autoStart paramenter?
By the way, I had to change your myFLV.autoStart - autoS to
flvPlayback.autoPlay=autoStart. The actual name of the parmameter
is autoPlay, not autoStart. My guess is that was just a typo on
your part. Thanks again for your help.
Bob -
When watching a YouTube video, the download works for a minute or so, then halts. Once the playing reaches the limit it pauses as if waiting for buffering. It never resumes playing.
With streaming video, for example from NRK:
http://www.nrk.no/nett-tv/hastighet.aspx?retururl=%2fnett-tv%2fklipp%2f630189%2f
- the video will not load at all.you can use the seek method to start play from cp x. unless you're using a streaming server likefms or redhat, you must wait until the video has loaded up to cp x.
you can use a cp listener to check when cp y has been reached.
you can control the seekbar if you make your own. ie, you can't use the flvplayback seekbar. -
What video format to export for Ipad Apps
Hi,
I am new in export flash to ipad. I tried to export my video as FLV for my ipad apps, it plays but its lagging or jerky.
I had tried other formats like mp4, f4v, m4v or mov it just doesn't play
Wonder if anyone knows what video format to export for my ipad apps?
Bruce
http://www.vmw.com.sg[email protected], on an iPad, here's what I did to get the FLV loading and taking up (most) of the screen. You can't use the FLV Component skins so you have to use the UI Components as markc888 suggested below your comment. My only gripe with this solution is that I can't get the fullScreen button to make the video go full screen.
This is starts from a playVideo button on my stage.
playVideo.addEventListener(MouseEvent.CLICK, playVideoClick);
function playVideoClick(event:MouseEvent):void {
var flvPlayback:FLVPlayback = new FLVPlayback();
flvPlayback.x = 62;
flvPlayback.y = 62;
flvPlayback.width = 900;
flvPlayback.height = 506;
flvPlayback.fullScreenTakeOver = true;
flvPlayback.autoPlay = true;
flvPlayback.source = "yourMovie.flv";
flvPlayback.bufferTime = .1;
addChild(flvPlayback);
flvPlayback.playPauseButton = playPauseBtn_mc;
flvPlayback.stopButton = stopBtn_mc;
flvPlayback.seekBar = seekBar_mc;
var closeMovie:yourMovieClip = new yourMovieClip();
addChild(closeMovie);
closeMovie.x = 977;
closeMovie.y = 77;
closeMovie.addEventListener(MouseEvent.CLICK, closeMovieClick);
function closeMovie(event:MouseEvent):void {
flvPlayback.stop();
removeChild(flvPlayback);
removeChild(closePres);
Hope it helps... -
Scrubbing FLV Movies - Performance?
Hi there Folks,
I am currently using the FLVPlayback, seekBar component to
scrub external FLV files. However I am finding the performance when
dragging the seekHandle is poor. i.e. If I drag the seekHandle at a
resonable speed, the movie seems to take a second or half second to
update on screen. This gives a very disjointed feedback/user
interaction which does not feel smooth when using.
My FLV files are fairly small, average a few meg, ranging
from 50 frames to 200, or 5 to 20 seconds.
Is this a keyframe issue with my FLV's? If so what is the
best settings when exporting FLV's of this size for use when
scrubbing?
All help is always greatly appreciated, Cheers Folks.I'll normally put a keyframe every 15 frames to get decent
scrub
performance...less is better, but then filesize goes up. 15
works pretty
good, IMO.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Retrieve java VM -X parameters at run-time
I know we can use System.getproperties() to get back all the -D java arguments. Is there a way to get -X arguments e.g. -Xmx256M?
Hi,
Thanks for the quick response. Your suggestion works almost
perfectly. I can now change the flv to any flv I want, and it plays
the video I want. However, even though I am specifying
autoPlay=false, it still plays automatically when the page loads.
Here is my actionscript:
flvPlayback.playPauseButton = myplayPause;
flvPlayback.seekBar = mySeek;
flvPlayback.muteButton = myMute;
flvPlayback.contentPath = newPath;
flvPlayback.autoPlay = autoStart;
and here is my html:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="326" height="266" id="xxx" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="pokflvplayer.swf">
<param name="FlashVars"
value="autoStart=false&newPath=holiday_message_2007.flv" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="pokflvplayer.swf"
FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
quality="high" bgcolor="#666666" width="326" height="266"
name="medical_imaging" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Any idea why it will not recognize the autoStart paramenter?
By the way, I had to change your myFLV.autoStart - autoS to
flvPlayback.autoPlay=autoStart. The actual name of the parmameter
is autoPlay, not autoStart. My guess is that was just a typo on
your part. Thanks again for your help.
Bob
Maybe you are looking for
-
Goods Receipt allocated to a project. MIGO (501-Q)
Hello Experts I want to make a good receipt without reference to the PO. I use the movement type 501 - Q becuase I want to take of from the project. Then I want to to create again but take out only from a Network and I havent seen any customizing poi
-
Boot camp drivers for windows 8
Every thing works well on windows 8 install using boot camp. Even all drivers available for windows 7 work and let windows 8 function all the way. I only got struck on track pad as this is only important thing which gave away and never worked. On usi
-
Publishing to UNIX-based Web Server
Is there a method by which iWeb can be made to play nicely with a UNIX-based server? When I attempt to upload to my FTP I get the 9th degree from the server with nearly every file and folder name containing illegal characters such as spaces, commas a
-
My iphone will not sync to itunes
im using an HP laptop with windows 8. my iphone 4s is connecting to the computer and charging but it is not bring reconized in itunes.. please someone help i need to download musiccc!! ASAP
-
Save and submit issues with nested/expanding form
I've built two forms in designer (Form_B and Form_C, we'll say) which use scripted repeating subforms to accomodate a range of inputs without presenting the user with piles of fields. I need both of them to correctly maintain their state when saved a