ActionScript 3.0 :: Setting Source Of FLV Player As Variable - Error Report
Jan 19, 2010
I have an FLV player on the stage. I'm setting the source (flvplayer.source) as a variable. When the proper file is in the right location it plays perfectly. I'm trying to set up an error report that is generated when the source FLV isn't there. So far I have:
import fl.video.FLVPlayback;
import fl.video.VideoEvent;
import fl.video.MetadataEvent;
import flash.events.IOErrorEvent;
flvPlayer.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
function ioErrorHandler(event:IOErrorEvent):void{
trace("error");};
This doesn't work for some reason. The ioErrorHandler function is never run.
View 9 Replies
Similar Posts:
Jul 21, 2010
ok, so a couple of months ago, while using Flash CS4, I started getting this unusual bug where the application would terminate, no error report dialog, no system reports, I didn't even get the satisfying *doonk* sound that Windows likes to make every time you try something Microsoft haven't thought of yet.
[Code]...
View 1 Replies
Dec 2, 2010
I had to add the cuepoints after setting the source.Iam trying to use cuePoints on a flvPlayer component but it wont work for me.I have a flvPlayer 2.5 in my timeline (vid_mc) and this code:[code]
View 1 Replies
Apr 23, 2009
I have a question about setting up an image array from an external source. I have the following action script and would like to edit it so that it reads from an external file. Either TXT or XML. how to edit the array action.
CODE:
spacing = 10;
image_array = ["image01.jpg", "image02.jpg", "image03.jpg", "image04.jpg", "image05.jpg", "image06.jpg", "image07.jpg", "image08.jpg", "image09.jpg", "image10.jpg", "image11.jpg", "image12.jpg", "image13.jpg", "image14.jpg",
[Code]......
View 3 Replies
Dec 10, 2011
I'm pulling in a xml-file with just one result in it. One of the nodes is picture, which contains a link to a picture. This is the xml-file:
<artist>
<id>502</id>
<name>Bad Religion</name>
[Code]....
I've tested the url, and it's correct. This is how I try to bind the url to the image instance (artistPic), but it's not working. Displaying the artist name does work.
var artist:XMLList = new XMLList(event.result);
artistPic.source = artist.picture;
lblArtistName.text = artist.name;
View 1 Replies
Jan 15, 2012
I have a mobile application that has a Text Input used for searching. Below the search TextInput is a StageWebView. When I set the source of the StageWebView using loadURL() the key input is shifted to the StageWebView. How can I prevent this?
View 2 Replies
Jan 27, 2009
I am having some trouble setting relative package source path in the ActionScript Settings Flash CS4.Below is the folder structure on my computer.[code]The only way it will work is with an absolute path like /Users/ jenrosamond/Desktop/Tri-Template/classes.This project is getting moved around to several different machines though, so that absolute path isn't going to work.
View 1 Replies
Jul 15, 2010
I've got a number of related projects set up in Flash Builder. Each project gets its graphical assets from an exported SWC file (or multiple SWC files.) This works fine, but I wanted to create a shared project that contains stuff used across all projects. The first item in there is a screen with a number of clips containing dynamic text fields on them. This screen (and associated assets) are exported to a SWC and then I have written code in the shared project to add functionality to the screen and buttons. I'm using 2 fonts, both are embedded.
Both show up just fine in my test harness, but when I link the shared SWC and src folder (which is required in order to use this code/assets in the other projects) the textfields blank out if I try to set their text properties. If I leave the default text (set in the FLA) it shows up, and the static text fields in the FLA also show up, it's only when I set the text property.
I've tried a number of combinations, including removing embedding, exporting for ActionScript, setting all textfields in the shared project to dynamic, all with no luck. The main project does have the same font embedded, and I've checked that the same glyphs are selected in both the main and shared projects. I realize this is a rather complicated setup, but I have yet to find a workflow to allow a designer and developer to work on large projects that is better (but I'd love to hear one!)
View 2 Replies
Jan 14, 2010
Are there any cs4 source files anywhere for a simple mp3 player? I looked in the components for a mediaplayer component and I don't see it.
View 1 Replies
May 25, 2010
I am looking for an open-source iTunes style media player that I can use as a base for functionality I would like to develop. I am quite keen on Flex/Air, or C# or Java will do for languages.
View 3 Replies
Jul 28, 2010
Need to customize the scrubbing code for an flvplayer. I'm aware of the OSMF project, but I need to target FP9.
View 2 Replies
Jun 15, 2006
i'm trying to source a flash front end mp3 player, setup so that the user can change what songs play simply by changing lines in a text file (or similar, even something like 1.mp3, 2.mp3, etc). Whatever works.
View 4 Replies
Mar 18, 2009
I've created a custom video player which links to a specific Video with:
theVideo.attachVideo(ns);
ns.play("videoName.flv");
I have a client who wants multiple players on a page, each playing a different video. The tricky part is that they want to be able to add videos to their website with this custom player on their own, without having to go into the flash file.
Anyone have an idea or where I can find out how to do this? I dont' think XML would work, because it would still have to call a specific node inside flash...and this one swf should be able to work with any .flv they want.
View 2 Replies
Sep 11, 2011
I'm trying to create a webRadio player, wich different sources. On a click on a button, the player plays the corresponding flow. I would like to display some informations, like : current music, url, description, I think it's possible to have all those informations, because when I play my. files in my audio player (winamp), I've got them. Here is my code corresponding to this part :
[Code]...
View 4 Replies
Nov 7, 2011
Is the source for the demo player bundled with the FMS 4.5 install, available somewhere? It looks like a useful tool to debug playback of streams and I was trying to to see if I could port it to Air for IOS and Android for the purposes of evaluting the playback quality of various sample video files.
View 2 Replies
Oct 24, 2010
I'm basically looking for something that can play/stream a variety of formats if possible (or if not, to have an easy way for non-technies to convert them to the desired format). I'm also looking for something easy to setup - like including a javascript tag at the top of the page and then perhaps using a div, or just 1 line of script code to make it work. If it's flash, then have to be simple to setup too.
View 2 Replies
Sep 9, 2011
Any list which folders need to be excluded from a Flash Builder project when adding it to source control. E.g. bin-debug folder which is automatically generated when the project is compiled should not be in source control and etc.
View 1 Replies
Jan 17, 2010
Am I asking too much when looking for an open source Flash Player or AS3 compiler? C would be best if possible...
I found one player, but it's only for AS2.
View 3 Replies
Aug 30, 2010
I need to find a flash video player that is free and open source. I love flowplayer and jwplayer but we fit into their most expensive licenses. It will cost us over $1400 to license flowplayer for our use. We don't have that right now.
I just need a flash player with a basic javascript api that is truly free. I have been googling for hours and nothing so far.
It would be a huge plus if someone knows of a chromeless youtube player that uses the youtube as3 api. I don't have time right now to code an entire chromeless player complete with all the controls and a progress bar.
View 2 Replies
Aug 17, 2011
I am using OSMF-Strobe Player for videos and I am trying to put my company's name below the video player as in the picture. how do I go about doing the same ? I dont have much knowledge about actionscript but with some online tutorials I can always manage.
View 0 Replies
Jan 6, 2011
I'm completely new to Flash and actionscript, so please bare with me. But I'm in a bind, so I thought I'd give this a shot.I'm needing to play a commercial before playing an actual video on my company's website. Once the commercials ends, I'd like for the video to start automatically. Is there an open souce (free) flash player that will let me do this?I've watched a tutorial on how to do so, but when I try to make it work with a player, it never works.
View 1 Replies
Jan 12, 2011
is this possible in flash cs5?
var loc1:String = "fonts/swfit.ttf";
var name1:String = "SWF!T_v01";
[Embed(source=loc1, embedAsCFF="false", fontName=name1, mimeType="application/x-font")]
var swfit:Class;
Font.registerFont(swfit);
ofcourse i am getting error:
unable to resolve 'loc1' for transcoding
View 1 Replies
Jul 15, 2011
I keep getting a 'cannot contact reliable source' error when trying to install Adobe Flash Player 10.3.
View 4 Replies
Mar 23, 2010
I've frequently used variable names for the target but is it impossible to do this:[code]I can't get it to work and I haven't been able to find an example.It doesn't work without the square brackets either.
View 6 Replies
Jul 15, 2009
I am stuck in custom video player for a long time. The original example of the thumbnail buttons are jpg image. They work. However, instead of stable place of the thumbs, I changed the thumbs to swf file with motion.
I got the error.
Select allVideoError: 1004: Invalid source
at fl.video::NCManager/connectToURL()
at fl.video::VideoPlayer/[URL]::_load()
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/doContentPathConnect()
at fl.video::FLVPlayback/set source()
at MyVideoPlayer_fla::MainTimeline/playVideo()
Here is my AS3 code
Code: Select allimport fl.video.*;
var thumb_width:Number;
var thumb_height:Number;
var thumbs_x:Number;
var thumbs_y:Number;
var video_x:Number;
var video_y:Number;
[Code] .....
View 2 Replies
Jun 21, 2011
i downloaded a swf file by name 34057.swf & decompile it for source file with sothink.But when i run source file. it show Compiler error.description: 1084:Syntax error expecting identifier before 34057
Source
package 34057_fla
This is the code
package 34057_fla
{
import flash.display.*;[code]....
View 2 Replies
Oct 7, 2009
I'm having issues with this array I setup for a MP3 player I am creating. First I'm trying to plug in the array in the URL Request, not sure if I need a for loop. Also in my onComplete Function below, I want once one song is finished in the Array, the next item in the array plays or if there are no more items left it goes back to the first item in the array. Not sure if I am setting this up properly
var songArray:Array=["song1", "song2", "song3", "song4", "song5", "song6"];
var songReq:URLRequest = new URLRequest("mp3_files/song" + songArray + ".mp3");
var song:Sound = new Sound();var channel:SoundChannel;var pausePosition:int = 0; // var
[code].......
View 2 Replies
Jun 13, 2010
I have a html page with some links to mp3 songs.I would like to set things up so that when user clicks a mp3 link, a small flash mp3 player (embedded in the page) starts playing with that songs. The user could click on another song that would replace the last one at any time and have basic controls.
- flash mp3 player - need 1 that has start / stop and volume buttons (simple)
BTW: I set this type of thing up in the past with a frameset - top had quicktime player embedded - and bottom song links went to top frame - all was fine but kind of bulky.... looking for something a bit slicker...Also would like to do the same for flash / quicktime videos, Also if there's something free or close to free that is a jukebox type where the song list is part of flash,
View 2 Replies
Jan 9, 2011
I asked Google. But there is no working answer for it. I checked "right click -> global setings" and found no proxy setting in [URL].. Can anyone know how to configure proxy settings for flash player?
View 1 Replies
Jan 5, 2012
I have a flash music player at ith a Facebook like button.I've set OpenGraph meta tags in order to specify the url of the flashobject :
<meta property="og:video:type" content="application/x-shockwave-
flash" />
<meta property="og:video" content="http://www.etiennechampollion.com/
[code]........
View 1 Replies