FLVplayback: skip intro?

So
I'm making a flash project and I have 10 different videos on it (embedded using FlVPlayback) and all the videos have the same stupid intro. My boss would like me to add a "skip intro" button which would allow you to jump to about 19 seconds in the video.
what I have done so far is insterted a video file without the introduction in a new keyframe and have the "skip intro" button linked to keyframe.
the only problem is that if you do not wish to press the skip intro button, it stays up on the screen the entire time, and we would like it to disappear. I've thought about using skipintro.alpha = 0 at a cuePoint located 19 seconds in, but i'm not really sure how that would work.
any ideas? am I on the right track? any shortcuts to what I'm doing?
thanks!

anyone?

Similar Messages

  • FLV and skip intro...

    If I have an FLV that I've output as SWF with skin to have embedded into an HTML page, and now a 'skip intro' is needed - though I'd have to make note of the actual time or keyframe in which the intro completes...How is this possible? Clearly, a button would need to be added for that kind of interactivity?
    Is this sort of thing best for the videographer to build into his movie file (FLV)
    What would be the most appropriate method? Thanks.

    add a movieclip or button, assign a click event listener and in the listener function stop your video, remove and null your flvplayback instance and load or otherwise display the next part of your site/app.

  • HELP - Add a skip intro btn to AS3 preloader

    Hello, I'm a bit of a newbie to AS3 and new some help!
    I've created a preloader.swf that (when loaded) loads an external swf. I would also like to add a skip intro btn, but when I do, the preloader seems to loop over and over (blinking - I know, high tech).
    This is the preloader code. I have it in the first frame of the preloader.swf:
    stop();
    var myRequest:URLRequest = new URLRequest("flash/index.swf");
    var myLoader:Loader = new Loader();
    myLoader.load(myRequest);
    myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
    var myPreloader:Preloader = new Preloader();
    function showPreloader(event:Event):void {
        addChild(myPreloader);
        myPreloader.x = stage.stageWidth/2;
        myPreloader.y = stage.stageHeight/2;
    function showProgress(event:ProgressEvent):void {
        var percentLoaded:Number = event.bytesLoaded/event.bytesTotal;
        myPreloader.loading_txt.text = "Loading - " + Math.round(percentLoaded * 100) + "%";
        myPreloader.bar_mc.width = 198 * percentLoaded;
    function showContent(event:Event):void {
        removeChild(myPreloader);
        addChild(myLoader);
    On it's own, it works fine.
    Then I added a MC with the instance name "skipIntro", and then added this script to the script above:
    skipIntro.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
    function fl_ClickToGoToWebPage_2(event:MouseEvent):void
        navigateToURL(new URLRequest("/residences/residences.php"), "_blank");
    Any help? Thanks.

    There doesn't appear to be anything wrong with the code.  Does it start behaving correctly again if you comment out that code?  Do you get any error messages?  The behavior you describe (looping/blinking) is indicative of an unhappy processor.

  • Skip intro button please help

    I have a flash intro to my website and I have (2) buttons one sound one skip intro.  The sound works fine but the skip button will not work.  Here is my code.
    skipBtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void {
    gotoAndPlay(401);
    any suggestions?

    This is for as3?
    WARNING: Text field variable names are not supported in ActionScript 3.0. The variable 'text' used for an unnamed text field will not be exported.
    WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.
    ReferenceError: Error #1065: Variable duplicateMovieClip is not defined.
    at default_fla::Symbol6_2/frame1()
    ReferenceError: Error #1065: Variable duplicateMovieClip is not defined.
    at default_fla::Symbol12_4/frame1()

  • Shared Object skip intro after first visit

    Hopefully you guys can see something i am missing. I want to skip the intro of the flash movie after the first visit, so the user doesn't have to see the intro to get to the main site.
    I have the code below on frame 1, an intro flv on frame 2 and the main site on frame 3. Code seems perfect and straight forward, why is it not working for me. I had a stop(); on frame 2 and 3 but I removed them to see if that would fix it, but no luck.
    _so = SharedObject.getLocal("skipIntro");
    _introcheck = 0;
    if (_so.data.introcheck != _introcheck) {
    _so.data.introcheck = 0;
    _so.flush();
    //Intro has not been played
    gotoAndStop(2)
    } else {
    //Intro has been played
    gotoAndStop(3)

    you didn't try the code if you failed to execute:
    _so.data.introcheck=1;
    if you don't care whether users see your intro once, use:
    _so = SharedObject.getLocal("skipIntro");
    _introcheck = 1;
    if (_so.data.introcheck != _introcheck) {
    _so.data.introcheck = 1;
    _so.flush();
    //Intro has not been played
    gotoAndStop(2)
    } else {
    //Intro has been played
    gotoAndStop(3)

  • Skip intro page cookie for 24 hours

    Hi - does anyone have a javascript I can put on an "intro"
    page that if someone has seen the flash intro page, it
    automatically skips to the homepage if the viewer hasn't visited
    the site over a certain amount of time 24 hours.. 7 days, etc?
    Thank you - Eric

    likely candidates here
    http://www.google.com/search?hl=en&ie=ISO-8859-1&q=splash+page+javascript+co
    okie
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How to load other obejects in flash file after intro using ActionScript 3.0

    How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
    see codes already in
    stop();
    skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
    function skipintro_b_clicked(e:MouseEvent):void{
    gotoAndStop("whoweare");
    There is another script there
    /* Simple Timer
    Displays a countdown timer in the Output panel until 30 seconds elapse.
    This code is a good place to start for creating timers for your own purposes.
    Instructions:
    1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
    var fl_TimerInstance:Timer = new Timer(1000, 30);
    fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
    fl_TimerInstance.start();
    var fl_SecondsElapsed:Number = 1;
    function fl_TimerHandler(event:TimerEvent):void
              trace("Seconds elapsed: " + fl_SecondsElapsed);
              fl_SecondsElapsed++;
    i have no knowledge about these thing ,any help really appreciated .

    Ned Murphy Thank you very Much .It is working .Great advice

  • Need Help Adding Flash Intro To Existing Site

    OK I'm helping a buddy of mine out and he's already got his sie built for him by someone else, the index file is .php. Now I've got this little Flash animation that we want to run first, then when it's done go to his website. When I try to add it to the top of the index page all that happens is the site loads like in normally did but with the Flash movie at the top instead of being another page. What do we need to do to have it load on it's own first?

    yes.  the index.html should embed your flash intro swf and at the end to your swf (and in a skip intro button code) you should open the current main page (using getURL or navigateToURL).

  • Active Content Update ruins my Flash Intro

    Forum,
    I installed the Active Content Update to get rid of the
    "Click here to Activate this Content" message during mouseovers on
    my Flash Intro.
    However, now that the message is gone, I have two problems
    that are somehow being controlled by the AC_RunActiveContent.js or
    something.
    1. The flash is supposed to be centered on the screen, but
    instead it's in the upper left. Even the html calls for it to be
    middle.
    2. The "Skip Intro" and "Sound" controls are gone
    Can anybody help me understand what happened and what I need
    to do to fix it?
    You can see where I'm at by going to: www.imagine1group.com
    www.Imagine1Group.com
    I appreciate any help. I'm kind of new to this.
    Regards,
    John

    aniebel,
    Thank you for the answer to #1. I've now got it in the middle
    of the screen.
    I cannot for the life of me figure out why my controls are
    not visible! I've tried Firefox and IE.
    Somebody is going to know what's going on. Here's the quick
    summary...
    If you go to
    http://www.Imagine1Group.com
    you will see that there are no controls at the bottom for [SKIP
    INTRO] or [SOUND]
    However, if you go to
    http://www.Imagine1Group.com/imagine1intro.swf
    you will see the controls are clearly at the bottom of the flash.
    Please, any ideas?

  • Please Help - flash Intro how to link to nex page

    HI there
    The end of the flash intro, i have one link on the bottom (
    skip intro)
    I want th end of flash intro, it will automatic link to next
    page ( mai.htm) without click any link or.....
    Please help
    Thank you
    Grace

    Hi
    Add this code to the last frame of your intro:
    getURL ("yourlink.html");

  • Flash intro newbie

    I don't know if this belongs in flash or dreamweaver, so I'm
    posting it in both places. I have a quicktime movie (originally a
    motion movie) that I converted into flash video in hopes of using
    it as an intro to a webpage created with dreamweaver. It works
    fine, but I cannot figure out how to make it go away after the
    movie is done and leave behind the contents of the page. My
    original thought was to put it in a layer and make the layer with
    the flash movie invisible once the movie was done playing, but that
    didn't work. I then tried adding the behavior go to URL and using
    the URL of the page without the flash movie, but that didn't work,
    either. Is there any way top use a flash movie in dreamweaver and
    then make it go away? Is there a simpler way to accomplish using a
    flash movie as an intro? Thank you so much for your help.

    I might be wrong, but I think you have to build that in to
    the flash
    file itself.
    But don't forget to add a skip intro link on your home page
    because I
    think it's fair to say that a lot of internet users find
    flash intros
    annoying. It's just another thing standing in the way of
    getting the
    information they're looking for.
    drb333 wrote:
    > I don't know if this belongs in flash or dreamweaver, so
    I'm posting it in both
    > places. I have a quicktime movie (originally a motion
    movie) that I converted
    > into flash video in hopes of using it as an intro to a
    webpage created with
    > dreamweaver. It works fine, but I cannot figure out how
    to make it go away
    > after the movie is done and leave behind the contents of
    the page. My original
    > thought was to put it in a layer and make the layer with
    the flash movie
    > invisible once the movie was done playing, but that
    didn't work. I then tried
    > adding the behavior go to URL and using the URL of the
    page without the flash
    > movie, but that didn't work, either. Is there any way
    top use a flash movie in
    > dreamweaver and then make it go away? Is there a simpler
    way to accomplish
    > using a flash movie as an intro? Thank you so much for
    your help.
    >

  • Animated Intro for Website

    I want to create an animation for a website I'm making for an assessment. I can make the actual animation okay, but can anyone let my know exactly what to do in terms of the Actionscript stuff (I have no idea). When the intro finishes, I want it to load straight into my website, in the same browser. Where would I put the actionscript coding for that? And I also want a "Skip Intro" button, so what would I put in to make it do that? I have never done anything like this before so have no idea what to do and any help would be great. Even any links to a good tutorial would be helpful because I've been trying to find some and haven't been very successful.
    Also, do I need the website to be up and running before I put the URL in Flash or is there a way to practise with it while I am still making it. I am using Dreamweaver 8 and Flash 8 for the website and animation.
    Thanks for any help!

    Long time I do not make something related for web, but If memory do not fails me, I think this is what you need:
    For the action script you need to load directly to your webpage as soon it ends, it have to go on the end of the time line since you want it to load when it ends.
    There is a little panel that could help you called "Behaviors".
    http://img707.imageshack.us/img707/903/picture7.gif
    Or you can type it if you want:
    getURL("http://www.adobe.com","_self");
    For the skip button:
    Well, you can do two things:
    A) Set the same script (getURL) on the button.
    B) Set gotoAndPlay to "last frame where you inserted the getURL script".
    I should suggest to use option A since is simpler and right to the action.

  • Resizing an FLA Movie & Skipping button (Help)

    Hi,
    i want to resize an Flash movie (full movie) which had a size of dimension 448*280 pixels,
    and need it to play automatically instead of clicking START INTRO button,
    anyone please help me regarding this issue,
    thanks,
    regards
    zains

    I want an button same as "skip Intro" button & need that button to link to another page after skipping movie.
    like "Skip Intro Button" has following action scirpt :?
    on (rollOver)
        gotoAndPlay(2);
    on (releaseOutside, rollOut)
        gotoAndPlay(11);
    on (release)
        _parent.s.gotoAndPlay(2);
    i want my button to do the same and move to another page.

  • ProgressEvent works on 32bit but not 64bit

    I'm not sure if the problem is as straight forward as the title describes, but it seems to be the only explaination.
    I'm loading a video at the begining of an application, but I don't want the skip Intro button to appear until the video "READY" event is fired. This works perfectly on the 32bit flash player but won't work on the 64bit flash player. It's not a streaming issue because I tested in both the local environment and via a server.
    I know the 64 bit player is in beta still, so there will be issues like this. I'm just wondering if anyone has found a work around.  Here is my code if it helps.
    import fl.video.FLVPlayback;
    import fl.video.VideoEvent;
    import fl.controls.Button;
    import flash.events.MouseEvent;
    import flash.events.ProgressEvent;
    import flash.display.*;
    videoloadingMC.visible=false; //loading bar
    var jump2Main_btn:jumptomenu = new jumptomenu();// The Skip button
    addChild(jump2Main_btn);
    jump2Main_btn.visible=false;
    jump2Main_btn.x=30;
    jump2Main_btn.y=635;
    jump2Main_btn.addEventListener(MouseEvent.CLICK, skipVideo);
    var intro_VDO:FLVPlayback = helpBox.intro_vdo;
    intro_VDO.addEventListener(VideoEvent.COMPLETE, videoDone);
    intro_VDO.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, videoREADY);
    intro_VDO.autoRewind = true;
    function listenerObject(event:VideoEvent):void
         intro_VDO.activeVideoPlayerIndex = 0;
         intro_VDO.play();
    intro_VDO.addEventListener(VideoEvent.READY, listenerObject);
    //------------------------Preloader--------------------------
    var percenTage:Number=Math.floor(intro_VDO.bytesLoaded/intro_VDO.bytesTotal *100);;
    intro_VDO.addEventListener(ProgressEvent.PROGRESS, videoprogressHandler);
    function videoprogressHandler(event:ProgressEvent):void
      //SoundMixer.stopAll();
      videoloadingMC.visible=true;
      intro_VDO.stop();
      trace ( "in preloader");
      percenTage = Math.floor(event.bytesLoaded/event.bytesTotal *100);
      videoloadingMC.gotoAndStop(percenTage);
      if (percenTage >=50)
       intro_VDO.addEventListener(Event.ENTER_FRAME, OnEnterFrame);
       intro_VDO.play();
      trace("progressHandler: bytesLoaded=" + event.bytesLoaded + " bytesTotal=" + event.bytesTotal);
      videoloadingMC.loadingT.text = "Loading " + percenTage + "%";
    //------------------------Preloader--------------------------
    function OnEnterFrame(event:Event):void
    if (intro_VDO.playing == true)
      videoloadingMC.visible=false;//hides loading bar
      intro_VDO.removeEventListener(ProgressEvent.PROGRESS, videoprogressHandler);//remove Preloader
      intro_VDO.removeEventListener(Event.ENTER_FRAME, OnEnterFrame);
    function videoREADY(event:VideoEvent):void
    jump2Main_btn.visible=true; // show skip button
    if (percenTage >=50)
      intro_VDO.addEventListener(Event.ENTER_FRAME, OnEnterFrame);
      intro_VDO.play();
    else
      intro_VDO.stop();
    function videoDone(event:VideoEvent):void {
        play();
    removeChild(jump2Main_btn);
    function skipVideo(event:MouseEvent):void {
    intro_VDO.stop();
    intro_VDO.removeEventListener(ProgressEvent.PROGRESS, videoprogressHandler);
    intro_VDO = null;
    removeChild(jump2Main_btn);
    play();
    stop();

    I should add that the Progress bar I have on stage doesn't show up in the 64bit player either.
    Thanks

  • BytesLoaded preloader not accurate for FLVs

    Hi Peeps,
    After wrestling this flash flv slideshow for the last few days, I finally have it running smoothly locally.  The problem is that on a server it has serious issues.  I see a blank screen where the flv should be... I assume it's still loading or buffering.  That's a problem as is, but when it's in this state, nothing else works on the site (flash site-one swf).  If you wait for sometimes 10 minutes the flv finally shows and the site works great.  All of this obviously depends on the connection.
    So I understand that this could be caused by the size of the 10 flvs.  I'm using the FLVplayback component by the way.  So that's fine for now, but I just want a preloader at the beginning to only go to frame 2 after the intro flv has been loaded.  I thought this would be simple using bytesTotal and bytesLoaded.  I was wrong.  Below is the code I'm using.  When you view the page the preloader seems to work, but after it runs - you are directed to the second frame... showing the "skip intro" button (which doesn't exist on the 1st frame)... but the flv doesn't show.  It's actually still loading... 5-10 minutes later it shows up and the site works fine.  My preloader isn't showing the progress of the flv load.
    You can see what I'm talking about by viewing my project... if you're on a connection like mine you won't be seeing much: http://www.ia21.org/dan/dan.html
    Does anyone know of a preloader specifically for FLVs... maybe one that reads the buffer progress?
    //my FLVplayback comp. has an instance name of introMov.  It does exist on the 1st frame, but is not visible.  It's visible on frame two.
    addEventListener(Event.ENTER_FRAME, preLoad)
    function preLoad(e:Event):void
        var bytestoLoad:Number = introMov.loaderInfo.bytesTotal;
        var numberLoaded:Number = introMov.loaderInfo.bytesLoaded;
              if (bytestoLoad == numberLoaded)
              removeEventListener(Event.ENTER_FRAME, preLoad);
              gotoAndStop(2);
              else
              preLoader.preLoaderFill.scaleX = numberLoaded/bytestoLoad;
              preLoader.bytesPercent.text = Math.floor(numberLoaded/bytestoLoad*100) + "%";

    I wish I could help. I'm more or less in the same situation.  Don't know if you've checked this out but there's a makeshift solution here:
    http://www.adobe.com/devnet/flash/articles/vidgal_structure.html
    I ditched the FLV component.  My idea was to attach a NetStream to a video object, and hold on the first frame of the FLV (either that or temporarily load a static jpg of the first frame). Then use the pseudo pre-loader example above to show a loading animation while the flv comes in.
    So far no dice. My code is all over the floor right now so I can't attach it - sorry.
    That said I'm this close to bailing on flash.
    It's like pulling teeth. It's agonizing.  I've come up with a peace accord for the middle east while trying to figure out AS error codes.  I decode the human genome to get relief from AS. I can't wait till we can all laugh about it in 20 years. "Son, when I was a boy I had to program in Action Script and it was so *** backwards it took me a week to figure out a bloody FLV preloader".
    Lonny
    PS I checked your link. It seems you figured it out? Can you post your code before I enroll in 5 years of computer science?

Maybe you are looking for

  • Strange Entries in System and Console Logs

    I have some strange entries in my system and console logs. In the system log, I regularly see these entries: Feb 24 21:07:29 joseph-youngs-computer /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport: Error: owner of process not

  • I would like to copy an "Event" from MBA to MBP Retina.  How?

    I took a MB Air on vacation.   Uploaded pictures from several cameras and phones from family & friends.   Edited them in iphoto and created an event.  Now I'm home and would like to view and edit the photos on my MBP Retina, and save them there.   Ho

  • Creating templates

    how do you create templates in pages on the iphone? has anyone tried to create these.

  • IPad software updates

    I have friends who don't own a computer but want an iPad. They understand they won't be able back up their data but can they get the iPad software updates done at the Apple Store?

  • Beginner needs help: how to reach the Petstore application

    Hello, I have just successfully deployed the petstore application (at least the .war) on oc4j and I can't reach the petstore web app. Here is what I point to in the browser: http://localhost:8888/petstore/ I get a 404. Can anyone help please? Julien