Flash :: Load And Play A Cdg File (karaoke)?
Feb 26, 2010I am searching for a way to load and play karoke files "cdg"The loading part is easy the difficult part is interpreting the byte array that i get after loading the file...
View 2 RepliesI am searching for a way to load and play karoke files "cdg"The loading part is easy the difficult part is interpreting the byte array that i get after loading the file...
View 2 RepliesCould somebody give me any example or open project about using PHP and Flash to make a Karaoke system?In fact, I've found one example, but not sure whether it uses AMF-PHP or Flash Remoting.....
View 3 RepliesI have been searching the web and all of the codes I have found are to play external swf files that have a timeline. The file that I am trying to load does not have a timeline. I am using the Flixel framework for this project and the file that I want to play is also made in Flixel(don't have the source file just the swf file).Most of the code I have is from a cutscene template that I found on the Flixel forum. Here is what I have so far:
package
{
import org.flixel.FlxState;
import org.flixel.FlxG;
[code]....
When I run this I get this error: Type Coercion failed: cannot convert SponsorsState_SwfClass@fb5161 to flash.display.MovieClip., all I want to do is play the swf file for a set frame count then move onto the next state.
Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?
View 1 RepliesI bought a ready to use mp3 player /shop solution ( Paypal ).Buyer gets the link to the loaded ( player ) mp3 file after successfull payment by email.Need to feed the player with only a part of the mp3 file, but taken from the full length mp3.
I cant simply load a pre-cut mp3 into the player, as the buyer will get the link to the file which loads into the player after buying.how to call just like the desired seconds to play from the track ?
I am trying to work out a way to achieve the bouncing ball effect over text known from karaoke players? I would like this to be done programmatically with actionscript, so the ball follows the text and the soundfile (looking for pauses or DB rises?maybe not). I have heard its a question of finding the right algorithm? Its use will be in a language lab-like flash app based on Communication server, where the user can :
1) Hear the correct pronunciation of a sentence (with bouncing ball over text)
2) Record their own voice
3) Compare the two
I need to know how to load and play a sound from within a CLASS definition file. I know the normal way of doing this, but Flash MX rejects that syntax, so there must be some special way of using sounds in a class file.
I need to know how to code for "if the score increases by any value." So, if the score goes from 0 to 1, the sound plays ONCE. If it increases from 1 to 2, the sound plays ONCE again.
What I need is an AS code for a button which first play an animation ( a motion tween) and then load an external swf file.
View 2 RepliesI am trying to do semi animated read-along online storybooks for kids and I would like to display the story/narration karaoke style so kids could see the story and be able to read along. I have been looking at karaoke software to do the text and voice synchronization and so far haven't had that much luck.
Synchronization is very important. I don't want to simply do an animated color mask over the test and have the text change color. Besides there are plenty of books I need to convert and the process needs to be simply automated and executed. Here is an example, [URL]
i want to load and play a swf file form a specific frame number
So when a swf finishes i want to load another swf file from frame number 6430.
Is it possible or not
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 RepliesI have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);
View 7 RepliesI am having some problems showing my videos in flash after moving it anywhere besides my computer.
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.
I am doing a website for my brother, and he created a movie, which he sent to me as a flash movie. I have it on the first page of the site, as an intro. ([URL]). What I would like is that the whole movie loads before it starts to play.
View 2 RepliesAll I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?
View 3 RepliesI would like to run a .swf file into an existing flash file, but the dimension size of the .swf file is too big. I am a beginner to flash and not sure of the steps to execute this. Would anyone be willing to walk me through the steps to import the code?
View 1 RepliesI am migrating from Flash MX to Flash CS5 Pro. Is there a way to load a movie into the flash player and play it to a viewer without installing the adobe server software and the price that goes with it? Is there a way to just have the movie file stored on the server and just get the flash player to call the file and buffer it?
View 5 RepliesIf you have an flv of 20mb, does Flash fully load it before starting to play it? And if not, what's the difference then with streaming video?
View 1 RepliesI'm trying to load an xml file from via http into my flash 8 file. Locally it works fine but when on the server it fails. I assume this has to do the flash security sandbox. How do I get around this. I own the servers so is there some sort of fix that I upload to allow the swf to receive the data?
View 1 RepliesI am trying to load a txt file into flash by putting the url in an xml file. The XML file is structured like this:
HTML Code:
<pic>
<image>pictures/AW0001.jpg</image>
<description>text/AW0001.txt</description>
</pic>
Now I load it into arrays in flash: image[0] and description[0]. The images is displayed the way I want to, the thing is I want to pass on the url that is in description[0] to a loadMovie or something like that. If i say desc_txt.text = description[0]; it will just show AW0001.txt in flash. I've also tried this with load and loadVars but I can't figure it out.
The problem I have is simple: the play and load functions doesn't work in flash CS4 as defined in the documentation: URL...So to speak, I can only define like this: URL...My flash player version on all 3 fla files that I use is set to 10.And now with the GREAT issue I can't set startTime for the video and this is just GREAT.
View 6 Repliesi need to steam an .ask file form an remote site is it is possible to do in flash ......
View 1 RepliesI am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....
I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?
[Code]...
Has anyone seen a Flash video player out there that will load and play two videos at the same time, such as for comparing videos? A potential client is looking for something along the lines of this. I've not been able to locate anything out there,and I'm wondering if there's a usability reason for this...Obviously, you wouldn't want the audio playing for both at the same time, and the bandwidth issue for something like this might be a concern too. My feeling is that you wouldn't want to restrict a user to just playing both videos at once, but give them the option to play them separately or at the same time, with controls for each audio and playback.
View 1 RepliesI'm trying to load a jpg file that is outside my flash SWF file and I've tried this code:loadMovieNum("1.jpg", 1);
View 5 RepliesIf you go to the website: [URL]. The white square is my embedded flash swf file, but as you can see it isn't playing. In Flash, when I test the movie, it plays beautifully. When I put it on my webpage, it's just blank. What bothers me is that I embed Flash swf files frequently with zero problems. The only difference is that this is a video. The swf file is properly uploaded to my server. I've attached the swf file for reference.
The html is:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240" id="FlashID" title="TDR">
<param name="movie" value="intro2.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
[Code] .....
Attachments: intro2.swf (49.6 K)
How to play .wav file using as3 in flash through the url?
View 6 RepliesIt is very difficult to find good resources for Haxe informationI have an FLV movie in the same directory as the SWF I am generating. I cannot get the FLV to play. I can get this working in AS but I need to know what I am doing wrong in my Haxe code.
var mc:MovieClip = Lib._root;
var connection:NetConnection = new NetConnection();
connection.connect(null);
[code]........
Here is my code
onFrame (1) {
mySound = new Sound();
mySound.loadSound("http://www.mysite.com/spot_mixdown.mp3 ");
mySound.start(0, 0);
}
that play .mp3 file from my website at the first frame. It's work for me!
But when I update spot_mixdown.mp3 (change sound inside but use same filename) on my website and then reload webpage, a sound is not change.