A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: cdrom production... why is it spinning up after runtime begins??

  1. #1
    Senior Member
    Join Date
    Mar 2003
    Location
    wishconsin
    Posts
    151

    cdrom production... why is it spinning up after runtime begins??

    Ok. I have a cdrom project that consists of a 4 min slide show and some clips of video(about 7 megs total). My question is, why is the cdrom drive spinning up 2-3 minutes into my presentation? I'm using a flash projector, and i thought flash preloads everything before it starts playing back. There are no additional swfs. I've noticed that it spins the cd occasionally when a video clip begins to play, Ive also noticed that even rolling over my button movie clips after the presentation has completed makes the cd spin.... the rollover effect doesn't even work until the cd spins for a couple of seconds. Unacceptable. The audio track containing music and VO is set to "stream", does that have anything to do with it?

    Please help me as I am forming premature wrinkles under my eyes because of this

    thanks all

  2. #2
    Registered User Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Sounds set to stream is probably doing it. Flashplayer sets the streaming parameters for the sound. Put the buttons sounds in the frames of the button symbol. Set to Event. I've even got good results using attachSound and onRollOver to play button sounds and it seems to work faster.

  3. #3
    Senior Member
    Join Date
    Mar 2003
    Location
    wishconsin
    Posts
    151
    im not using button sounds. the sound that is set to stream is the voiceover and music (mixed together and imported to flash) I don't want to set my soundtrack to event, because I have a pause/play button for the presentation.

    right now im trying to have all my vid clips appear on the timeline immediately, and them playing them when the time comes with action script...

    any other thoughts?

  4. #4
    Senior Member
    Join Date
    Mar 2003
    Location
    wishconsin
    Posts
    151
    Let me narrow my question down a bit. My movie clip buttons are scripted and located on the first frame on the main timeline.

    On slower machines in particular, when I rollover these buttons at anytime during the presentation, this cd spins up, stopping everything. Finally after a few moments, the rollover effect i have scripted executes, and the presentation continues. Subsequent rollovers occur as expected, for the most part.

    If there is no way to guarantee that a cdrom does all of it's spinning before the beginning of a presentation, can someone at least tell me this as it would be a tremendous amount of progress in researching my problem.

    Here's the script for one of my buttons if that helps:
    // quit button
    quitRoll_mc.onRollOver = function() {
    quitRoll_mc.onEnterFrame = undefined;
    quitBtn_mc.gotoAndPlay("over");
    };
    quitRoll_mc.onRollOut = function() {
    if (quitBtn_mc._currentframe != "up") {
    quitRoll_mc.onEnterFrame = function() {
    quitBtn_mc.gotoAndStop(quitBtn_mc._currentframe-1);
    };
    }
    };
    quitRoll_mc.onPress = function() {
    quitBtn_mc.gotoAndStop("down");
    };
    quitRoll_mc.onRelease = function() {
    quitBtn_mc.gotoAndStop("overend");
    fscommand("quit");
    };
    quitRoll_mc.onDragOut = function() {
    quitBtn_mc.gotoAndStop("up");
    };

    Thankyou

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