ActionScript 3.0 :: Load Video Based On URL Parameter?
Nov 20, 2009
So I downloaded this as3flvplayer script, but it hasn't been updated in over a year and has no documentation. It is based off loading the video from XML, but I would like to change it to where I can specify a URL parameter instead.
like: example.com/player.swf?v=video1.flv
Here is the original: [URL]
View 1 Replies
Similar Posts:
Aug 11, 2006
I'm in the process of including a 1 minute .flv into a flash doc. I don't want to stream the video since i want the video to load almost instantly and do not have any room for streaming progress bars also i can't use flash8 and to get video to stream in flash 6 is a pain.
What i have planned to do now was slice up the 1 minute video into 6/ 10sec clips. Put each clip in a seperate external movie which will range from 50-100kb each in kb's. I want to preload the first video and then play it, then in the background load external video2 while external 1 is playing. then play external 2 at the end of external video1 and do the same for the rest of the videos. Its a lot more work but i think this way i can reduce load time and have the video play almost straight away.
What do you guys think? is there a easy way to do it and achieve the same results or should i continue with my concept above, and if i do what i have planned is there any code that you can direct me too that will load a movie / hide it and play when called for?
View 10 Replies
Jul 13, 2009
I would like to build an xml based scroll or purchase one already done, that I can modify the code to look for a unique xml file based on a parameter in the cookie. What would be the best way to go about doing this? Is this even possible? The filename would be unique for each individual user.
View 2 Replies
Jan 12, 2011
Code:
var run:Boolean;
var jump:Boolean;
if (run && jump){
//
}
is flash smart enough to flag the if statement as false based on the first parameter? or will it still process both booleans, even though it is known the if statement must return false based on the "run" Boolean alone. just wondering if its a waste of processing, although trivial at this level.
View 7 Replies
Jul 15, 2010
I need a flash based video player that is able to trigger events I can listen to via JavaScript. The events I need to listen to are:
The play button is pressed The pause button is pressed The video stops (is finished)
View 1 Replies
Aug 1, 2011
I have a situation where I have a List showing a queue of Upload Objects:
[Code]...
I would like to create three different views of the List: One showing All uploads in the queue Another showing only the Upload items with Upload.type == "Update" and another showing only the items with Upload.type == "Create". Another example of this would be on an email inbox, where we could filter "All, unread, or read". I realise I could just create three different lists, one for each view of the list (maybe I'm just being picky) but I was wondering: Is there is any easy way to conditionally select the items to display from a DataProvider based on a parameter (for example type =="Upload") so I don't have to juggle three separate ArrayCollections about?
View 2 Replies
Dec 29, 2008
It's a way to load external swf's with a parameter, like loading them from HTML in form: mymovie.swf?settingsfile=mysettings.xml? Loaded without parameters it works fine, but i tried to load them via URLRequest("mymovie.swf?settingsfile=mysettings.xm l") and i get an error: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
View 1 Replies
Aug 21, 2009
I've built a working video player which uses the following function to select and play one of 50 videos.
function playVideo(e:MouseEvent):void {
if (e.currentTarget == video1) {
vidLink = "http//video1.flv";
ns.play(vidLink);
[Code]...
View 0 Replies
Oct 1, 2009
It's a way to load external swf's with parameter, like loading them from HTML in form: mymovie.swf?settingsfile=mysettings.xml?
Loaded without parameters it works fine, but i tried to load them via URLRequest("mymovie.swf?settingsfile=mysettings.xm l")
and i get an error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
View 1 Replies
Oct 13, 2011
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
View 2 Replies
May 12, 2009
I have found out that one can use an extra parameter in the embedding in order to load another xml other than the default xml file:<embed src="veppa_photo_album2.swf?xml=path/to/custom.xml" ....</embed>I was wondering how i can read this xml file in flash.
View 2 Replies
Mar 1, 2010
I need to pass a boolean (true/false) for load complete, so i can shrink down tons of codes.But its not working.How should the code look like?[code]
View 6 Replies
Oct 13, 2009
I want to load variable with multiple parameter link so i will load it in flash Like i have text file like it :
link1=mylink/youlink/ghe&ghik?dfds.blabla.html
link2=mylink/youlink/ghe&ghik?dfds.blabla.html
so how i can load it in flash?
View 0 Replies
Jul 14, 2011
when uing netsream.seek(), how can i make a new request to the server if the seconds parameter specifies a time outside of the currently buffered video data. I want to seek unloaded time
View 3 Replies
May 31, 2009
I would like to load a video into a video at certain cue points along the main video. Does anyone know how to do that?
View 20 Replies
Dec 14, 2010
Can we skip an optional parameter and assign value to the parameter after the skipped one?
For example I have a function:
public function Dialog(message:String,title:String="Note",dialogsize:int=99):void
{
}
I can easily call the function with a message and a title:
Dialog("HELLO","Intro");
Is there a way to skip the title and just pass in the dialogsize? I've tried it but can't make it work:
Dialog("HELLO",,dialogsize);
Is it possible to skip some optional parameters without using (rest) parameter?
View 3 Replies
Jul 5, 2009
I want to create something similar to "Karrine Cast" on http://www.karrine.com/home/ - something where I can record myself on web cam every week and then upload it and display it in flash. Without having to open up flash and render it into FLV, then import it, do coding etc change my move etc. Something simple, quick and easy to be able to display videos. Is there a tutorial or some sort of premade code that would allow me to do this?
View 1 Replies
Jul 8, 2009
I'm wanting to create a xml based video playlist like the one on the link below. I've searched Flashkit and the web and found a few things, but nothing really close in operation or that I could use.
View 3 Replies
Feb 9, 2010
I have to create dynamic content based on content uploaded to site and I need to know best tools for this.In a nutshell. User uploads images. Images embeded into existing video and animated. New video produced for download So far I have looked at Flash Media Server, Flex etc but not sure what the best tool is for the server side production of content. I know I can produce the custom MXML and AS files based on content uploaded and using the Flex SDK I can render these into a SWF. What I don't know is if There are limiatations to this in the context of what I want to achieve For instance can a product like Flash Media Server do something similar.Transcoding is also required hence the interest in FMS.
View 1 Replies
Mar 30, 2010
I have an embedded video (can't be a separate FLV) named videoMC and I need to move the playhead back and forth by moving scrubberMC horizontally on the stage. Lets say videoMC has 300 frames, I would like this to dynamically calculate based on the total number of frames in videoMC rather than just using 300 as a number, in case the video's duration changes.In mimicking a regular video player I want to have a line graphic indicating the total length of the movie so I need to be able to constrain all scrubberMC movement to that area.
View 5 Replies
Sep 15, 2009
I was curious if it's possible to load a certain SWF file based on the URL that is viewing file. Basically it's an embedded file, so I would think that it'd need to be in the actionscript.
View 1 Replies
Oct 25, 2011
I make my base swf in which I load external swf's. In my base swf I have mp3 player. Everything works fine until I need to load external Video gallery or mmedija.swf. In video gallery I have
import flash.media.SoundMixer;
SoundMixer.stopAll();
to stop my mp3 player sounds and play video files.... But then when load some other files I want to stop playing video files and restart mp3 player.
[Code]...
View 0 Replies
Aug 30, 2010
To display a P2P video chat / screen-share session in the browser are we limited only to Flash?
I think there are HTML5 solutions 'in the pipeline' but I've no idea of timescales. Do you know of any flash alternatives?
View 4 Replies
Nov 22, 2006
I was wondering if any of You can recommend some free/cheap video-chat based on flash?
View 1 Replies
Jul 23, 2009
so i have some thumbnails for a gallery and im trying to make them only appear if the user has loaded a thumbnail for it. i will let the code speak...
if (_root.mainarea.six.galleries[thumbnail].blank.myBytes <= 100) {
_root.mainarea.six.galleries[thumbnail]._visible = true;
} else {
[Code]....
i cant seem to get the operator or the measuring correct. is there some glaring error in the "<=" or something ?
View 9 Replies
Jun 15, 2009
I want to load a set of cuepoints into my flv player, I have 5 flvs and I want a particular set of cues to load depending on which flv is currently playing,
View 8 Replies
Apr 6, 2011
I wanna make a swf movie which changes according to the page that published. I have a wordpress page and it has different (8 languages). On each language page my swf looks the same... I want that it changes in each language page for example it calls a behavior on and it calls another action oni tried this code:
function getURLhttp() {
var urlPath = ExternalInterface.call("window.location.href.toStr ing");
urlActions();
[code].....
View 0 Replies
Sep 22, 2011
I want to deliver HD Video in different bitrate based on enduser's bandwidth.Also enduser should able to change the bit rate like 200p, 700p, 1500p.
View 1 Replies
Nov 3, 2010
I need to load dynamiclly video in flex video player on the web,I'm using standard video player component,when page load a want to load a video in it.I'm not flex programmer
View 1 Replies
Feb 6, 2008
My problem seems fairly simple, however, due to my limited experience with Flash I'm having some difficulty with it. Anyway, here is my problem: i'm trying to use a Photo Gallery written in Flash. The source files for it could be found in the link below:
[Code]...
it's just so strange that merely calling the .swf from the same directory in a different Flash project is totally making this application, useless. As I mentioned earlier, I'm a beginner or less, at Flash, so please bear with me if my problem seems dumb. Nevertheless, my deepest gratitude for anyone that can help me out with this problem.
View 3 Replies