|
-
04-23-2002, 11:26 AM
#361
do you have the SWF / HTML file up on a url? so i can test it over the internet?
mike chambers
[email protected]
-
04-23-2002, 11:33 AM
#362
-
04-23-2002, 11:39 AM
#363
what is supposed to happen?
mike chambers
[email protected]
-
04-23-2002, 11:42 AM
#364
i jsut tried this, and got a "this movie is being unresponsive" error, which usually means that there is an error in the ActionScript code.
regardless, this is not releated to the streaming issue. if you want to continue to debug this, can you open a new thread with an appropriate topic (and post the link here)?
thanks...
mike chambers
[email protected]
-
04-23-2002, 11:43 AM
#365
you press the button and execute this script
second frame:
// How much is loaded
this.play();
_root.cStatus = "buffering";
goPoint = .3;
if (Math.abs(this._framesloaded/this._totalframes)>=goPoint) {
this.gotoAndPlay("audio start");
} else {
this.nextFrame();
}
third frame:
this.prevFrame();
when the .3 of the file has loaded it should skip scenes and play the audio.
-
04-23-2002, 11:49 AM
#366
Originally posted by rev_nort
you press the button and execute this script
second frame:
if (Math.abs(this._framesloaded/this._totalframes)>=goPoint) {
this.gotoAndPlay("audio start");
} else {
this.nextFrame();
}
is this code contained within the button? if so, this refers to the button and not the timeline.
mike chambers
[email protected]
-
04-23-2002, 11:50 AM
#367
OK.
other threads:
http://board.flashkit.com/board/show...hreadid=300351
http://www.were-here.com/forums/show...hreadid=133477
I have tried using all different preload methods with no luck. I do not wnat to load the enitre sound. I just need a buffer for streaming audio. The files are too long to make someone wait.
-
04-23-2002, 11:51 AM
#368
also, have you put sometraces in your code to see where it is breaking?
mike chambers
[email protected]
-
04-23-2002, 11:55 AM
#369
No the first frame of the movie has a stop action in it. So that I can let the next clip in the player preload. Then tell it to check how much is loaded when I need it. I simply added the button to the first frame of the audio file so you can get to the second frame (code above)without using the player. The button code is simply :
on (release) {
this.nextFrame();
}
-
04-23-2002, 12:09 PM
#370
Yes I have...as soon as it executes the preload loop, the player stalls, because the amount loaded never changes once the code starts. If the file has loaded beyond the point I specified it works great, but if it hasnt the movie stops loading the clip. Breaking the code. I cannot get any form of preload to work properly. Sorry I dont mean preload. I am using these as more of a buffer for longer files, not to preload an enitre file. NOT even this works:
//code on frametwo:
// How much is loaded
ifFrameLoaded ("audio", 100) {
this.nextScene();
}
this.nextFrame();
//code on framethree:
this.prevFrame();
which used to work just fine........
-
04-23-2002, 12:23 PM
#371
Originally posted by rev_nort
on (release) {
this.nextFrame();
}
try
on (release) {
nextFrame();
}
mike chambers
[email protected]
-
04-23-2002, 12:30 PM
#372
The button script really should not make a difference. Actually on the fla I posted it is this:
on (release) {
gotoAndPlay(2);
}
it doesnt even exist in the actual scenario. It is only to move the movie past the first frame which has a stop frame in it without the use of my player (the player works fine). Becasue I am giving you the audio FLA only. The button moves the file along, allowing you to start the preload sequence, to illustrate the problem.
The Main problem is, I cannot get any sort of "partial preloader", or "buffer" to work at all on a pc.
The FLA is located here:
http://www.mediasink.com/work/alongcam_mm.fla
it has no audio in it. If you add an audio file you will see the problem.
-
04-23-2002, 12:32 PM
#373
Senior Member
is this on a button? surely it should be
_parent.nextframe();
-
04-23-2002, 12:46 PM
#374
should I repost all files without the button without the button or stop action in the first frame? Either way I get the same result. The button helps to debug, because the problem does not occur until the second frame, where the preload script is. If it is my code then I truly appologize. I have tried rewritting a "partial preload script" several times. Including using ones that have worked in the past.
-
04-23-2002, 12:54 PM
#375
yep, post it in this thread:
http://board.flashkit.com/board/show...hreadid=300351
also, put some traces in to isolate where it is not working like you would expect, and post the results.
mike chambers
[email protected]
-
04-23-2002, 12:59 PM
#376
mike, your bulletin on mm is innacurate... i want to stream my site, http://www.route4plc.com... the files are very small, but unfortunately peak over the bandwidth line on the preload.... so what i want to do is preload the spikes before people get to the main site....
and the thing is, even though the files are like 30Kbs, the streaming bug still effects them...
just an example of how it isnt only the media rich sites that are suffering
-
04-23-2002, 02:47 PM
#377
Here is a new FLA crossposted with my other thread.
I re-wrote it, and made it self sufficient. Check out the trace items in the first frame and follow the directions.
-add some audio to the second frame in the audio scene (labelled "add audio here")
http://www.mediasink.com/work/nobutt.fla
I left the button in because it helps to illustrate the problem, but added the trace actions you requested.
Someone please give me an answer to why this is happening.
-
04-23-2002, 02:52 PM
#378
Originally posted by RazoRmedia
thanks for the continued updates Mike, so we can expect it a week on Friday (3rd May)?
according to the bulleting, yes, it should be avaliable by Friday, May 3.
mike chambers
[email protected]
-
04-23-2002, 02:59 PM
#379
-
04-23-2002, 03:32 PM
#380
see my appology here:
http://board.flashkit.com/board/show...hreadid=300351
(or dont bother)
[Edited by rev_nort on 04-23-2002 at 05:55 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|