Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: save as an FLV

  1. #1
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default save as an FLV

    This may be one of the dumbest questions yet
    but.... here goes
    Flash doesn't seem to have an export for FLV unless i'm not paying attention.
    There are utils that I can get to convert files.


    also..

    is there an advantage to using flv with the player on your site as opposed to using swfs?
    The files in question that I would be working with contain no interactivity.

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    is there an advantage to using flv with the player on your site as opposed to using swfs?
    The files in question that I would be working with contain no interactivity.
    Flv's are just video. Swf can be interactive. Yeah, I'm 90% sure on this one, you'd be better off with flv's.
    - Mike

  3. #3
    Join Date
    Aug 2008
    Posts
    25
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default

    Quote Originally Posted by evan View Post
    This may be one of the dumbest questions yet
    but.... here goes
    Flash doesn't seem to have an export for FLV unless i'm not paying attention.
    There are utils that I can get to convert files.


    also..

    is there an advantage to using flv with the player on your site as opposed to using swfs?
    The files in question that I would be working with contain no interactivity.
    An FLV will save you some space, but it will have to be put into a swf anyways because you need a swf player to view and FLV, well you do if it's on a webpage.
    You're going to want to run the FLV compression and link it to the swf player component in flash.

  4. The Following User Says Thank You to smswetz For This Useful Post:

    evan (08-08-2008)

  5. #4
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    The reason I asked is becuae I want it to stream -play at it load -can't do that with swf It think.

    With interractive work -preloaders are the way to go.

    Whith video or just animation I want to limit wait time.

  6. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Depends on the content. As you said, "with interactive work preloaders are the way to go". The same principle can be applied towards static .swf files. Just play the animation once it gets to 10% loaded instead of 100%.

    If the content isn't an actual video, you won't get much benefit from converting it into a .flv. In fact, you might lose some clarity (unless you first record the animation in some sort of video format).

  7. The Following User Says Thank You to Medyman For This Useful Post:

    evan (08-10-2008)

  8. #6
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    In the case of the flv
    It's movies no animation this time no interactivity.

    Can you steer me over to a place that discusses the way to set the swf to play at 10%

    also I found a good link

    that talks about as 3 preloaders -but he uses scenes in his tutorial -so the example there has limited use.

    I would really like to see how those "percent" preloaders work-ie the ones that show you the percentace of your file that is loaded.

    That would be super cool

  9. #7
    Join Date
    Jul 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If no interactivity, you just can see it wihout any pause. It is not possible to stop it or drag it for fast speed.. Really.

  10. #8
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    That much I have -namely using buttons -ie
    stop();
    play();
    rewind:
    gotoAnd Play(1);
    speed it up:
    stage.framerate +=5;

    etc.
    I wanted to set up an array like this:

    var clips:Array = ["introswf","pt1.swf","pt2.sfw" ];
    var index:int = 0;


    // Stuff for loading files

    var thisLoader:Loader = new Loader();
    thisLoader.contentLoaderInfo.addEventListener(Event.INIT, doneLoading);

    var thisMC:MovieClip = new MovieClip();
    stage.addChild(thisMC); // Add empty MC initially so the nextClip function works even on first call

    // Gets the next MC, waiting for INITialization before adding it to the stage

    function nextClip():void {
    thisLoader.load( new URLRequest(clips[index]) );
    }


    // Remove old clip, tell AS that the loaded file is the new one, add it to the stage, and play.

    function doneLoading(e:Event):void {
    stage.removeChild(thisMC);
    thisMC = MovieClip(thisLoader.content);
    thisLoader.unload();
    thisMC.addEventListener(Event.ENTER_FRAME, runOnce);
    stage.addChild(thisMC);
    thisMC.gotoAndPlay(1);
    //I added this to center the movieclips --Evan----------------------------
    //thisMC.x=150;
    //thisMC.y=100;
    }


    // When currentFrame equals totalFrames in loaded clip (playing), increment index & play the next clip.

    function runOnce(e:Event):void {
    if (thisMC.currentFrame == thisMC.totalFrames) {
    thisMC.removeEventListener(Event.ENTER_FRAME, runOnce);
    index = (index + 1)%(clips.length);
    nextClip();
    }
    }


    // Call nextClip to automatically start the first clip

    nextClip();

    // Call nextClip to automatically start the first clip

    nextClip();
    With this script the arrays loop over and over again.

    What I want to do is get them to just stop after the last one.

  11. #9
    Join Date
    Jul 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    code? AS3?


  12. #10
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    code? AS3?
    The original reason for this post was to figure out how to do something simple. -namely import an .avi .mov, and make it stream in the case of a swf you can also export it as one of those files and import it again(why in a minute).

    I overlooked a nice feature, that is.. Flash allows you to import video and stream it with a pluggin. How? just choose one of the radio buttons to import it as streaming media, the it has a dropdown selection to allow several stock choices of buttons.

    So if you just want to play a non-inreactive swf just export as an avi or mov and import with these option (it WILL compromise some quality though).

    If you want to controll a swf without doing that -you can do it programmatically as I showed above. The only thing a HAVE NOT figured out is how to possibly get a SWF to stream without exporting it and importing it.

    There should be a way to do that with actionscript-I think

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •