A Flash Developer Resource Site

Page 19 of 26 FirstFirst ... 9151617181920212223 ... LastLast
Results 361 to 380 of 519

Thread: [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] [

  1. #361
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    Originally posted by rev_nort
    Here is the FLA file:

    http://www.mediasink.com/work/alongcam_mm.fla
    do you have the SWF / HTML file up on a url? so i can test it over the internet?

    mike chambers

    [email protected]

  2. #362
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    sure try the file here: (audio included)

    http://www.mediasink.com/work/alongcam_mm.html

  3. #363
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    Originally posted by rev_nort
    sure try the file here: (audio included)

    http://www.mediasink.com/work/alongcam_mm.html
    what is supposed to happen?

    mike chambers

    [email protected]

  4. #364
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    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]

  5. #365
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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.

  6. #366
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    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]

  7. #367
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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.

  8. #368
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    also, have you put sometraces in your code to see where it is breaking?

    mike chambers

    [email protected]

  9. #369
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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();
    }

  10. #370
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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........

  11. #371
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    Originally posted by rev_nort


    on (release) {
    this.nextFrame();
    }
    try

    on (release) {
    nextFrame();
    }

    mike chambers

    [email protected]

  12. #372
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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.


  13. #373
    Senior Member RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016
    is this on a button? surely it should be
    _parent.nextframe();

  14. #374
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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.


  15. #375
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    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]

  16. #376
    flashing since v3
    Join Date
    Jan 2002
    Posts
    401
    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

  17. #377
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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.

  18. #378
    Senior Member
    Join Date
    Oct 2000
    Posts
    310
    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]

  19. #379
    Junior Member
    Join Date
    Apr 2002
    Posts
    24


    *bump*


  20. #380
    Junior Member
    Join Date
    Apr 2002
    Posts
    24
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center