ActionScript 2.0 :: Video Player With Differing Translations?
Jan 22, 2009
I'm creating a video player with differing translations. It'd be nice to make it adapt to the user regarding language and connection speed.From the looks of it I'm going to have to have differing text fonts for different languages, may have to embed fonts to ensure its rendered just encase.I've looked into IP localisation although its says its not accurate, yet user interaction seems more apt.Also I have two videos dependant on connection speed, is testing the preload time a good indicator?
I'm just learning so I'm sure I'm making many stupid errors. How do you hitTest 2 separate arrays of different lengths, all entries against one another . Code below for guidance.
I have a list of 700 words that I would like to convert to symbols in Flash for a flash card game. I'm trying to make a game where a random symbol from a slice of the array of symbols will come into game play until the user performs an action.Basically, I'm wondering how I can create an arrayed/indexed library of symbols from a dictionary, for a downloadable Flash game. Does anyone know how I could start to script this? Also, if I want to pair a 'word symbol' with its translation, do I need to use a database? Obviously, because it's a flash-card type game I'm working on, the translated symbol is just as valuable as the original-language symbol.
translation API for Flash that can return multiple translations/definitions for a single word.
e.g. fantasy = fantaisie, fantasme, imagination, cration etc.
I've managed to find a few that do one word conversion. Including APIs that use Google Translate as a backend. But can't seem to get them to work so that they return alternative translations if available. The web-based PHP/JS/etc. APIs seem to offer this, but haven't found it in Actionscript yet.
Assuming the nextSound() function looks the same as playSound, typewise... The button click works fine, but the event listener won't call the function because its sending an argument the function isn't expecting. I can change the nextTrack function to be evt:Event, but then the button is sending not enough arguments, and I can't find anything to type it to that will work. I can make a typed function to call the un-typed nextTrack function from the event listener
public function callnextsong(evt:Event):void{ nextTrack(); }
For a current project I need to create 25 versions of 5 different banner sizes. By version, I mean having slightly different content, namely: a different image and different text somewhere in the banner.
Let's, for this question, suppose I'll make sure somehow that said images and texts will all fit fine in the design for that particular size, so that I could create some sort of template per size, with some sort of placeholders for them. What is an efficient method, if any, to automate the rendering of these differing versions per size? Is it possible?
will print "%D0%B4", the correct URL encoding for this character (Cyrillic equivalent of "A").However, if I were to do..
myTextArea.htmlText += unescape("%D0%B4");
What gets printed is:
Ð
which is of course incorrect. Simply tracing the above unescape returns the correct Cyrillic character, though! For this texarea, escaping "д" returns its unicode code-point "%u0434". I'm not sure what exactly is happening to mess this up, but...
UTF-16 Ð in web encoding is: %FE%FF%00%D0%00%B4
Whereas
UTF-16 д in web encoding is: %00%D0%00%B4
So it's padding this value with something at the beginning. Why would a trace provide different text than a print to an (empty) textarea?
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
I'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.
I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.
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
I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.
I was wondering how I can delay (2 seconds) a video to play in a Flash Video Player? I know one way is for me to add blank frames but I would like to know some other options.
With the Flash Player that comes with CS3 and on my PC XP Pro laptop.I want the player controls to appear at the _bottom_ of the video not on top of the video and not under (behind) the video.
- my video is 640 x 480 - so I modified the "properties" tab at the bottom of the screen to 640x480... (it was 550x400) - but that just makes everything larger when I click File > Publish - and then look at the video in Internet Explorer... the Player Controls are still _On Top_ of the video.
I guess I need to learn how to
- Make the stage bigger - Position the Player controls below the actual video
I'm developing a video player for Pure IP multicast video. I'm using the Multicast Configurator provided with FMS 4 for generating the configuration. This is the manifest file generated: <manifest xmlns="[URL]"> <id>Multicast_IP_Multicast</id> <streamType>live</streamType> <duration>0</duration> [Code] .....
That's not working. And I have several doubts about it: 1.- It's not working, and I don't know where is the error. I'm not sure what I should add as parameter in GroupSpecifier constructor? GroupSpecs from manifest file?? "com.adobe.pureIPMulticastGroup"??
2.- I've been watching the multicast.as application in FMS4. The only way of publishing multicast streams in FMS4 is using the configurarion from Multicast Config Tool? Is it possible publishing a stream without the GroupsSpec generated by the Config Tool?
3.- If It's mandatory using the config tools for managinf the pure ip multicast. I would like to integrate the Multicast Config Tool in my platform. Is there any place where I could get the code of Multicast Config Tool? Any documentation about how to build it? This component have any flashvars or callbacks that could allow me integrate it in my platform?
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
We have developed flash video player which needs to playe large videos (at least 500 MB videos).We have some issues in the player right now.I am playing a 100 MB + video, it start playing and say it is buffering upto 50% of that video. Then I am closing that page. If I take that video again, it starts downloading from beginning. It never resume downloading from where it buffered previous time. But for small video files, this is looking ok. Is there any size limit a video player can buffer?Is there any better way to play large videos (more than 500 MB). Any other protocol or any other settings in flash player?
i am just curious if this kind of technology for flash is available.Can a website flash player able to cut specific part of the video and save it as a new video through php and flash.
I have an AS3 video player I've put together using fairly standard Netstream method and it plays my flv's fine. The problem is, the sound quality varies wildly depending on who is looking at it. When I test locally, the audio in the video is fine, but on a windows machine it goes horrifically loud to the point of distortion, also the client (outside the UK) has said it sounds fine to them, so It appears to be only happening here.
My video player slows down the whole browser when downloading the video and I dont know how to prevent this. If you need to see the code, Link to slow video player : [URL]
I have a video player that plays videos loaded via XML and selected using a combbox. I just got the play and pause buttons to work. What I'm attempting to do now is be able to hit next or previous buttons and select the next or pevious video from the XML file, and update the displayed/selected file in the combobox, my thought was to somehow set the previous/next buttons to directly manipulate the combobox, but nothing I've tried so far has worked.
ActionScript Code: import fl.data.DataProvider; var nc:NetConnection = new NetConnection(); nc.connect(null);
I'm doing an Assignment where I have to build a website using Flash and for it to contain 4 video's.How can I have one single video player where the user can select what video's they want played in it from the website?
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
We have an ordinary video player built for Adobe Flash Player that streams a video file and plays it on a browser.However some of the video files aren't clear enough that we need additional video filters like sharpness filter while the others may require contrast filter or hue and tint filter due to its color balance.
The question is, is there any feature that are provided by Flash Player's core video component to apply those kind of filters on the fly at client-side?
I pose this question to you. I have created a video player that functions off of the Video Class, netConnection and NetStream and up until this very moment works 100% as it should.The hang up I'm getting is that I have a onMetaData function that checks ALL of the flv's or f4v's metadata as it is loaded into the player, so i can use it to control some other elements of the player. Here is the code I am using:
Code: my_ns.onMetaData = function (md:Object) { for (propName:String in md){;
i am trying to create a video player in AS 2.0, but I have a problem.My code loads a video, and plays the video, but.... I don't see my video xD.This is my code :
ActionScript Code: var connection:NetConnection = new NetConnection(); connection.connect(); var flux_video:NetStream = new NetStream(connection);
I need to play the 3 video files in a video player. The files should execute one after the other in the flash video player and the files will be allocated dynamically from database.