Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Keep Mc Playing



hey i have a mc that i want to tween while its playing... the problem is that once it gets to a new keyframe it starts over... does anybody know what i could do about this?

thanks a bunch
-yeps



FlashKit > Flash Help > Flash Newbies
Posted on: 06-25-2006, 06:04 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Player Not Playing Not Playing Properly Low Bitrate Sound
Hi,
I have created a flash audio player which can play streaming audio (mp3) files and it takes data from external xml file. Everthing is working fine. But when i used a low bitrate mp3 file (size 600 kb, time 3min approx) , it plays the audio with max speed and get ended in 30 seconds. The same audio file is playing normally in windows media player, or winamp,etc.
Plese give me some idea what is happening ........
Thanks,
Gunjan

Check If Movie Clip Finish Playing Before Playing Next
I'm trying to figure out how to create a conditional variable script to check to see if one of the 4 movies are finished before starting the next selected one.

I have 4 menus with 4 movie clips that have an opening and closing animation in them.
When clicking the one of the buttons I would like it to check and see if any of the movie clips are in the open position. Then have the movie that is in the open position play it's closing animation. Then play the selected category movie that the person clicked on.

I know it's all done with variables but just cant figure out how to put it together.

here is what i have so far.

menuStatus = 0;
trace(menuStatus);
but1.onPress = function() {
if (menuStatus == 0) {
menuwork.gotoAndPlay("start");
menuStatus = 1;
} else if (menuStatus == 2) {
resetMenus();

}
};
but2.onRelease = function() {
if (menuStatus == 0) {
menuwhoweare.gotoAndPlay("start");
menuStatus = 2;
}else if (menuStatus == 1){
resetMenus();
}
};
function resetMenus() {
if (menuStatus == 1) {
menuwork.gotoAndPlay("close");
menuStatus = 0;
} else if (menuStatus == 2) {
menuwhoweare.gotoAndPlay("close");
menuStatus = 0;
}
}

thanks for any help in advance

How Do I Check To See If A Sound Is Already Playing Before Playing When Pressing Play
Okay, i really need some help on this. I have a play button where if clicked will play the sound over the top of it when its already playing, if that makes any sense. the sound is already called on the first frame. if the user clicks the play button again, it will play over it.

heres my play button code. i need to know what to add to add to make it check to see if the audio is already playing. My audio sound is named myMusc.

ActionScript Code:
on (press) {
if (playing != true) {
if (paused != true) {
playing = true;
paused = false;
stopped = false;
myMusic.start(0, 999);
}
if (paused == true) {
playing = true;
paused = false;
stopped = false;
myMusic.start(myMusicPosition, 0);
_root.myMusic.onSoundComplete = function() {
myMusic.start();
};
}
}
}
Thanks

Playing A Certain Frame, After A External Swf File Has Started Playing?
Hi,
This is my first post here.

I need to know how to have a certain frame in my movie start playing, after a external movie I have has started playing.

The problem is basically sync., and I want a certain frame to play only after the external movie begins to play.

I'm using...

loadMovie("http://www.alainshep.com/alain.swf", 66);
if (playing) {
gotoAndPlay("begin");
} else {
gotoAndPlay("start");
}


The external movie plays after it loads, but I just don't know how to set it up for the frame I want to play after it has started playing.

Please Please someone help me..

How To Know If My Sound Is Playing Or Finished Playing?
I`m loading and playing sound like below.


Code:
//SOUND LOAD

var snd:Sound = new Sound();
snd.load(new URLRequest("sound.mp3"));
snd.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
snd.addEventListener(Event.COMPLETE, onSoundLoadComplete, false, 0, true);

function onIOError(evt:IOErrorEvent):void{
trace("sound loading error: ",evt.text);
}

function onSoundLoadComplete(evt:Event):void{
trace("sound loaded");
}

//SOUND PLAY

snd_btn1.addEventListener(MouseEvent.MOUSE_OVER,sndPlay);

function sndPlay(evt:Event):void{

var channel:SoundChannel
channel = snd.play();
}
i would like to have my sound to play only when it`s not already playing.
how can I achieve this?

thank you

How To Know If My Sound Is Playing Or Finished Playing?
I`m loading and playing sound like below.


Code:
//SOUND LOAD

var snd:Sound = new Sound();
snd.load(new URLRequest("sound.mp3"));
snd.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
snd.addEventListener(Event.COMPLETE, onSoundLoadComplete, false, 0, true);

function onIOError(evt:IOErrorEvent):void{
trace("sound loading error: ",evt.text);
}

function onSoundLoadComplete(evt:Event):void{
trace("sound loaded");
}

//SOUND PLAY

snd_btn1.addEventListener(MouseEvent.MOUSE_OVER,sndPlay);

function sndPlay(evt:Event):void{

var channel:SoundChannel
channel = snd.play();
}
i would like to have my sound to play only when it`s not already playing.
how can I achieve this?

thank you

How To Know If My Sound Is Playing Or Finished Playing?
I`m loading and playing sound like below.


Code:
//SOUND LOAD

var snd:Sound = new Sound();
snd.load(new URLRequest("sound.mp3"));
snd.addEventListener(IOErrorEvent.IO_ERROR, onIOError, false, 0, true);
snd.addEventListener(Event.COMPLETE, onSoundLoadComplete, false, 0, true);

function onIOError(evt:IOErrorEvent):void{
trace("sound loading error: ",evt.text);
}

function onSoundLoadComplete(evt:Event):void{
trace("sound loaded");
}

//SOUND PLAY

snd_btn1.addEventListener(MouseEvent.MOUSE_OVER,sndPlay);

function sndPlay(evt:Event):void{

var channel:SoundChannel
channel = snd.play();
}
i would like to have my sound to play only when it`s not already playing.
how can I achieve this?

thank you

When A Sound Stops Playing So It Can Start Playing Another Sound :Monitoring Playback
I'm attempting to do a very simple thing and I'm very perplexed. My girlfriend is an opera singer and all I'm trying to do is advance the audio track when the song finishes playing to go to the next frame. On the surface it seems easy, however I can't seem to figure it out. Perhaps you can help?

Check out the movie here: http://www.earthgrid.com/earthgrid/valentina.html


Here's my code its on frame 2 in the movie



Code:
stopallsounds();
s2.close();
s3.close();
var s1:Sound = new Sound();
s1.loadSound("Agnus_Dei.mp3", true);
s1.start();
stop();
Explanation:: the flash movie has buttons that allow you to navigate between the 3 different music tracks.

when you click on a button, first I close the loading of the previous track, ie. s2 and s3, if they are still loading.

What I'd like to do is insert a command that advances to the next track (which happens to be on the following frame, 3) ONLY when the first audio track is finished PLAYING, not finished 'loading'

something like:
s.addEventListener(Event.SOUND_COMPLETE, gotoandplay (3);
);

so that when Agnus Dei finishes playing it goes to the next frame which starts the next track.

but that' doesn't seem to work.

I found this URL in Adobe's support site:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000283.ht ml

it says this:

Your application might want to know when a sound stops playing so it can start playing another sound, or clean up some resources used during the previous playback. The SoundChannel class dispatches an Event.SOUND_COMPLETE event when its sound finishes playing. Your application can listen for this event and take appropriate action, as shown below:


Code:
import flash.events.Event;
import flash.media.Sound;
import flash.net.URLRequest;

var snd:Sound = new Sound("smallSound.mp3");
var channel:SoundChannel = snd.play();
s.addEventListener(Event.SOUND_COMPLETE, onPlaybackComplete);

public function onPlaybackComplete(event:Event)
{
trace("The sound has finished playing.");
}
>> However, when I try to paste in this code into a frame in Flash CS3 it gives an error saying I have to put it in a 'package'
I tried that, putting this code into a file and saving it as a .as file


I really don't get how to do this Package thing in CS3, so I couldnt get the example to work.

If so please contact me Please help!

°°°keep The Sound From Playing If It Is Already Playing
Hi FlasherZ,

I add this code to my buttons but it didn't work - can you fix it. Do I have to define a variable "playing" in the first frame???

I read this tutorial, chapter "How to Start, Stop and Loop a Sound Object" and everything works fine but if I hit the on button I hear 2 sounds playing, if I hit the button again, I hear 3 sounds playing at the same time - U know what I mean, so I wanted to use the code in the tutorial with the variable "playing".

Here is the link to the tutorial:
http://www.kennybellew.com

I would appreciate some advices.

Omitofo-
Attila

MX PRO AS 2.0 Incongruity In 1.swf Between Playing 1.swf & Playing 1.swf In 2.swf
Salutations to all Kirupians and Visitors!

I am in need of some assistance. I have searched the forum and tutorials, and did not find the solution for the problem I have. Hopefully I am in the correct forum! <- my ability to identify the type of problem I am having is apart of why I haven't solved the problem, and therefore, I don't think I have enough knowledge to have concrete beliefs whether or not this posting belongs in Actionscript or MX. Any opinions?

I am learning how using flash is like using legos. if you have two eight hole pieces, and you put them together using only two holes, the lego structure will not be as strong or work so well. seems like you have to cover the entire basis (put all eight holes into the eight pegs) for the program to work, and I am reading the help section for this, although if anyone knows of some good books that hold valuable knowledge and wisdom, I would certainly like to know about them, as I am dedicated to learning flash.

I have 1.swf, that in order to get it to operate as I have programed it, I must play it in the flash player. Playing it in Flash Professional does not work in its entirety because of conflicts in the enter key's duties. The 1.swf works as it should when played in the flash player outside of Flash Professional MX 2004.

Herein lies the problem. When I am loading 1.swf into presentation style 2.swf, and then play 2.swf in the Flash Player, the key board functionality of 1.swf (most specifically the enter key) does not operate as the 1.swf Actionscript 2.0 defines. I have created a projection file as well, to see if there was any other behavior that might occur, but the result were the same. Has anyone experienced this before and/or know how to fix this issue?

I truly appreciate any help that can be given.

Here is the section of the code dealing with the keys:
I have tried separating the different if(Key.isDown(Virtual Key Code) statements into different keyboard listeners, but to no avail.
If in order to solve this issue - if the kind Kirupian reading this stuff needs more code, let me know, as I'll have the rest of the comments finished shortly.

I am beginning to wonder whether an .swf file has a hierarchy for keyboard listeners between .swf files being loaded and the ones doing the loading?

Could there be some standard structure that my code has some type of interference with and that is the cause for the malfunctioning .swf?

//1.swf is loaded into a empty MC from within 2.swf.
this.createEmptyMovieClip("a_mc", 0);
loadMovie ("relative_file_name_1.swf", a_mc);

var re:Object = new Object();
//Keyboard listener

//++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++
//----------------------------------------------
re.onKeyDown = function() { // sets the key object's duties if (Key.isDown(190)) { // determines if the key pressed is the wanted key
//the comma key
stop();
// stops and sends the playhead back one frame
gotoAndStop(_currentframe-1);
}
if (Key.isDown(191)) { // makes sure that the needed key is the one pressed
//the period key
stop();
// stops and sends the playhead forward one frame
gotoAndStop(_currentframe+1);
}
if (Key.isDown(13)) {
//the enter key
if (z == _level0.gtFrame) {
//if the focus is on the go to frame text box(gtFrame)
var c:String = new String(gtFrame.text); //takes the //input from the text box and turns it into a string
var d:Number = parseInt(c); // turns the string into a //Number
oo.cla(d); //Frame.as object basically performs //gotoAndStop(var a:Number)
} else if (z == _level0.check) {
//if the focus is on the check box
check.selected = !check.selected;
} else if ((z == _level0.strt_loop_txt) || (z == _level0.end_loop_txt) || (z == _level0.rb1) || (z == _level0.rb2) || (z == _level0.rb3) || (z == _level0.ps_txt)) {
//if the focus is set on any of the custom loop's radio //components or text boxes
if (thread) {
//if moving from a play reverse to a play loop action
thread = false;
clearInterval(b);
}
if (threadtwo) {
//if moving from a play reverse loop to play loop
threadtwo = false;
delete onEnterFrame;
clearInterval(bb);
// this is needed to end the processes in case there is a change from play reverse loop to play
}
if (aaa) {
//if a pause interval has been set - aaa is set true when a pause interval has been called
aaa = false;
clearInterval(eee); // eee is the interval that runs a pause effect
}
//This series of code is similar to the play_btn code if (check.selected == true)
//sets up the var for the loop and calles the needed methods to make the loop function var iiiii:String = new String(strt_loop.text);
//take the text from the start loop input //text field, signifying the first frame in the //loop
var jjjjj:Number = parseInt(iiiii);
// turn that string into a number so the // computer can utilize the value
var kkkkk:String = new String(end_loop.text);
//take the text from the total # of frames //in the loop text field
var lllll:Number = parseInt(kkkkk);
// turn the Total #Of Frames In The string // into a Number
var nnnnn:Number = lllll+jjjjj;
// this line is necessary to determine which // frame is the end of the loop
oo.cla(jjjjj);
//Frame.as object basically performs //gotoAndStop(var a:Number)
// takes the playhead to the beginning of // the loop
play();
// set the loop/playhead into motion
onEnterFrame = function () {
if (_currentframe == nnnnn) {
// evaluates when the loop //has reached the userdefined //end of loop
oo.cla(jjjjj);
// becuase this is not a play reverse loop, we can // send the playhead back to the beginning of the loop // when the end of loop is reached.
if (rb1.selected) {
// this is continuous loop, no pause
play();
} else {
stop();
//if this is any // other type of // loop, it will stop // between // iterations
}
}
if (rb2.selected) {
// if the 'pause' radio button is // selected
txt:String = new String(ps_txt.text);
// take the variable form the // input text field
rr:Number = parseFloat(txt);
// must keep the decimal from a greater degree of accuracy, hence float
if (isNaN(rr) || rr<0) {
// just in case there is nothing in the field or a negative number
rr = 1;
// it will be set equal to one second
}
qq = _global.sp(rr);
// method call to return the # of iterations a loop must // run to simulate the pause in seconds
cc = setInterval(_global.ps(qq), 17);
// sets the interval for calling the pause method
aaa = true;
// when this variable is true, it activates code that will shut down the cc Interval
}
if (rb1.selected || rb3.selected) {
if (aaa) {
// using aaa in this way will reduce the # // of times this clear interval is called to // only those times when the setInterval // has been called
aaa = false;
clearInterval(cc);
}
}
};
}
}
};

Key.addListener(re);

Maybe I could send you an email with the file .fla minus the embedded video(otherwise the file size is 13mb, which I can only send 10mb right now).

thank you for your time!!

Playing Another Swf After One Finishes Playing
Hello.

My question is: how can I play an swf after the first one finishes playing?

I know I can do a load movie, but I don't have access to the first swf (or fla) that I'm loading first to add the code in the last frame to load the next. I hope this makes sense. ;/

Can I use an event handler? how?

Thanks1

Mac IE Playing Flash Is Inconsistent With PC IE Playing Flash?
Guys,

My supervisor has informed me that he has read somewhere that IE in mac is inconsistent in playing Flash objects (and its scripts, Actionscript or otherwise) with IE in PC. Is this issue discussed or listed somewhere? Please help.

Thanks


biggie


The Man of Tomorrow is forged by his battles today.

Playing With Hex
I need to make a function that will change the colour of a clip to a target colour gradually. So how do I do it? I can use the color object no problem, but I don't know how I would go about calculating the next step of colour as a hex number. is there a way I can convert to decimal?

Thanks

If Playing
I am working on some online training modules that are broken into chapters. Each chapter has a sound object that contains the narration. The navigation for each chapter contains prev. / rewind / pause / play / next and also a narration off (mute) button. I can get the sound object to pause and then play and mute just fine. the problem I am having is if the user presses the play button while the sound is already playing it starts a second narration etc... I can not get

on (press) {
if (playing!=true) {
_ _root.chpt1.start(0,999);
_ playing=true;
}

(which should stop this from happening) to cooperate with my pause and play script. It stops the user from being able to start multiple sound files but when the sound object is paused the play button does not start the sound where it left off. It doesn't start the sound at all. Any ideas?

Help Playing One Swf One After Another...
Hi

I need help in this.

I have 3 movie files, let say movie1.swf , movie2.swf and movie3.swf.

How can I make this 3 swf play one after the other?

Thanks!

Playing *.wav
hi,
What im trying to do is to make my MC say the numbers randomly selected between 1 and 10..if th number is 4 let me hear it say "four" and "two for 2"...(using my *.wav" files already on my comp.)

thanks

If Playing, Do Nothing?
i've got a slew of buttons that popup an MC...i want the same sound object to play no matter which button is pressed. BUT, there's no telling which button the user will click first. SO, how do i say: if NOT playing, begin playing. If sound is already playing, do nothing? (to keep the sound object from starting over everytime a button is pressed).

here's what's on each button right now:
Code:
on (press) {
this.attachMovie("DSfoundationAS", "DSfoundation1", 2);
DSfoundation1._x = 200;
DSfoundation1._y = 320;
}
on (press) {
loadMovieNum("preview.swf", 3);
fourthSound.stop();
thirdSound.start(0, 999);
}
on (release) {
_level3.gotoAndStop("foundation");
}


thirdSound is the object that I want to begin playing on button click...but I don't want it to start over whenever another button is pushed. Make sense?

thanks!!!

Now Playing?
Now Playing
http://www.q969.fm - Look at the Now playing. I just hypothesized a theory on how they are doing it, but I am still unsure. Here is what I thought up (Keep in mind I'm somewhat new to variables and such).

http://www.q969.fm/radio/songs.txt This is the .txt they are using. I'm on the main page where it is marquee'ing, that is dynamic text with the font changed and all, its source is the .txt, and the .txt is a simple text=Song title here. [b]However, I'm not sure how the .txt is updated on THEIR end! They can't be uplaoding a new song title every 2 minutes. There has to be something behind it. They also can't be renaming the file and everything.

I also would like to have the 20 most recent songs played displayed below it. Maybe not even Flash, however it would be nice. There may just be someone who is there and clicks a file name to play a file and it automatically saves and uploads. I'm not sure :/ Now that I think of it, it seems rather advanced. May be some PHP involved too.

What do you guys think?

Any help is appreciated!

Thanks

Playing MC's
i what to know how you can ake it so you can press a key on the keyboard e.g. spacebar and it plays a mc then you press another key and it plays another mc. to be more specific im trying to make an interactive skateboading animation where you press one key and the skater does a kick flip then press another key adn he does a 180. i can make the mc's just can do the coding. can you plz help

Playing MP3
I just want to play an mp3 that is located in a webserver.
I made the function like this :

function playSound() {
s = new Sound();
s.attachSound("http://www.mydomain.com/music.mp3");
s.start(0, 1);
}

playSound();

Anyone know why it does not work ?

Please help ...

Thanks

Playing Mc's Once And Only Once...
I have 15 scrolling buttons in a group. On release any of these given buttons will play 5 seperate mc's at once.

The problem I am having is that once a button is pressed and those 5 seperate mcs are played they are reset and played again upon release of buttons (2-15)

Because the buttons are scrolling when the page is loaded any one of the intial fifteen buttons can be pressed first.

How can I make it so that once any of those 15 buttons are pressed and the mc's are played, the mc's do not reset and do not replay?

Thanks for any help.

Playing A WMV
im guessing you use a Media Display box but what after that?

Playing MC
How do you get a MC to play just one time...cycling just the actions you created in the clip itself????

Playing A Mc Only Once
hey guys first time posting and could would really appreciate any imput getting my head around this concept.

I am working in Flash MX and have given a mc a rollover function so when the mouse runs over it, it will play the mc.
so far so good i can do this, however when the mc has played to the end i want it to stop and stay in that end position, i can achieve that by adding a stop frame. However if i rollover the target again it plays the mc again. i don't want this to happen!
any help would be *greatly* recieved

Mp3 Not Playing
I have created a flash file with an mp3 file in it and placed the swf in dreamweaver. When i open the html file on someone else computer the mp3 doesnt play. even if i put the mp3 file in the same folder as the html. HOw do i get the music to play?

Playing An Mp3...
Ok, so i, just for the heck of it, opened up flash and im trying to do something. So what i cant do right now is figure out 2 things (mabye only one, we'll see after i figure out the first). So anyway, im trying to get the thing to play a mp3 that i have when the flash movie starts (and then end when it ends, but wel'll get to that later). So im guesing that ill need to, somehow, get the mp3 into my library as a sound... How do i do this, i cant find anywhere in the help how to do this, ive pushed just about every button in the library window, and i can find "new font" and "new video" but i cannot find "new sound" or whatever i need to find...

After i can get the mp3 into my library, if i have any more problems, ill ask you then, no need to overload you with questions from the begining...

-Cuore

Playing A MC?
Well im in the process of figuring out how to work with buttons and MC's. What im looking for is when a mouse has a rollover and a rolloff on a button to have that event play a MC. I tried coding in the button and couldnt figure it out. Now ive moved on to making a movieclip the button. Im trying to code the MC to when the mouse rollsover to play the actual clip. The movie clip instance on the stage is companybtn_fld. I want MC's for rollover and rolloff.

Heres what i got and it aint working....

OnClipevent (Load)
companybtn_fld.OnRollOver.function(){
play();
}


Dazed and Confused
Matt

Playing MC From Var.
Hello, say i was to store the name of a MC that has just played from clicking it.

on (Press) {
Clicked = "t1";
this.gotoAndPlay("Clicked")
}

And then i click another MC, i want it to get "t1" to gotoAndPlay("AnotherClicked") to show the effect of an ending transistion how do i do this?

Cheers,
Turbs.

Playing Mp3's
Hi,
I'm using Flash MX v.7

I have a media component that is supposed to play an mp3 from the server. Whenever it loads, I get the message:

"A script is causing Flash Player to run too slowly. If it continues to run, your system may become unresponsive."

I get this everytime I try to use a component to play external media.

Any suggestions?

Thanks in advance
Deck

Playing Mp3's
Hi - using Flash MX 7

I have a media playback component linked to an mp3 file. No matter what I do, it plays the mp3 at fast (chipmunk) speed.

Am I doing something wrong?

Thanks!
Deck

Swf Not Playing :(
Ok guys, i made an SWF video so that i could have it as an intro to my site. The redirection of the html pages is not an issue. My problem is that even outside my HTML code for the embeded flash video, it simply doesnt play. Im completley oblivious as to why. Im thinking it could be because the file is 1.5 mb there could be a limitation to some buffer for flash or something. I have no clue what the problem is.

If i have the file on my desktop and play it from there from my browser, it plays fine. Im pretty sure it's not my uploading that is the problem since i tested a file uploaded from my pc with the link http://www.clan-dday.com/welcome1.swf and it shows fine. Maybe it's because it's not a vide or something im not sure. If you guys can't help me nobody can.

The link to the file i want as my intro is http://www.clan-dday.com/intro1.swf . Can anybody please help me with this?

MC's Not Playing?
Okay, so I have one problem. I have an MC and in it, about 9 keyframes and a stop action on the 9th keyframe. On the timeline I have 1 keyframe and 14 regular frames. I put the MC on the canvas, tested it, and it just flashes for one frame then goes away. I am using Flash CS3.

Any help appreciated.

Playing A Flv
Im creating a site largely based in flash and have been using the something like the following code to load each bit from buttons...

on (release){
loadMovie("cast.swf",holder_cast);
}

i then wanted to load up a video clip into a holder so i thought maybe using the same code but changing it to the filename.flv
however this does not load up the video, i did notice however that on the 'loadmovie' function it says it works with swfs and doesnt mention flvs so is there another that does work with them?
i am using flash cs3 profesional in action script 2.
Thanks for reading, hope someone can help!

How To Keep A Swf From Playing...
Hello, I have imported a .swf as a movie to be viewed by pushing a menu button, however the sound to the movie automatically plays before I even push the button. I am using the show movie, play movie for the button, which works fine but the sound plays on loading of my project. Help

Tell Swf To Do Something When Flv Is Done Playing
I have a movie clip with an instance of survey_mc

I have an flvplayback component with an instance of miMove_flv

I load the flv using the component inspector.

When The FLV is finished playing I want the movie clip survey_mc to play.



The survey_mc is just a box that pops up over the finished flv that gives the user the option to either continue what they were doing or to take the survey. I want this to pop up after each flv in my swf is complete

Thanks so much for any help. I've been trying to get this to work all morning with no luck.

FLV's Not Playing On Some Pc's
Hi

I have just coded all my movies into flv's and uploaded to my site. Now i can watch all the films but a few of my customers say that the flash player loads and then freezes whilst working out there bandwidth. All of the people that can't access the files are on a min of 6 meg broadband and have the lastest download of adobe flash. Any idea on what could be the problem would be gratefully appreciated

Cheers

FLV Not Playing
Hey All,
I have a video on this site: http://creativenetdesign.com/ and it is not playing. Yet when I upload it to a different server it does play: http://www.dead-line.com/victor/

Does anyone know why? I am stumped. Thanks for the help, Dvl

Playing Flv
I am new to Flash and Action Scripting.I am trying to play a movie in flv format..I get a blank screen when i run it..I am using flash mx pro and flash player 8

The piece of code is
var my_video:Video = new Video();
var netConnection:NetConnection =new NetConnection();
netConnection.connect(null);
var netStream:NetStream = new NetStream(netConnection);
my_video.attachVideo(netStream);
netStream.setBufferTime(0);
netStream.play("water.flv");

Is FLV Playing
Hello

check the forum for this but I could not find anything.

I have an flv on the stage and an animation that goes with it.
if I stop the flv I want the animation to stop.

something like


Code:
if(myFLV == stop(){

myAnimation.stop();

}

if( myFLV == play(){

myAnimation.play;
}
can anyone help?

Playing MP3
I just want to play an mp3 that is located in a webserver.
I made the function like this :

function playSound() {
s = new Sound();
s.attachSound("http://www.mydomain.com/music.mp3");
s.start(0, 1);

}

playSound();

Anyone know why it does not work ?

Please help ...

Thanks

Playing MCs In Then Out Again
Its very hard to explain this in a clear way, the best way I can come up with is this:

Say I have an animation that opens a door, the shows me content. Easy enough. Say I have lots of links that do this. How do I play an animation to show the door shutting before the new content appears?

Basically its like this what I need:

If "door.mc=open" play "close door.mc" then go to "open door.mc and go to links content"

^ I guess each door would need its own mc with this, but Im sure people have better ways as people often animate back out of things. Im just using the door as its the clearest way I can describe it. I have looked everywhere and have got nowhere really. Surely people use this a lot if they need to animate back out of something. Like with image galleries must fade out an image before showing the next one etc. Please help.

I have included a fla with 3 links to the door and the door opens, but i do not know how to get the door to shut if its open on new link click.(this is just a test fla to see how to do it)

SWF Not Playing
How come my swf website will not play in Firefox, Netscape and Opera, while it plays perfectly in Internet Explorer. I have flash player 8 instaled on all of them.
Can you guys and gals check it out and tell me what's wrong.

Here is the link

Click Here

PS. It is in Polish

To enter you have to pree the "Wejście do Serwisu " link

Playing An Flv
Hello,

I encoded a .wmv to a .flv within Flash and published the .swf. I used the SteelExternalAll.swf skin for play control during the encode process. I uploaded the html, .flv, .swf, and SteelExternalAll.swf files to my server. Everything worked great. Hoever, now I've been requested to run this video from a different server. I was able to upload the html to the new sever, and changed the path to the .swf to access it from my original server. It worked fine, except one thing...the skin does not appear. It seems the skin (SteelExternalAll.swf ) must be in the same directory as the html executing the flash? Anyway, there is no way for me to upload the SteelExternalAll.swf file to the new sever - it is not allowed. Is there any way for me to get this to work under these circumstances? Any way for me to access the SteelExternalAll.swf file on the original server from the new server maybe? I'm kinda stuck. Thanks for any help - I hope I explained this ok :-).

Bob





























Edited: 11/09/2006 at 06:23:50 PM by BobMelnyk

Self Playing CD Anyone?
Hi there,

I´m quite new in the wounderfull world of Flash 8 and I have bumped into a small problem. Im about to export and publish a flash movie for a cd hand-out. I would like it to be self playing, that is that the movie will run as soon as the reciever puts it in his/hers computer. Does anyone know how to do that? Greatful for replies.

Regards

åäö789

Playing FLV From CD-ROM
When running long a FLV from CD-ROM the seek times
are terrible. Sometimes taking a full 3-4 minutes to seek
near the end of a 160x120 - 30 minute movie for example.
And that is on a 3ghz machine.

How can this be reduced to approx. 3-5 seconds?
This is what our customers expect from video.
They need to bounce around the video rapidly.

Also, splitting the FLV into smaller clips is not a solution
and we can't we install to the hard drive.

Thanks.

Mp3 Not Playing
Hi there
I was wondering if anyone could help me with my little problem. I've been unable to get a simple xml driven mp3 player to work within a site i am developing. The standalone swf and published html file works fine here:
http://www.stefanlesik.com/gareth/gallery-1/music-player/audioplayer.html
http://www.stefanlesik.com/gareth/gallery-1/music-player/audioplayer.swf
but when i embed the swf into my site it does not play the mp3. all the files are in the same directory so I haven't a clue what I could be doing wrong. The page I am trying to embed it into is here:
http://www.stefanlesik.com/gareth/gallery-1/g1.html
Any help would be very much appreciated.
Thanks in advance

Playing A .swf On A PC?
My client is trying to play a .swf file (outside of a browser) on his PC. He has Flash Player 10 installed, but the player doesn't seem to recognize the file. I can play this file on a Mac with no problems. Any suggestions would be greatly appreciated.

Thanks,
D.

How Would I Say 'if This MC Is Already Playing...
Hey guys...
I have a drop down menu. When you select an item in the menu it plays a certain MC...some menu items play the same MC. How do I say ..'if this MC is already loaded into container_MC do not reload and play the MC over again?

Does that make sense?

any help appreciated.

cheers
Jain

Playing .flv From A Cd
I'm making a cd and want to attach .flv files to mediaplay components. The problem is that this connection is normally made through Url's on html pages. How do I show the mediaplayer where to look for on on a cd, taking into account that peoples cd drives have different extensions and I want to make it for cross platforms? E.g. Windows and Macs.

Any help would be great cus i'm stumped.

Cheers

Copyright © 2005-08 www.BigResource.com, All rights reserved