ActionScript 2.0 :: Seeking And Changing Only Part Of URL?
Feb 2, 2010
I have to set button for changing the default language with another one ... this button have to be in my flash header ... only the header in my site is flash ... I want to read the current URL and change the part of it .. for example:
www . myweb.com/en/about.html
>>>> www . myweb.com/fr/about.html
Is this possible with ActionScript 2.0?
View 2 Replies
Similar Posts:
Feb 28, 2011
I was told there is a server technology that allows user to seek to a part of video that has not been loaded yet even if I am using progressive download, not true streaming.
View 1 Replies
Sep 7, 2011
I have to change the color of the particular part of an image dynamically without affecting the image design.
I want to change the color like this
[URL]
View 1 Replies
Dec 1, 2011
I have a HTTP video player built using Adobe's OSMF and I am experiencing a strange behavior when trying to seek within a subclip.The player requests data from the server using URL like "http:[url]...." to get the full video, and appends "?begin=123456" to request a subclip starting at 123456 bytes offset.Whenever I try to seek within a loaded subclip, the playhead just drops to the start of the subclip and the video plays from there. Although both mediaPlayer.canSeek() and mediaPlayer.canSeekTo(newtime) return true.
View 1 Replies
Sep 13, 2011
I have a simple flv player which connects to a CDN which can take header byte range requests if a user wants to skip through a flv without the need for the flv to be 100% loaded.I am using a third party http librabry to add the range header to the request.My code plays the flv but when I try to skip to 30 seconds into the video it just freezes. I beleive the cdn does return the file as i can trace through the bytes and the header has the content-range repsonse (below).[code]
View 0 Replies
Oct 15, 2007
I'm looking for a way to add seeking capability to audio playback. I can do it pretty easily for video, but I'm currently using a sound object which has no seek capabilities whatsoever.
Is there a different object or method I can use to direct audio playback to a particular point in the audio duration?[code]...
View 2 Replies
Jul 14, 2009
Where can I get or buy the flash video component I keep seeing around the web which has the extra function of making the flash video go full screen.
View 4 Replies
Dec 9, 2009
I used a template from adobe and modified it to fit my needs. Instead of one long video with cuepoints, I have several videos that I want to switch when the buttons are clicked.verything works great except when the user seeks beyond the buffer (progressive download).hen this happens, everything breaks. All of the buttons, playback, play/pause... everything. You have to refresh the page and start over.My quesiton is, does the seekBar need a custom eventHandler? Shouldn't it work on it's own? Here is my code:
import flash.events.*;import fl.video.*;
//-----------------// Video control assignment//-----------------
display.playPauseButton = play_btn;display.stopButton = stop_btn;display.seekBar =
[code].....
View 1 Replies
Feb 17, 2010
I have an flv with some navigation cue points embedded in it. The video is pretty long. When I upload it to my site, I cannot access cue points in unbuffered parts of the video. What do I need to do so I can jump to unbuffered parts of my video?
View 5 Replies
Jun 28, 2010
I'm making DVR application and I'd like to use h-264 codec, but got following problem. While f4v file is recording, client application (for example Adobe DVR Sample Application player) cannot seek inside the video. It starts playing sought part of the video and stops in few seconds. When recording process finishes the seek works correctly in the recorded file. The process described above works fine when I use vp6 codec. I am using FMLE 3.1 and FMIS 3.5.3
View 5 Replies
Apr 15, 2010
Am working in flex video player with RTMP.How to skip the video file to the middle of a video without having to download the whole file using RTMP.Where i want to put the Video file(FLV). Red5 server location or any other folder.Where i want to put the flex project out put file Red5 server or any other server like XAMPP. How Can i skip the frames in flex using RTMP(*red5*)..
View 1 Replies
Nov 26, 2010
So I run into this issue that Enhanced Seeking is enabled by default. And I would really like to disable it (long story here). But it seems you can only disable it on the FMS, by adding this setting to the application.xml. But the thing is we are not sure if we will end up using an FMS or not. So, can I disable Enhanced Seeking without using FMS?
seek() reference
View 1 Replies
Oct 10, 2011
At the moment i am using vlc to transcode my video realtime and display the output through Flowplayer.The problem is that I am struggling to seek using flowplayer my time gets out of sync between the stream and flowplayer and there are a few other issues.Are there any streaming servers that allow for real time transcoding and allow for a flash player to seek.
View 1 Replies
Dec 23, 2011
Normally we use NetStream.Seek method but it will make the seek after the buffer area crossed the seek time length.(HTTP). Can we seek the video that is beyond the buffered area like youtube in red5. Will it start the buffer from the seek point.
View 1 Replies
Aug 26, 2009
I am trying to achive is the "SEEK" effect that you find on YouTube. Like suppose the Video is 20 Minutes long and only 5 minutes are loaded and if you click on the 15th minute, the video will start playing from that point.I saw a PHP script some time back which would return the "FLV" which starts from the point which is requested to the PHP Script. I didn't bookmark that I don't know why and it was really long time back.
View 2 Replies
Jan 20, 2011
Here's what's going on: I have an F4V file loaded into a SWF. There are no real playback controls -- nor do I want any. I've created a "skip" button that's supposed to a) pause (or seek to 0) the video, then remove the video from the stage. It seems I can either pause the video OR seek to zero, but not both.Here's what I've tried:
Code:
function seekTo (num:Number):void
{
[code].....
View 3 Replies
Jun 26, 2011
I have a flv video file that I imported it on the stage and it plays on timeline. I have written a code that on mouse movement on the stage, the video plays from start to end ( mouse movement from left side of the stage to the right side )
Code:
stop();
stage.addEventListener(MouseEvent.MOUSE_MOVE,stageMovement);
function stageMovement(evt:MouseEvent)
[code]....
The problem is the sound doesn't play in this way. What should i do ?
View 3 Replies
Mar 9, 2011
Ok perhaps ive bitten off too much here...I know you are not supposed to parse xml/html to regex but the thing is there just arent many other options.Im using AS3.im parsing the source of textflowlayout text to a different format.
string to parse :
< fontFamily=Verdana encoding=unicode fontWeight="bold"> some text < fontFamily=Verdana encoding=unicode > some text < fontFamily=Arial encoding=unicode fontStyle="italic"> some text < fontFamily=Arial encoding=unicode fontWeight="bold" fontStyle="italic"> some text
what i really need is:
< fontname=Verdanabold encoding=unicode> some text < fontname=Verdana encoding=unicode > some text < fontname=Arialitalic encoding=unicode > some text < fontname=Arialbolditalic encoding=unicode > some text
logically i think of it as taking apart the string into substrings
checking if there are fontWeight or fontStyle in the substring
if there is then appending the font name with the weight or style so so that the font name becomes font NameWeightStyle.then rebuilding the string.The font could be any font with variouse styles or weights..so far:
pattern = /<(.*?)>/gixsm;
var matches:Object = pattern.exec(str);
var finalstring:String = "";[code]...........
View 1 Replies
Mar 11, 2012
I'am looking for a flv/video player which allow to seek for not loaded part of the video,just like on youtube.
View 1 Replies
Jun 23, 2010
I need to get H.264 videos streaming. I've gotten the mp4 file playing and buffering, which is great, but when I try to seek ahead to a part that isnt buffered, the video stops, goes to the start of the video, and will no longer play. FLV files behave exactly as I would like them to, meaning they go to selection position and start buffering and playing from there. Here is my progressiveSeek function:[code]keyFramesSeconds and keyFrames Bytes are just arrays that hold the metadata for the seekpoints. This function, when called on the H264, goes to the beginning and stops the video, but when called on the FLV, does what I want. How can I do progressive seek for an H264?
View 7 Replies
Jan 12, 2011
I have a VideoDisplay instance playing some video. When I click on the video slider (also my component) the property videoDisplay.playheadTime is set and the videoDisplay.state goes from 'playing' into a 'seeking' state for a brief moment (the videoDisplay seeks for a new position and then plays the video again). Intended bevaiour. But if I'm (or any random user) fast enough, I can set the playheadTime again while the player is still in 'seeking' state. When repeated several times every click is enqueued and the videoDisplay jump on every place of the video I have clicked(this is happening in an interval about 10-15 second after my last click). When I use live dragging the videoDisplay, overwhelmed by seekings, goes into 'error' state.My question is - is there any way to cancel seeking state of the VideoDisplay class? For example player is in 'seeking' state, I set playheadTime, and the player forgets about last seeking and try to find the new place of the video.
View 1 Replies
Mar 14, 2011
I have a flvplayback component onto which I am loading a video. To mimic next frame and previous frame actions I am adding cue points to the loaded for every second of its length. The next frame /previous frame functions implement seekToNextNavCuePoint and seekToPrevNavCuePoint on the video. But its not working the way I expected it to.
Here is the actual class file. You can directly compile it with an fla file containing button instances in the library for play pause stop... Also you would need some sample flv file.
[Code]...
View 3 Replies
Nov 4, 2011
I have a "video on demand" video that I'd like to seek at any point of the video. It's playing on a Motorola Xoom tablet. I can seek to the beginning of the video when the playhead is near the beginning. However, if I the playhead is towards the end of the video and I attempt to seek to the beginning of the video, the video seeks many seconds after the start of the video. I thought this might be a buffering issue, so I set inBufferSeek to true, but I still have the same issue.
View 2 Replies
Mar 12, 2010
I'm creating a flex-based video player, using the FLVPlayback component (imported from Flash Pro CS3). I've reskinned all of the player controls and linked them in, and it's all working really well...However, if you try to seek beyond the point where the video has loaded (it's using progressive download), the video completely freezes. You can no longer pause, play, seek to somewhere else, or anything. I understand it can't actually play a point in the video that hasn't been downloaded, but the whole thing seems to just become unresponsive
View 1 Replies
Feb 27, 2011
I am working on a system that requires me to be able to load large video files using Flash. However, the problem I am running into is that users need to be able to seek to a random point in the file that may or may not be downloaded yet and have it instantly start playing (think Youtube). The video files can be hosted anywhere, and thus I do not have the ability to install policy files or anything of the like.
I have looked into this, and cannot find any answers. Does anyone know of a way to enable this random seeking in Flash files without policy requests or an RTMP server installed at the destination?
View 1 Replies
Apr 8, 2011
I have an Embedded (synchronized with timeline) clip in a flash movie.I am controlling the currentFrame of the clip by dragging a slider left to right (to simulate rotating an object).The problem is when I go forwards, motion is smooth, but if I drag to the left Flash cannot seem to efficiently play back in reverse and the motion is extremely jerky.Obviously I'm skipping frames depending upon the position of the mouse, but there is a very noticable lag when currentFrame is decreased vs. increased. Is there a way to optimize an embedded timeline clip for reverse random seeking like this?Possible solutions (untested) :Use video instead of embedded - I would expect this to make the situation worse though!Create a second reversed video for when scrolling to the left. This would probably double the file size.
View 2 Replies
Feb 24, 2011
Here's my function:
ActionScript Code:
private function onTrackClickHandler( e:MouseEvent,trackWidth:Number):void{
mps.mediaPlayer.seek((skinControls.trackBg.mouseX/trackWidth) * mps.mediaPlayer.duration);
[code].....
View 0 Replies
Jan 13, 2011
The following ActionScript 1.0 code no longer works in CS5:
productList.setChangeHandler("listchange");
listchange=function(me) {
gotoAndStop(me.getSelectedItem().data);[code]....
This code takes the value in a clicked cell within a List and positions the playhead on the frame indicated by the value. The label is a simple string and the value is the name of the named frame.I know that I need to use an event listener,
View 1 Replies
Aug 6, 2009
I just ran into an error I haven't come across yet. The player's seeking bar turned pink and so does the volume control. Don't know what would have caused it. That's what it looks like. And the link is the errors I'm getting when the movies finish playing. I don't know if that as anything to do with it. I tried to narrate what I was doing. [URL].
View 2 Replies
May 19, 2011
I may be mistaken, but it appears that Facebook only supports friend-selector dialogs within a request/invite form. I take that to mean that since our app is just allowing the user to arrange a subset of friends for display within the app (no message to the friend), we must use something that isn't available from Facebook. It would be nice to know if I'm wrong, but important to have some clear pointers on how to get a friend ID back from the dialog without an invite or request getting sent to the friend.
I've searched for solutions and the closest I've come is a description of something that implements what I want offered for license by Mike Knoop. I've tried making contact, but still don't know whether the code (or license terms) will work. It would be really nice to have a solution that was more open, but any pointers to widgets/libraries that include this capability
View 1 Replies