ActionScript 3.0 :: Control External Mp3 Play Time?

May 2, 2011

How can I control the playing time of an external mp3 using actionscript ?

I need to only play a 10 second clip of this sound file so how can I control the length of play time?[code]...

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Time Control - Automatically Jumps To The Next Specified Frame And Play

Feb 18, 2005

if it would be possible to control time through ActionScript. What im mean here is that if, let say a certain effect just finished and i want to wait for 5 sec before it automatically jumps to the next specified frame i want to play. would this be possible with AS?? or other techniques maybe?

View 1 Replies

ActionScript 3.0 :: Control The External SWF To Play It's Outro And Then Load The Next SWF?

Sep 20, 2009

It's all about loading and unloading external swf's.My code is working perfectly though I just have some questions about load and unload issues.

------------------------------------------------------------

I have three buttons on the stage and it should load its external SWF

homeButton_btn - home.swf
page1Button_btn - page1.swf
page2Button_btn - page2.swf

Each of the button should load it's external SWF's intro when click.My problem is that I don't know how to command the button to play the swf's outro and then load the next swf everytime I click a button. Example: When I click homeButton_btn, the external swf should load "home.swf" and then if I am going to click page1Button_btn, the outro of "home.swf' should play and then once it reaches the end of it's timeline, it should load "page1.swf". Same goes with page2Button_btn, whatever swf that is on the stage should play it's outro first and then load "page2.swf"

My questions are: 1. How can I control the external SWF to play it's outro and then load the next SWF.

2. What code should I put at the end of the external SWF's timeline.

3. Where do you think I should put the preloader? Is it better to put it at the external swf timeline? or on my main swf timeline?

4. Does load and unload of external swf also work with movieclips? Like for example I will not use a external swfs, instead I will use movieclips to load and unload its content.My Actionscript 3.0 code

var pageContainer:Loader;
pageContainer = new Loader();
var nextMov:String;[code].........

View 1 Replies

ActionScript 3.0 :: [CS3] Flash Interface For Client To Control Play Order Of External Swfs?

Jan 14, 2009

My client has approx 12 different presentation .swf's all with a beginning, middle and an end (phew!). I need to build an interface that views those 12 individual presentations as thumbnails on a single page and allows my client to click and drag whichever ones they wish to use into a separate little container above and in-doing so create a new required running order (left to right) each time they use my interface... so that once they have decided that running order they can somehow use the result for their required presentation. They will be using this interface ongoing throughout the year for various presentations all that will require maybe just a few of those individual swf's in different orders.

View 6 Replies

ActionScript 2.0 :: External Movie Doesn't Play Second Time After Refreshing

Nov 10, 2006

I used a preloader to play an external movie that loops. Both files are uploaded to a site. When I open the preloader in my browser the first time, everything works fine. The preloader loads correctly and plays the external movie automatically, which continues to loop correctly. So no problems so far.

Now, here's where problems begins:

If I refresh the browser or close it, and try to view the preloader/external movie again, nothing gets shown. I can manually play the external movie by right-clicking and selecting Play from the menu.

The only other way I can view the preloader/external movie again is if I delete the preloader from the cache and refresh/restart the browser.

My external movie does not have a stop in the first frame and it is uneditable so I can't add that in. However, the preloader should start playing the external movie when it is in the cache.

Here is the script in the preloader:

Frame 1:

Code:
mcLoader = new MovieClipLoader ();
loadListener = new Object ();
mcLoader.addListener(loadListener);

[Code].....

View 3 Replies

ActionScript 2.0 :: Flash - Replay / Reload And Play The Same External Movie The Whole Time?

Dec 9, 2003

On the new site we are working on, it has Flash and HTML. The problem is when you click on the navigation buttons(which are flash) they should load a new external movie and open the new HTML page at the top. When you publish the file and click on the buttons, the HTML page loads, but flash seems to reload and play the same external movie the whole time. Here is the code I used:

[Code]...

View 4 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

ActionScript 3.0 :: Control A Movieclip Time Line From The Main Time Line?

May 15, 2011

What I have is a movieclip and a button in scene 1 (which is the main timeline).There is an actionscript layer also on the main timeline. what I want to do is when I click the button, it would do a nextFrame(); in the movieclip timeline instead of the main timeline.

View 4 Replies

ActionScript 3.0 :: Using Loader To Load An External Swf And Control The External Swf?

Nov 17, 2010

as3 is new for me, but i would like to write a script using loader to load an external swf, and control the external swf. But I find I can't control the swf, because there are no fixed instance name. here is my script.

[Code]...

View 3 Replies

Flex :: Flv Player Control Time?

Nov 10, 2009

I am using the flex flv player component and i want to be able to skip 5 seconds forward and backwards , at the moment from what i understand from the documents it is not acurate because the movie can only skip to keyframes sometimes making the skip 6 or 7 seconds. the same goes to cue points which the flv might miss the actual point if there is no keyframe there/ my question is there any other way to use the player in a more accurate manner ? since i see on the web players that can do these skipps

View 2 Replies

Flex :: Tell When Control Becomes Visible For The First Time?

Jun 7, 2011

I have a popup that contains a TabNavigator control. The tabs are dynamically added to the TabNavigator when the popup loads. Is there a good way to tell when one of the tabs is loaded, from the tab itself?I have a tab that requires a service call to be made, and I don't want the service call to be made unless the user actually goes and clicks the tab to view it. I could notify the tab from the popup control itself when the TabNavigator index was changed, but that doesn't seem like a good way to go about doing it.

View 3 Replies

ActionScript 3.0 :: Control Several Movieclips At Same Time?

Aug 28, 2009

Suppose I have movie clips named mc1,mc2,mc3,mc4... In as2[code]...

View 1 Replies

ActionScript 2.0 :: Control Frames At Run Time?

Mar 4, 2006

I want to know that how to control frames at run time, I mean how we know that currently I am at which frame (running stage). Can we fetch the value of Frame at runtime?

View 3 Replies

Actionscript 3 :: Control That Can Pick Both Date And Time?

Sep 25, 2010

Just wanted to aovid reinventing wheels, I want the date and time picker, I know there is already a date only picker inside flash builder.

BTW: i am using flash builder 4

View 1 Replies

ActionScript 2.0 :: Control MovieClips Depending On Time

Oct 25, 2005

I download a tutorial to make a digital clock now what I want to do is make my movieclips go to a different frame depending of the hour. I want to make that effect of day/night.

View 6 Replies

ActionScript 3.0 :: Control The Time Line Of The Loaded Swf?

Feb 21, 2009

i read this tutorial, it is about how to control the time line of the loaded swf

[URL]

but i get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at main_fla::MainTimeline/frame1()

[Code]....

View 4 Replies

ActionScript 2.0 :: Cs4 : Control Number Of Objects Falling At The Same Time?

Oct 25, 2011

I have a fixed amount of words. Lets say 20 words. I want each of these words to be put into symbols - so i have 20 symbols (box1...box20). Now i want the boxes to fall from the top of the screen and until they reach below the screen. But (and this is where i'm lost) I want to have them fall at different speeds AND I want to control how many boxes falls at a time. Starting out with one box and when this box is out of the screen I want to control the amount of boxes/symbols entering the screen next.

A function telling that next there should be i.e. three boxes entering and falling/floating across the screen (from just above the top of the screen untill they all have reached the bottom). And i want to be able to call a function which starts X boxes - even before the existing boxes in the scenes has dropped). It would be nice to have a function, ie. fallBox(3) , which may be called at any time.

View 5 Replies

ActionScript 3.0 :: Control Time Line Inside Pages?

Jan 29, 2010

I am trying to implement a small web site in FLash CS3, i have done first phase means i have created 4 pages Home , About us, Group of Companies, Contact us. and i am able to control the timeline like if i click on the home its going to home page and same like if i clicked on about us its going to that page its fine, those first two pages there is no transactions but the problem is, if i clikced on the group of companies here i m trying to create the movie clips and if i clicked on those movie clips then it needs to connect the concerned company web site but here i got stucked even in contact us page also there i am trying to put some more transactions but i am unable to.[code]...

View 1 Replies

ActionScript 3.0 :: Getting FLV Control Time To Trigger Slide Image?

May 25, 2010

I need to get the time in the flvcontrol to trigger a slide image. Where I can find the reference for that control or offer up any code?

View 1 Replies

ActionScript 2.0 :: Get Control Of The Time Line Using A Conditional Statement?

Nov 26, 2008

I'm using Flash MX 2004 Actionscript.

I'm trying to get control of the time line using a conditional statement.

if (myVars.logged == "Logged") {
gotoAndStop(20);
}

I trace the myVars.logged variable and the trace tells me the value is Logged.

But the above statement won't go to frame 20.

View 9 Replies

ActionScript 3.0 :: Load And Control Swf Files In Main Time Line?

Jun 27, 2011

I need to load an into and exit .swf files into my project. I have the code to load the swf but it is an animation (with sound) and it continues to loop. What I need it to do is play once then move (and stop) on the next frame of the main timeline. [code]...

View 6 Replies

ActionScript 3.0 :: Custom Slider Control The Time Line Animation

Feb 16, 2012

I am looking for Custom Slider control the time line animation i am doing a demo presentation. The file i have uploaded is flash cs4 version need help on AS3.

View 6 Replies

ActionScript 2.0 :: Play Control Through Html?

Aug 18, 2003

I have a question for any seasoned Action scripters. Here's my problem, I have two flash files embedded in different parts of an HTML page and I want one flash file to play the other when it gets done. I would assume that I need to use PHP or javascript to talk with the HTML file that would send the other flash file a command which it was "listening" for. I really don't know however.

View 2 Replies

ActionScript 2.0 :: Control An External SWF From From An External SWF

Jun 20, 2011

I usually wouldn't post on here as I like to find the answer myself, but after looking through Google literally all day I'm at the end of my tether, so I'm going to impose on you all and ask. This is the situation;

[Code]...

View 7 Replies

How To Measure Silverlight Or Flash Control Load Time With Google Analytics

May 22, 2010

I have a simple silverlight page for for finding available domain names. This problem is equaly valid for a flash control as well.

I use Google Analytics for monitoring the traffic. I would like to find out how long it take for users to download and render the Silverlight control.

Once the java script on a page is loaded there should be a way to start a timer and then stop the timer once the Silverlight/flash control is loaded. Key points I would like to measure are:

Time it takes to download the silverlight/flash control Time it takes to initialize the control

View 1 Replies

ActionScript 3.0 :: Input Text Control Time Line And Movie Clip?

Apr 3, 2011

I would think this would be pretty simple, but I don't really know anything about actionscript 3.0. Please put this into terms I can understand. Basically, I want to be able to input text in a text box and have the movie jump to another frame based on what is typed into the box after the "enter" key is pressed. For example, If you type "Frame 2" and press enter, It could go to frame 2 and stop.

Additionally, I want to beable to have it control movie clips within the frame. For example, if you type "MovieClip1 Frame 3" it could seemingly transform an individual element in the frame by making the movie clip go to and stop at it's third frame.Finally, in the case that something is typed that doesn't match up (that the movie "doesn't understand,") I would like a movie clip to switch from being invisible (frame 1 of the movie clip) to showing an error message (frame 2 of the movie clip).The idea is, I want to make a visual text-based adventure game. Like, you could type "go north" and it would go to frame 3 where there's the northern part of the village.

View 5 Replies

Put Control On Play Button Of Flvplayer Component?

Aug 20, 2009

I want to put some control on play button of flvplayer component in AS2.0.How this can be done ??How I can call play button: I don't know how it to be referenced/its name.

View 1 Replies

ActionScript 3.0 :: Control (Play / Stop) Different MC Using OnEnterFrame

Aug 19, 2010

I have a movie clip on the main timeline with an instance name odometer_mc. nested in that mc there are seven movie clips, two are named m100_mc, and km1_mc. I want to get km1_mc to play when m100_mc gets to frame 20.

View 4 Replies

Professional :: Play Many Flvs Using Player Control?

Apr 25, 2011

I have a folder of sales training lessons (flvs) and I want to play each one of them by clicking a button and to have each one use a common playback control. When I us the follwing code I get a "1120: access of undefined property error".
 
stop();
function playAud1(evt:MouseEvent):void { player.source = "audio/The_Profession_Called_Selling.flv";}seg1_btn.addEventListener(MouseEvent.CLICK, playAud1);

[Code]....

View 1 Replies

ActionScript :: Flash Control To 'play' Visualizations

Nov 15, 2009

I'm building an application which will have a control to play, pause, step forward & step back through different versions of my visualisation - like the controls on your tape deck, but moving my visualisations through time, instead of that battered old Simon & Garfunkel recording.

I would have thought that my various animations would listen out for a particular event which fires on each 'beat' and tells it the time currently on the time line. My 'play' button then kicks off some code which causes one of these 'beat' events to be fired every second (or 5 seconds, depending on the speed selected). The 'step forward' button would cause a single event to be fired, and so on.

Assuming my design makes sense, I'm not clear how I would generate those events at regular intervals. Alternatively, my design might not make sense or be the most effective one for the job.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved