I am doing a mobile application using air and as3.0. And I am using two databases - one is mysql for online data access and another one is sqlite3 for local data access. Once I download a song from server database, it should store in ApplicationStorageDirectory in the folder named "tracks". All the songs are in mp3 format. Finally my question is... How can I save mp3 files in ApplicationStorageDirectory and How can I play those files by referring to the ApplicationStorageDirectory path?
I have recently "inherited" several websites that feature 1 to 10 minute video animations in SWF formatOne of my challenges is to get these files to appear or play in a timely manner so that the viewer does not loss interest as it is loading. My questions will start with file size.reduce or minimize the size of published SWF files while still maintaining high quality video output? Second, how about this business of preloading.I don't really understand that term but my thinking is that if a large movie could be loading while another, shorter, movie is playing, or a graphic displaying, that this could be useful in my case. Lastly, how about streaming in general. Are there ways to optimally use a given download speed to efficiently stream SWF video?
I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. the technique that can be used to develop swf player.
What I want is to open start.swf, have it embed moviecontainer.swf which has a FLV playback object that loads in the movie.flv. When I check my moviecontainer.swf, it runs properly. But when I use start.swf it loads moviecontainer.swf (because I can see it has the background and all) but the movie won't play (and I think the buttons don't work anymore)
I have saved both .swfs with the "Local files only" option. I have no idea what the problem can be, as I said, I'm no Flash pro and I have no experience as to say "oh it looks like we got that xyz problem.."
I just upgraded to Flash cs5 from studioMX and find that cs5 won't play swf's from my old files properly.Does anyone have a fix or work around. I downloaded the lastest upgrade from Adobe's site and it still isn't working.
I have 15 movie clips that play one at a time. When the first one calls the second movie clip there is a short space (black screen) between the two which I have to eliminate. I tried loading the second one half way thru the first movie then tell it to play when the first movie is over, but when I do that you can see a disturbance in the first movies performance when the second one is pre-loaded. Is there a way around this so I can make 15 movies run seamlessly? They are separate .swf files!
Ok so I have a flash banner I am working on. It is basically 3 flv files. 1 for the main content, and 2 for the background.
What I want to do is load in the first flv for the background, as soon as it is done playing I want to play the second flv, Then once the second flv is finished playing I want it to loop continuously.
The main content flv will then be layed overtop of this and play through once and stop while the background continues to loop.[code]...
I am developing a VB.NET Windows application that plays SWF and FLV files in popup windows.
The user presses a button on the main application form, a window pops up, and the Flash media will then play (in theory).
I was successful in getting SWF files to play. First, I added the Shockwave Flash Object AciveX control to my toolbox (VB.NET named it AxShockwaveFlash1), and then double clicked it to add it to my popup form. Then, in the startup routine for my popup, I added the following lines to play my SWF:
I attempted exactly the same approach using a separate form for an FLV file, this time of course setting the Movie property of the Shockwave Flash Object to "path/filename.flv". In this case, the FLV file did not play. There were no error messages, but just a popup screen with nothing on it.
I have three flv files that I need to play sequentially, one right after the other in the same location (box) in an html document. I have segmented the video because of it's size. Does any one know how I would make this happen or where I can find some sort of tutorial that can assist me with this? I also have another project in which I have 4 animations that I want to play in sequence but they are in different locations on the web page.
I've made several FLV files and they all pause while playing. A 3 minute video 640x360, 37MB will pause 4 times. If I open the page and let it sit about 3 minutes before playing the video, then it will play smoothly but since no one will ever do that I must resolve the issue. Also, once it plays all the way through, then it will play smoothly, but again, I need it to play smoothly the first time someone clicks on it.[URL]..
I want a swf file that will play other swf files one after the other. They are swf, not video files, as I need to change everything on the page when the video stops playing. So, one swf opens with a custom page - plays a video - and then the next swf will open and do the same thing. There's much talk about 'typing stop(); on the last frame of a video" - As far as I can see - everything is automatically sitting on a single frame in Flash - whether it's scene 1, or I open the movie file - the movie is all playing in one frame. If try to simple put different material on a second frame, it loops back and forth between one frame of each movie (it will change the background, and video - but I get only ONE frame of each movie - not the full movie before switching).
I want to have an AS3 app load images from url supplied by the user. But I don't want a malicious user to be able to load an SWF file in place of the image, such as with an altered extension "maliciousSwf.png". Well, not sure how big a security threat that is above and beyond the ability of the hacker to decompile swf, but I think that ideally such behavior should not be allowed.
So, is there any way to prevent this? When people allow users to load images in their Flash apps, do they somehow guard against loading of SWF? Or is this really absolutely no big deal?
As more and more FLV videos are moving to HD, I'm noticing high CPU usage and lots of dropped frames when playing FLV video in web browser with Flash 10. This is true even if the video isn't full screen. I've tried a variety of browsers (Firefox, I.E., Chrome) and the problem occurs on all of them so it's pretty clear it's a limitation in Flash.
Now my PC isn't high end (it has a Pentium M 1.86 GHz processor), but I can take those same FLV files and load them in something like Media Player Classic or Windows Media Player (when using ffdshow) and play the FLV files full screen with little or no drop in frames and an acceptable CPU rate.
This is especially annoying on sites like YouTube where I actually have to save the video and play it back in something other than Flash to have it play back at an acceptable rate. This doesn't work for other sites like Amazon.
Why is the CPU usage so high when decoding and displaying videos when compared to other media players?
I dynamically loaded swf files through loadmovie, into a main movie which has six scenes. I made a button to go from scene 1 to scene 2, and when I go to scene 2, the swf continues to play from scene 1. How can I stop the swf from playing before it goes go to the next scene. I need to stop the swf when it exits scene. What's the easiest way this can be done. I'm using Actionscript 2.0.
I'm currently working on a project where I mix animation sequences with short videos. My project also has two scenes and the FLV will be placed on the main time line of the second scene. The problem I am having is, if the movie is previewed from the first scene, or exported, the FLV on scene 2 won't load. the timeline on the playhead will just spin. I'm currently using "Load external video with playback component" as the method for importing the flv file.I have already worked with this video multiple times in other flash files and have never had a problem loading the video. Is there a limitation to FLV playback in multiple scene movies?
I thought that FMS3.1 supported f4v files but I cannot get mine to play. It says it cannot find the stream specified but the file is right where all my other files are that do play fine (both flv and mp4 files). Am I incorrect in thinking that FMS3.1 supports f4v files or do I have the wrong code?
I'm using Flash CS4 and I have a jukebox coded in AS3 to play songs 1-4.
If I click publish preview>Flash, everything works fine. The songs load, play, and can have their volumes adjusted.
If I export a swf file and the associated html file, along with the songs in the same directory structure as they were on my computer (in an audio folder in the same directory as the swf), the graphics show up, but the music doesn't play when I click the song buttons.
what I may have done wrong to go from a working publish preview of flash to a non-functional swf and html on the web?
I'm new in FMS Recently, i create an application to record videos from my camera and recorded it But, when i tried to play it in an HTML, i met errors. The .flv jumps to the end when the progress is in the middle.And i tried to play in an .exe, it plays well.
I have several SWF files which are essentially little trivia files, provided to me by a 3rd party. They are individual files that number about 20. I am wondering, how can I play this as a list; like a playlist, and then loop back to restart? I'd like to do this in the stand alone player however it can only seem to load 1 file at a time. How I might look to accomplish this looping playlist?
I have the following to play my FLV files and can't seem to read in cue point. Here is what I have:
Code: var myVideo:Video = new Video(); addChild(myVideo); var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); [Code] .....
I have 10 to 15 different exe files which I want to play one after another, is there any way to play them. Do I have to make the batch file and play the exe file.
I would like to play external .swf files which will be located in a specific directory somewhere and I will be getting the filenames through a sharepoint XML file. The .swf files have no interaction at all they are just videos playing but I need them to play one after another and in a constant loop until the XML file changes.
I am bulding a slide show with syncronised audio I have aworking version which will load a series of jpgs names 1.jpg, 2.jpgand a series of mp3s (1.mp3 etc). The problm comes when I wanted toadd play and pause buttons.It works until on the second audio file if I click pause thenpay it goes back to audio file 1.mp3. Can't for the life of me findthe right code
I cannot get my sample program using the FLVPlayback component (using as2) to play back FLVs that are still in the process of being recorded. I have no problem playing back FLVs that are complete. Is this a practical limitation?
In my .smil file, if I put this line it works: <video src="sample.flv" system-bitrate="150000"/> But if I put the following line it doesn't work: <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/> Both video files are in the webrootvod folder. I am using the sample dynamicStream.smil code, so my syntax should be right.
I am trying to make a picture gallery where each image is contained in its own .swf file and loads with a button click.The gallery works fine but I would like for each image to transition in and out,or play the timeline of each swf.I have a stop action in the middle of each swf so the image tranisitions in and then stops but when another button is clicked it immediately loads the next image and doesnt play the rest of the tmeline and transition out. Here is the code I used to load the swf files.
stop(); var movieName:String; function movieLoad(event:MouseEvent):void[code]........
There are some recorded flv files. The guy in the video is showing numbers with his hands. (1.flv, 2.flv, 3.flv etc) And there are live idle videos. In these idle videos the guy doesnt do anything.
I need to be able to click 1 as the operator and viewers should see the guy make "1" in the video. Actually I have accomplished so far. It works. I do this:
If the operator selects a video it adds the video to playlist: stream.play(filename, -2, -1, false);
Also have this event handler to play a random idle video when there are no more action videos lined up:
function onStreamStatus(obj) { if (obj.code != "NetStream.Play.Stop") return; switch (obj.code) {
[Code].....
So it is working so far. Problem is:
As time goes by there appears to be a delay between I issue the play command on the stream and I actually see it in the video on client side.