Playing A Video Compoent Go Back To Timeline
on my site i added a play video button to my video. i want this video to play but then go back to the button. right now it loops(cuase its better than freezing on frame 1 of the video) but i want it to end and go back to where i can press the button.
can someone help me out.
also, how can i slowly fade up the video instead of the quick on screen
here is the fla file
http://www.scotlandorbust.com/home.html
General Flash
Posted on: Sat Jun 24, 2006 3:07 pm
View Complete Forum Thread with Replies
Sponsored Links:
Playing Back Mp3 Clip In Timeline?
When I place an .mp3 clip into the timeline, it seems stop up the playback of the whole scene. I press play to try and watch it, but it stops right away at the next frame. It's definitely related to the audio clip - timeline plays fine without the sound.
Please advise.
View Replies !
View Related
Recorded Video Super Fast When Playing Back
So im not that great with actionscript i was kinda thrown this project and fumbled my way through it so far. My problem, i have two applications running on the server one for streaming video and the other for recording it from a web cam. the video playback is fine that works without complication. But when i record a video from the web cam and play it using the streaming application the video plays back at a faster fps (atleast im pretty sure thats it). can anyone give me a hand or at least point me in a direction that i might be able to go through.
View Replies !
View Related
Recorded Video Super Fast When Playing Back
So im not that great with actionscript i was kinda thrown this project and fumbled my way through it so far. My problem, i have two applications running on the server one for streaming video and the other for recording it from a web cam. the video playback is fine that works without complication. But when i record a video from the web cam and play it using the streaming application the video plays back at a faster fps (atleast im pretty sure thats it). can anyone give me a hand or at least point me in a direction that i might be able to go through.
View Replies !
View Related
Playing Swfs Back To Back Seamlessly?
I have an extremely large swf here. 7.1 MB!!! I also have one that is around 5MB!
I am having difficultity playing them on the webpages.
Obviviously they need preloaders which I use, but due to the size (I am assuming) they play slow. The music plays fine but the animation has trouble keeping up and thus it is not entirely in sync.
Would splitting these swfs up into smaller swfs and then inserting code (getUrl or something along those lines?) at the end of each small swf to begin playing the next small chunk of swf work?
Can this be done and done smoothly? So that the small swfs play and play back to back so that the viewer wouldn't even be able to tell?
What are your thoughts? Has anyone been able to do this successfully?
View Replies !
View Related
Playing Swfs Back To Back Seamlessly?
I have two extremely large swfs (7.1 MB and 5 MB). I am having a lot of trouble displaying them on the web. The run slow. The sound plays fine but the animation has trouble keeping up and thus it is out of sync. The animation looks slow.
I do use preloaders and have tried loading the entire swf before playing and just loading 1/3 of the movie or 1/2 of the movie before starting, to the same slow play.
I am wondering if it is possible to split these monsters into much smaller swfs and then link them together?
In otherwords, at the end of the first small swf is a code (getURL or something along these lines) to start loading/playing the next section of small swf, etc...
Can this be done seamlessly? So that the viewer would not even know there are multiple swfs and it would play as if one continuous movie?
Has anyone tried this or is this even possible? Thanks.
View Replies !
View Related
OnDrag:scroll Thru Timeline / OnRelease: How To Resume Playing The Timeline
i want to scroll thru the timeline by dragging a slider. (just like scolling thru QT) framenumber will be calculated based on slider._x.
when release slider, timeline should play from that point normally
when i stop dragging the slider, the procedure of gotoAndPlay(calculatedFramenumber)does not stop and movie sticks on that frame where slider-button was released.
slider-button-code:
on (press) {
startDrag("", false, 276.5, 331.5, 757.5, 331.5);
}
on (release) {
stopDrag();
}
slider mc-code:
onClipEvent (enterFrame) {
slideframe = math.ceil(1.892*(_x-276.5)+1908);
_root.gotoAndPlay(slideframe);
}
onClipEvent (mouseUp) {
_root.play();
}
can anyone help me on that simple issue?
View Replies !
View Related
Playing Timeline In Reverse Mode (the Whole Timeline, Not A MC)
hi,
I have to make a flash book where you can view each page forward and backwards - as if you were actually reading the book by clicking on a next or back button depending on what you wanna do.
My problem is: I have the main timeline and all the animations are placed there without using any MCs.
i know a similar topic has been covered hundred of times on this forum, but i didn't found anything covering this specifical issue.
All topics refer to MC's placed on the timeline, but i have all my stuff on the main timeline, without any mc's, so.... i have to ask
Is there any script to make the movie, once stopped, move backwards and then stop, when it finds the stop command?????????
Help!
Thanx in advance
Mcclaine
View Replies !
View Related
DateField Compoent Woes
I am having an issue with the datefield component where it is opening up the calendar and only half of it is on the stage in the viewable area. Is there a way I can control where the caledar pops up so it is fully viewable and usable on my stage?
Thanks in advance,
Mike
View Replies !
View Related
Flash Compoent Height Issue
when drag any flash component on stage and trace the height of that component, it shows correct height i.e. 22
But when i put same flsh component in a movieclip keeping no other element in the movieclip with registration point 0,0 (or any)and try to trace the height of that movieclip , it shows "100".
What could be the reason?
View Replies !
View Related
XML Image & Video-playing Gallery Issue. Video Doesn't Hide When Online.
Hi guys,
I've created a gallery using kirupa's tutorial that loads in, through xml, both images and streaming video swfs.
here's the link (then click on 'Real Art', then on 'Roster' in the menu):
http://www.studiotonne.com/tira/
All links (xml and content links in the xml) are pointing to an online server, so it should work offline in the same way it does online.
So offline, it all works fine and browsing through the gallery in the Roster for each artist, selecting each number in the gallery closes the current image/video and displays the new one, as it should.
Online however, the issue is different. For instance, clicking on 'Build', then on number 5 in the gallery (which is a streaming video embedded in a swf pulled in via xml), it streams in the required video. However, upon trying to select a different picture in the gallery, or choosing to view the gallery of a different artist, the video doesn't want to disappear and allow other images to be seen, as it does when viewed offline.
I'm sure its quite a simple thing to make the streaming video swf that the xml loads in, to disappear. I just don't understand why it works properly offline, whereas online, the video issue occurs.
Could it be a netConnection or netStream issue?
Here is the code for the build gallery in the roster:
Code:
stop();
function loadXML(loaded) {
trace("XML loading...");
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
displayPages();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("clientupdates/build/xml/build.xml");
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
/*
if(blnPreview) {
previous_btn._visible = false;
next_btn._visible = false;
} else {
previous_btn._visible = true;
next_btn._visible = true;
}
*/
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
trace("firstImage");
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
// Only show the artwork data unless we're not in preview mode
//if(!blnPreview) {
desc_txt.text = description[0];
picture_num();
//}
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
trace("Pic num:" + current_pos);
}
function displayPages() {
for(var i=1;i <=12; i++) {
if(i <= total) {
this["PageMC" + i].pgNum.text = "a";
this["PageMC" + i]._visible = true;
} else {
this["PageMC" + i]._visible = false;
}
}
}
function setPage(pageNum) {
if(pageNum>=0 && pageNum <total) {
picture._alpha = 0;
picture.loadMovie(image[pageNum], 1);
desc_txt.text = description[pageNum];
picture_num();
}
}
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
Thanks for reading guys. I hope you can help.
Jerome
View Replies !
View Related
XML Image & Video-playing Gallery Issue. Video Doesn't Hide When Online.
Hi guys,
I've created a gallery using kirupa's tutorial that loads in, through xml, both images and streaming video swfs.
here's the link (then click on 'Real Art', then on 'Roster' in the menu):
http://www.studiotonne.com/tira/
All links (xml and content links in the xml) are pointing to an online server, so it should work offline in the same way it does online.
So offline, it all works fine and browsing through the gallery in the Roster for each artist, selecting each number in the gallery closes the current image/video and displays the new one, as it should.
Online however, the issue is different. For instance, clicking on 'Build', then on number 5 in the gallery (which is a streaming video embedded in a swf pulled in via xml), it streams in the required video. However, upon trying to select a different picture in the gallery, or choosing to view the gallery of a different artist, the video doesn't want to disappear and allow other images to be seen, as it does when viewed offline.
I'm sure its quite a simple thing to make the streaming video swf that the xml loads in, to disappear. I just don't understand why it works properly offline, whereas online, the video issue occurs.
Could it be a netConnection or netStream issue?
Here is the code for the build gallery in the roster:
Code:
stop();
function loadXML(loaded) {
trace("XML loading...");
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
displayPages();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("clientupdates/build/xml/build.xml");
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
/*
if(blnPreview) {
previous_btn._visible = false;
next_btn._visible = false;
} else {
previous_btn._visible = true;
next_btn._visible = true;
}
*/
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
trace("firstImage");
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
// Only show the artwork data unless we're not in preview mode
//if(!blnPreview) {
desc_txt.text = description[0];
picture_num();
//}
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
trace("Pic num:" + current_pos);
}
function displayPages() {
for(var i=1;i <=12; i++) {
if(i <= total) {
this["PageMC" + i].pgNum.text = "a";
this["PageMC" + i]._visible = true;
} else {
this["PageMC" + i]._visible = false;
}
}
}
function setPage(pageNum) {
if(pageNum>=0 && pageNum <total) {
picture._alpha = 0;
picture.loadMovie(image[pageNum], 1);
desc_txt.text = description[pageNum];
picture_num();
}
}
var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
Thanks for reading guys. I hope you can help.
Jerome
View Replies !
View Related
How To Subclass A Compoent/override A Component Method
If I want to take an exisiting mx component and override one of its methods, how do I do that in ActionSript 2.0?
At first I thought I could just subclass a component class and then override anything that is public. Could anyone point me to an example or get me started?
I would have expected to create a new class that extends the original class and then just create an instance of that class:
--start code--
import mx.controls.MediaController
class MyMediaComponent extends MediaComponent
{
// Contructor
public function MyMediaComponent():Void
{
}
// Override MediaComponent Method.
public function set enabled(is:Boolean):Void
{
// Do something different here
// Now forward the method call to the base class.
Super.enabled(is);
}
}
--end code--
Now I would call an instance of that new subclass rather than the original MediaController, however it doesn't seem to work.
theLevel:Number = 5;
createClassObject(MyMediaController, "mMCobj", theLevel);
Any info on how to override existing component methods would be greatly appreciated.
View Replies !
View Related
Calendar Compoent - Embed Fonts Problem
Hi All
I am trying to embed fonts in calendar. But the problem is that i am unable to embed font in 'month name' on top. "November 2006". Any help?
Here is small code to embed font in calendar MC
xxx.setStyle("fontSize", "12");
xxx.setStyle("fontFamily", "Arial");
xxx.setStyle("embedFonts", true);
I have uploaded fla file here...
http://www.amazingcatalog.com/tmp/ca..._monthname.zip
View Replies !
View Related
Getting Back To The Timeline.
This may be a simple question, but I'm having problems getting my head around it.
I've made a movie clip in which I have 4 buttons. I need the button to goto a specific frame on the main timeline, not the moviclip time line.
How do I do this???
LEROY
View Replies !
View Related
Back To Timeline
Can anybody tell me what is wrong with this code?
on (press) {
_root.years.1999 = true;
_root.gotoAndPlay("slide");
}
Basically, it's put on a button called 1999. It's used to tell the movie which movie needs to be loaded once it hits a certain frame in the root timeline.
Leroy
View Replies !
View Related
No Video (only Audio) When Playing Basic Video Player.
Hey everyone.
I used to be fairly good at flash, and then i had a break. Now i'm struggling with this really simple problem, that no one else seems to be having...
Here is my actionscript for playing the video
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream (nc);
theVideo.AttachVideo(ns);
ns.play("antena1wheel_1.flv");
When i preview it, it comes up with the white stage, and you can hear the sound... but no sign of any video.
Thanks, and appologies for my stupidity...
Tim =)
View Replies !
View Related
Playing Back Two Frames?
Hello Everyone,
I'm currently using
stop();
_root.prevFrame();
to go back one frame. I've run into a situation where I want to go back two or maybe three frames. How would I script this?
Thank you,
Liz
View Replies !
View Related
Playing Back What Is In My Array?
Hey guys,
So i have been making an interactive keyboard that plays sounds as you roll over there buttons.
I have made it so when my key has been rolled over it sends its name to my array. Now Im struggling to get the array to playback my sound in the order played.
Would it help if i posted the FLA?
Basically want a way of recording what have been pushed and then a way to play it back!
my code is:
Code:
var key:Sound = new Sound(this);
key.attachSound(soundNote);
var recordToggle = false;
var playBack:Array = new Array();
function playSound(soundNote){
trace (soundNote);
key.attachSound(soundNote);
key.start(0, 1);
}
function playBack(soundArray){
for(i=0; i < soundArray.length; i++){
playSound(soundArray[i]);
}
}
key1.onRollOver = function() {
if(recordToggle = true){
playBack.push(value);
}
playSound(this._name);
};
key2.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key3.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key4.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key5.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key6.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key7.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key8.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key9.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
key10.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
lite1.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
lite2.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
lite3.onRollOver = function() {
if(recordToggle){
playBack.push(value);
}
playSound(this._name);
};
somebutton.onRelease = function () {
trace (playBack);
if (recordButton = true) {
soundArray.play;
} else {
recordButton = false;
}
}
//DRAG AND DROP ELEMENTS
key1.onPress = key2.onPress = key3.onPress =
key4.onPress = key5.onPress = key6.onPress =
key7.onPress = key8.onPress = key9.onPress =
key10.onPress = function () {
startDrag (this, false, 5, 0, 1080, 0);
};
key1.onRelease = key2.onRelease = key3.onRelease =
key4.onRelease = key5.onRelease = key6.onRelease =
key7.onRelease = key8.onRelease = key9.onRelease =
key10.onRelease = function () {
stopDrag ();
};
stop();
View Replies !
View Related
Back To Main Timeline
I've loaded an external movie into my main timeline. In this movie is a button which should take me back to a frame in the main timeline. Would someone please explain to me how I can achieve this? It seems that no matter what I enter it just takes me back to the beginning of the secondary swf.
Thanks so much
View Replies !
View Related
Moving Back And Forth In A MC's Timeline
hello,
I'm creating a simple slideshow with "previous" and "next" buttons. There are a number of photos in an MC.
I would like these two buttons (either outside the MC or inside the MC, it doenst matter) to move the timeline of the MC in intervals of one frame, backwards or forwards.
I appreaciate the help
View Replies !
View Related
Can't Get Back To Main Timeline
After checking every bit of code and sweating over this for hours, I can't seem to get it.
I have an swf saved.
I invoke the swf onto the stage (main timeline) on the first frame using only this:
_root.loadMovie("myMovie.swf");
(I don't drop the clip anywhere on the stage)
Once the movie finishes I can't get back to the main time line at all using:
_root.gotoAndStop(2)
I can't even use labels
_root.gotoAndStop("myLabel");
Anyone know why? And how can I get back to the main timeline?
View Replies !
View Related
Navigating Back And Forth On A Timeline
After reading some posts I followed the recommendation of sticking to one scene instead of differente ones. I am able to navigate forward, but I can not make it to navigate to previous frames. I am using frame labeling to separate my different "scenes" within my only timeline. I will appreciate your helps, thanks!
View Replies !
View Related
How To Get Back To The Main Timeline
Hello all,
I've read previous posts about this subject and sorry to say, it flew over my head. :x
I understand there are 2 ways, either by creating a class or passing through the parameter. I like the passing by reference but what am I passing? I've tried to debug and look through the variable names for something called "TimeLine" but did not find anything of the sort declared.
And if I were to create a class..that means, once the package Main was created then I create an instance on the timeline?
Oh, I'm navigating through the timeline by way of timeline programming. That's the only way I could figure out how to maneuver from intro screen, to my program, but now I want to run the program with a different parameter on antoher keyframe/frame and I don't know how to end the first execution to go on to the 3rd frame. I know how to label my frames, but "stopAndPlay ("MyNextFrame");" doesn't work! I've also tried to use break (lol ok I was desperate ) and return but the program doesn't navigate to anywhere once all my remove listeners go off at the end of the 2nd frame.
Any hints are appreciated.
-m
P.S. This is on my 2nd keyframe/frame
ActionScript Code:
//stop();
import asdata.Racer;
var gamelvl1:Racer = new Racer("level1");
addChild(gamelvl1);
var levelUp:Boolean = gamelvl1.startGame("level1");
if (levelUp) {
gotoAndPlay("StartLevel2");
}
Course it never returns anything, also, I noticed I removed a listener while in the function that it calls! Is that a bad thing? I don't mean to sound like I'm blonde but this is quite new to me still.
View Replies !
View Related
Getting Back To Main Timeline From MC
Hope this isn't a stupid question...but I can't seem to figure it out.
I have a MC on my main timeline....that plays....however, when it is through, I want an action that will take me back to the main timeline at a specific frame....the goto and play"whatever"...doesn't work...because it just goes to that particular frame inside the MC itself.....
or....is there a simple method to "remove" the movieclip?....this is not a .swf file....by the way.
Thanks,
mark
View Replies !
View Related
Linking Back On The Timeline.
Hi ya'll Kirupians!
I have just launched my (first flash based) personal site: nenecreative.com
It is still a work in progress, and I need to ask you one question.
If you go to the "work" section, and hit one of the pieces "Evisu for example", your will be taken to a separate page "external swf file". Now, when u hit the "square next to the name: Evisu (on the top right) it will get u back to the (first page). Alright.
hit one of the arrows which ever, and go in to another piece. Hit that square and it will take u to the "first" page even if that wasn't the page that u were on last. I want to know how to link back to the "work.swf" file, but on the _root timeline. (cause this work page is built by having labels etc.
Please get back to me, this is very much appreciated! thank u, without ya'll Kirupians this wouldn't have been possible.
.Marito
View Replies !
View Related
Getting Back To Main Timeline From MC
Hope this isn't a stupid question...but I can't seem to figure it out.
I have a MC on my main timeline....that plays....however, when it is through, I want an action that will take me back to the main timeline at a specific frame....the goto and play"whatever"...doesn't work...because it just goes to that particular frame inside the MC itself.....
or....is there a simple method to "remove" the movieclip?....this is not a .swf file....by the way.
Thanks,
mark
View Replies !
View Related
Playing A Sequence X Steps Back
Hi, I am trying to make buttons that will play through a frame sequence x steps forward or backwards. I want it to play or approximate playing just as if it was the play command.
I tried a for loop that incremented i till it reached x frames and each time called nextFrame() or prevFrame() but it jumped straight from the frame it was on to the frame the loop would end it on. It would not play through the sequence in between.
I'm sure this is simple to do can someone please set me straight?
View Replies !
View Related
Playing Back An Animation From An Array
Hi guys,
Right.
I need to play back a certain sequence of frames in an order specified by the user. Can I do this by containing all the frames in a single movie clip, labelling each one, and then tell target a sequence from an array? ANy ideas how I can achieve this kind of process?
All input is greatly appreciated!
View Replies !
View Related
Back Button Is Playing Sounds?
In a multi scene movie, ive set up a back button to take you to a labeled frame... Every time this button is pressed it takes you to the correct place but plays all sounds that have been played in the movie up to that point! There is no action script on the button other than a goto and play command... whats up with this crazuness? any ideas?
View Replies !
View Related
Playing Forward And Back With An Intermission
i have an mc on my timeline which has numbers one to three which scroll behind a mask. on the root i also have two instances of a button which make this mc play back and forward. Along the path of movment i have three stop(); commands to make the mc stop before you can click on to the next number but these dont seem to work?
i was wondering if someone could have a look at the file and see what im doing wrong and how to change this so the buttons play the sections of the mc.
i have been working at this for a long time and can't find a solution?
i'm know that im not that experienced at actionscripting but was hoping that one of flash kits member who does know could help.
thank you
James
View Replies !
View Related
Recording And Playing Back Sound
Hi,
I'm doing a proposal to create an educational kiosk about the human voice...
I need to be able to record 10 seconds of the user speaking and then play it back when they click on a button.
Searching through the various posts it appears this is possible but I haven't yet seen any specific info. Can anyone direct me to a tutorial or otherwise guide me through how to structure this?
Let me say upfront I'm a designer not a programmer, but I do have basic AS skills and deeply respect those who expertly wrangle this program that so often confounds me!
Cheers,
Richard
View Replies !
View Related
Moving Movingclips And Then Playing Them All Back Together
Does anyone have any sample code or pseudo code to share regarding how i can possibly be able to move 1 or more (say upto 5) movieclips one at a time, record their motion, and then replay them all together?
I can record each movieclips motion into an array given by the movieclip name, but i have no clue how to play them all together.
Ive been cracking my head on this for months, and have got no where. Any help would be appreciated.
Thanks
View Replies !
View Related
Capturing And Playing Back Mic Audio
Hi everyone,
I'm new to these forums but I have been developing in flash for while now.
What I'm trying to do is give the user two buttons, one to record their voice and one to play it back. I would really like to do this without a server. I have heard it is possible but I have not found any way of doing it.
Please let me know if this is possible and if so point me in the right direction of getting it done.
Thank you in advance.
View Replies !
View Related
Playing A MC Until A Point And Then Looping It (fwd And Back)
I have an interesting problem (or I think so) I have a long movie clip that I want to play until certain point (say frame 70) and then I want it to play backwards for 5 frames and then forwards for 5 frames (so that it loops backwards and forwards.
So the idea is that the movie would play until frame 70 and then play 69, 68, 67, 66, 65, 66, 67, 68, 69, 70, 69, 68 and so on.
So what I did was at frame 65 I set
Code:
_global.loop = 1;
and on frames 66 to 69 I put:
Code:
if (_global.loop == 0) {
gotoAndPlay(_currentframe - 1);
trace("go back");
}
then finally on frame 70 I put:
Code:
_global.loop = 0;
gotoAndPlay(_currentframe - 1);
The code seems to work, but it doesnt update the stage (show) frames 66 to 69 (the code must be acting before the display is changed).
In director you can force the stage to update with an updateStage command, but I don't think that there is anything like that in Flash (as far as I know).
Is there a way to have the stage update? Or is there an easier way to do this.
View Replies !
View Related
Playing Back Multiple .flv At The Same Time
I am working on a site that has one feature .flv playing besides 5 smaller thumbnail .flv loops placed directly below this. I have done other sites with up to 3 .flv playing at the same time and besides the obvious bandwidth issues, did not have the problem that I am seeing now.
No more than 4 .flv will play at the same time, all others (in this case 2) will not even display. All .flv are being streamed and range from 3 - 5 megabytes in size.
Is this a known issue? Is there a limit to the amount of .flv that can be displayed at the same time?
I would appreciate any insight...
View Replies !
View Related
After Playing Flv Jump Back To Frame 1
hey
i'm not a frequent flash user ... so its driving me crazy ... i have a startscreen on frame with a button that jumps to frame 2. on frame 2 is a flv vid ... and now i want that after the flv vid reached its end its jumping back to frame 1 ... i did a lot of reasearch on the net and cant figure it out ... i have no experience with actionscript and so on ... the only thing i found out is that i need to use cue points! any help is very appreciated !!!!! thanks a milllions times!
best
flow
View Replies !
View Related
MC Playing Forward And Back On Mouseover?
So, what I'm trying to do is create a button that will play a small mc when it's moused over. I have the mc. Now, I would also like for the button to play in the reverse when moused out. Should I do this as an invisible button over an mc? Or can I just make it a regular button that imbeds that mc in the "over " frame? I am also wondering how it would run if when moused over only half of the mc plays before mousing out--can I get it to reverse from the point that it had run to instead of playing all and then backing out?
Also...I'm trying to figure out the process for loading an mc that would be triggered by a button and then making it play in reverse (so it looks like an unload) when another button/mc is triggered...
I hope someone understands what I'm talking about... *sigh* I'm just stumped.
-Carrie
View Replies !
View Related
Music Is Playing Back A 2x Speed
PHP Code:
function playAudio(f) {
audioFile = new Sound();
audioFile.loadSound("./"+f+"", true);
audioFile.setVolume(90);
audioFile.start();
return;
}
playAudio("audio/jazz2-96-mono.mp3");
That is my AS in the first frame of the scene. For some reason, when I run the movie in Flash Player, the music is played back at twice the normal speed! Why on earth would this be happening?
View Replies !
View Related
Flash Video: Playing A Huge Video From Cd
Hi Guys,
I'm creating a presentation cd with flash and flash video, the FLV file size is 200mb and plays ok when the flash movie opens.
However if i try scrub to the end of the video a couple seconds into the movie the movie pauses for about 2 seconds before the buffering bar shows up, then it buffers what it requires and plays.
The problem is the 2 seconds, it seems messy or jerky because the buffering bar takes so long to come up.
I think this is because the video is loading into the computers memory, as I've read up, yet I was wondering if there is a way to preload the entire movie into the machines memory before playing, or making the buffering bar come up more quickly.
it is playing from a cd so:
FLVPlayback.bytesLoaded - does not help nor does
FLVPlayback.bytesTotal.
Id appreciate any insite into this issue
Thank you
Roark
View Replies !
View Related
Going Back In Time On The Main Timeline
Is there a way to have a back button take a main timeline back 10 or 15 seconds? The file I have is not an mc. I basically have a projector file that loads swf's into 0. Each swf is a chapter and has multiple scenes.
I've seen this done before but I think they had their movie all on 1 main timeline.
View Replies !
View Related
MC In Main Timeline Always Going Back To Frame 1 ?
Hi there!
I'm building an edu game with 4 categories of questions (20 or so questions in each category). The questions are seperated by category in 4 different MC, in wich there is 1 question per frame.
The 4 MC with the questions are located on different spots of the main timeline and the playhead moves trough them randomly.
The thing is, when the playhead come back to a category already visited it is always in frame 1 even if I send it to the next frame after answering question 1 (I actually see it moves to question 2 after answering...)
Is there a way to avoid it ?
Or as soon as a MC is displayed it will always be in frame 1 even if it was stopped in frame 2 or 3 earlier ?
Any hint appreciated
acdelirium
View Replies !
View Related
Timeline Control Back Button Help
I am looking to have a back button that moves back (3) frames every time the button is clicked. This is for a photo gallery where you can go forward or backward. It is on a timeline so to go back to the previous image you need to move back 3 frames. I have only been able to find a (previous) script to go to the last frame.
anyone know how to do this?
Thanks for any suggestions
View Replies !
View Related
Refering Back To The Main Timeline From A Mc
Hi guys,
Im new to Actionscript 3 and really need some help.
Basically Ive placed a movie clip on the main timeline and used a code which plays plays the clip. What I want now, is when the timeline in the movie clip reaches the end I want it to go back back to the main timeline and stop at a specific frame so that another movie clip can play.
Ive tried placing this code at the end of the movieclip timeline:
_root.gotoAndStop("memory");
but nothing happens. Obviously something is wrong here but I dont even know where to start.
If anyone can help me that would be awesome.
Thanks in advance.
View Replies !
View Related
Looping Back To Main Timeline?
I need to know how to return back to the first frame of the main timeline....right now using the gotoAndPlay(1) only brings me back to the first frame of my MC....i tried to used an instance called "begin" on the main time line and tried to call to it but i must've done something wrong.
any thoughts?
View Replies !
View Related
FLV Unload Movie Back To Timeline
I am using the FLV video feature with flash cs3. I have a flvplayback video it begins to play correctly but when it is finished it just stops the timeline all together because of the necessary stop function that must be on the same line as the flvplayback movie so that it play. My question is how do I make it so that after the flv video is done being played the timeline begins to continue moving once again? how do I unload the video after it is done playing? can I make it go to a specific frame after it is unloaded?
basically i want to hit a button were it then jumps to the flv video (not embedded) it plays, then once its done playing it the resumes the timeline and continues playing the flash movie
View Replies !
View Related
|