Actionscript 3 :: Play A Specific Part Of A MP3 File Without Loading All Of It?
Sep 20, 2011
I have a project at office which is mp3 player
when a user start a song from any point, the whole mp3 file gets loaded then start to play from the point user selected
so now I need a solution to be able to play the mp3 from a specific time without loading the whole mp3 to be able to do that
(You know like youtube when you click in the middle of a video and it starts to play from this point)
View 1 Replies
Similar Posts:
Apr 22, 2009
I have to swf files.
One is menu.swf and the other is long.swf
Menu.swf has basically a menu and loads long.swf in to it. Long.swf is a file with a very long background, only part of it is displayed at a time.
My question is quite basic- how do I get the menu.swf to load long.swf and go directly to a specific part of the background.
I can get long.swf to go directly where I need it with its internal navigation by using tweenlight, but not from menu.swf.
View 2 Replies
Aug 12, 2008
Is there a possibility to tell flash, that he should ignore a piece of code out of an xml file.I'm asking this becouse our programmer generates dynamicly xml's.these contain a piece of code that makes that flash doesnt want to read our xml.Maybe I could tell flash to ignore this specific string?
View 1 Replies
Jul 14, 2009
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
View 3 Replies
Jul 27, 2009
I have a problem loading a xml file from a specific folder. The main.swf file is in a folder called swf and the xml file is in this sting of folders "photos/portfolio/content.xml".
Here is the code I have now:
// import tween
import fl.transitions.Tween;
[code].....
View 1 Replies
Aug 13, 2009
I was wondering if there was anyway to pause as2 at a specific part of the code. For instance I want to pause for 2 seconds before I enable a button. Most of my code is all held on one frame of the main timeline so pausing the timeline using setInterval is not an option.
So i guess what I am really trying to do is pause a function. Is that possible?
View 6 Replies
Feb 23, 2009
I need to create a tall background, when the user clicks on a button the background will scroll up and down to the area that the user wants to go to. ( I attach an image of how that might look like)
The background is divided in to 4 sections, the way i figure to do this, is to have each section be a different part of the timeline- and what I need to happen is as the user arrives at one of the sections or in that part of the timeline the mc's on that sections start playing and stoping once he/she leaves.
If there is a better way of doing this as well- feel free of telling me- Im use flash about once a year.
View 2 Replies
Feb 6, 2010
I 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 Replies
Jun 29, 2009
I have a swf file "home" that has a series of animations that are button controled.I want part of the animation to be skipped when I click one specific button, for instance.Most of the time I want frame label:"1 out" to play all the way through to the last frame (20) and on frame (20) there is an action sending it back to frame 1and stopping, but I need to have a button that when hit plays frame label 1: "1 out" and continues to frame (19) and does not utilize the action on frame (20) sending it back to frame (1), or in other words playing through "1 out" and then playing "2 out" which occurs on frame 21 without returning to frame (1).
View 6 Replies
Mar 19, 2002
How can I make images load dynamically thru button onto the main stage in the same frame of the main flash movie.
Can I load a movie onto a specific part of the stage?
View 6 Replies
Jul 27, 2009
I've been trying to implement and make classes out of some code that was written in the timeline by someone else; some problems have inevitably arisen. One of these problems is that I can't seem to compile a specific part of it concerning vectors, given that it tells me that there were no property definitions for the variables and that upon importing, these definitions could not be found:
[Code]....
It also tells me that Vector is not a compile-time constant, and its methods or properties could not be found. Besides this, I can't seem to find the definition for BlendMode for applying a filter with the BitmapData draw() method. Below I list the pertinent piece of code for you to be able to help me in case there's something wrong in my writing. Oh and BWT, what does this declaration mean? var i:Vector.<int>=new Vector.<int>([1,2]); I don't understand why the array brackets inside an int Vector.
[Code]....
View 4 Replies
Jun 21, 2011
I have a custom FilterColumnHeaderRenderer with an HBox, inside a Label for the Column Header, a Textinput for the filter text and Label to clear the filter. Now I want that the column sorting only takes place on clicking the title.Currently the I use the sortCompareFunction on HeaderRelease for the whole columnHeader.[code]
View 2 Replies
Jan 8, 2011
We are building a flash website with cms at the back end, and we are allowing admin to put anchors inside a content. Later we created a smaller version of the whole content to display just a small part and then [read more] button. Which add a new layer on top of every thing acting like a popup and it is populated with complete content.
Now we would like to scroll that text inside popup to that portion which [read more] button was clicked.
The most common example inside HTMl is go to top link in footer on most of the sites which move the whole document to top.
View 1 Replies
Feb 20, 2008
I'm trying to make a link from one flash site to another, but not just to the home page of it, but to a specific part of it. For example, I run and am wanting to make the direct links from the websites of the seven artists involved (mostly flash sites) to their specific page on thesite... does that make sense?
View 2 Replies
Jan 29, 2009
Suppose I have 5 links that load different SWF files. I'm loading the first one in the background and I will continue to load the other SWFs once the previous one has completed.Suppose a user clicks link 4 but only SWFs 1 and 2 have been fully loaded and SWF 3 is currently being loaded. Would it be possible to pause loading 3 and skip to part 4 and finish loading that?
View 0 Replies
Mar 16, 2004
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player
View 3 Replies
Dec 5, 2004
cutting to the chase, Basically im loading a movie externally using this code...
Code:
on (release) {
if (S_Init == Number(S_Init)) {
loadMovieNum("s_menu.swf", _root.S_Init);
[Code].....
View 4 Replies
Dec 5, 2004
cutting to the chase, Basically im loading a movie externally using this code...
Code:
on (release) {
if (S_Init == Number(S_Init)) {
[code].....
View 4 Replies
Jan 31, 2011
I remember in an older version of flash you could put a gotoAndPlay statement in the last frame of a sequence telling it to go back to the first frame in a sequence, but as I understand it you are not supposed to put script into frames anymore. So is there a way to tell a movie clip to play and repeat just part of its timeline (say a walking sequence) and then have it change to a different sequence later (such as jumping)?ed.
View 1 Replies
Sep 23, 2009
I have a flash file with several frames. In each frame I need to play a sound file.I've added all the sounds to the library and done all the necessary steps to export for actionscript.Here's my code to play the sound in one frame.
var sound1:Sound = new Cal10101();
sound1.play();
This works great to play the sound. I am using buttons to move to the next frame. When I click the button to move to the next frame, I need the sound from frame 1 to stop and a new sound which would be Cal10102 to start playing.How do I stop the sound from frame 1 from playing when I go to the next frame?
View 3 Replies
Oct 27, 2009
Im trying to make 1 animation in my backgound when the menu buttons are pressed... I want that the background movieclip raise to a 2x scale and then change the color...My question is... can i play only some part of the motion that is in the movieclip...
[code]...
isnt there a way to play background_mc movieclip from frame 4 to frame 8 only?
View 1 Replies
Jan 29, 2010
I now how to use frame labels to play some part of MovieClip:
mc.gotoAndPlay("label1");
but is it possible to acces to frames INSIDE labels? i mean, i need gotoAndStop(25) (25 is last frame of that label)i only know this dont work:
Code:
mc.("label1").gotoAndStop(25);
View 4 Replies
Jul 28, 2011
Forgive if I am not explaining this very well- here goes. I have one major site with three other gallery sites that are related. From one of the gallery sites I need to create a button that takes you back to a specific page on the major site.
[Code]...
View 7 Replies
Feb 5, 2012
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.
View 1 Replies
Aug 31, 2011
I want to take a long video and only play a specific segment of it, based on user selection. Can this be done with FMIS?
View 2 Replies
Aug 7, 2009
I'm trying to make a Flash banner for a website and I'm having trouble with the play/pause part. Right now I've got it set up as 100 frames with 10 keyframes and 10 pictures and at the end it goes back to the beginning. Here's my AS:
[Code]...
How do I make it so that it only reads the first part of hte code and then reads the next after the user clicks it the second time?
View 1 Replies
Nov 22, 2010
Right I only want to play a certain part of my MovieClips Timeline depending on the button pressed.
ActionScript Code:
stop();
CircleLineMC.KingsCross.addEventListener(MouseEvent.MOUSE_DOWN, KingsCrossBtn);
function KingsCrossBtn(event:MouseEvent):void {
BigSquare_MC.gotoAndPlay(1);
}
But I want it to play only up to frame 50 and then stop there and then loop instead of playing the whole timeline, does anyone know How to do that.
View 6 Replies
Nov 21, 2009
I want to be able to play just a clip of a song, so it is wasteful to load the entire song. Is there a way to just load say, 10 seconds of a song?
View 7 Replies
Feb 22, 2005
I would like to load the draggable menu externally into another SWF movie. I have my main movie (main.swf) and the draggable menu movie (draggable.swf). I can get the draggable.swf to load into the main.swf, however, I can't seem to figure out how to get the external draggable.swf to work within the main.swf. Once it's loaded, it is totally static
View 1 Replies
Apr 9, 2012
I am having trouble loading an image where i really want. Here is the code that i am using:
[Code]...
The CELL movie clip it has 3 more movieclips inside, i want to load the image in a particular one inside the CELL movie clip... the previous code works, but seams that it is loading in the cell movie clip... The other 3 movieclips are A, B, C... i want to load the image in cell.c
View 2 Replies