Flash CS4 ActionScript using buttons to go to cue points in an FLV

Hello.
I'm pretty much a novice Flash, so I don't think that this issue is particularly difficult, it's just something that is painful for a few days. I know it's possible based on all the literature I've read, but I can't seem to do it properly.

Basically I have a video file that I made to FLV format with 5 points of navigation called 1, 2, 3, 4, 5.

What I want to do, is to use buttons to navigate to the five cue point in the flash animation. I think that this is possible using ActionScipt 2, but I don't know what the code of the script function.

Any help would be much appreciated.


Thank you
Javier

Hello

The following AS2 code can help you

Stop();

var listenerObject:Object = new Object();
listenerObject.ready = {function(eventObject:Object):Void}

}

.addEventListener ("ready", listenerObject);
var listenerObject:Object = new Object();
listenerObject.cuePoint = {function(eventObject:Object):Void}
.onRelease = function () {}
playback.seekToNavCuePoint ("");

}

}
.addEventListener ("cuePoint", listenerObject);

\\replace all things placeholder which the<>

Also just take a glance to the description to http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts & file = 00003003.html for more details

Thank you!

PS: pls mark that message as if it were a help to you have it

Tags: Adobe Animate

Similar Questions

  • Flash CS4 Actionscript

    Work the actionscripts CC Flash on Flash CS4?

    The code works, unless you use a more recent feature. The FLA does not open, you must CS5.5 or later to open the CC. If you can find a copy of CS5.5, you can open any CC file and save money for CS4.

  • Flash cs4 Actionscript 2 support

    Hello

    Is someone can you please tell me if Flash CS4 supports Actionscript 2?

    Thank you, Damien

    Yes, you can modify or create files in any version of Actionscript with CS4

  • Flash CS4 ActionScript window larger than my screen resolution!

    I launched Adobe Flash CS 4 and the ActionScript window. Then BAM! height of the window of the actionScript takes my entire screen (please see screenshot). Anyone know how I can put across this window?

    My screen resolution is maxed out (1680 by 1050), not a small resolution I guess. I tried to move my taskbar to windows on the side and still can not move my cursor so that I can reduce the width.

    Thank you

    The best solution is to set up a workspace. I have the same problem all the time and not only with Board actions, but with the library, exit, etc. Just ask panels how you like, then I think that its the window in the menu item, it should be a work space and a new. Then, if your screen gets messy you can 'reset the space work' and he's going right just as you wish.

    Also, if you don't have a game already, you can apply just one of default workspaces and must be resized properly things for you.

    I have no why they do not resize from the top to the left, its stupid...

  • Need help with CC Flash and ActionScript 3

    Hello

    In serious trouble find how to add a tag to click for ad servers when you use CC Flash and ActionScript 3. Can anyone help or point me in the right direction?

    Thank you!

    See if the following can help.  If not, show what you have tried and does not work...

    Flash "clickTAG" tutorial - learn how to build "clickTAG" active Flash banners with click location capability!

  • Could not import the pdf file to the library in Flash CS4

    I need to import files of pdf text three in my Flash CS4 for use in a project that I am doing, but whenever I try to import these pdf files at the library I get an error that reads 'one or more files were not imported because he had problems reading of their.

    I use Adobe Reader X, which is the last available drive, Flash CS4 and Windows Vista Home Premium and I don't understand why I can't import PDFs in Flash. Any help would be greatly appreciated!

    Zlloyd

    PDF is not supported in flash file type.

  • What relationships between flash cs4 and Pixel Bender Toolkit 2?

    I want to know the relationship between flash cs4 and Pixel Bender Toolkit 2. Now I use Pixel Bender Toolkit 2 to make effects, use file-> export filter for flash player, then it will create a .pbj file. I don't know how flash cs4 to use the .pbj file? I use google for search, but I can't find answer. Could someone give me example of detail on flash cs4 use the .pbj file?

    Thank you

    http://www.flepstudio.org/Forum/Flash-CS4-tutorials/4168-using-pixel-Bender-Flash-CS4.html

  • TextFlowUtil in Flash CS4 using

    Hello

    How can I go on using TextFlowUtil in CS4?  What project settings should I update.  I tried a variety of source and library without success paths.

    What I'm trying to do is import of markup in a Flash CS4 application that has been exported from an application Flex via TextFlowUtil.

    I have installed in Flash CS4 TextLayout component and it works fine.  I can't operate TextFlowUtil.

    Thank you

    Jr

    It sounds like the same question past yet. The ImportExportConfiguration class is an older version of the swc (s) TLF. Check to make sure that the old component is not always somewhere, and that it doesn't have a TextLayout.swc (or TextLayout_conversion.swc) $ (AppConfig) / ActionScript 3.0/libs or in some other reference in your project.

  • Flash CS4 and database to use (MySQL, ACCESS, etc.).

    Hello

    can anyone tell me please where to find tutorials on how tp use databases with Flash CS4?

    I created a form, a page of e-mail and a name of user and password pages, but I can't find any tutorials that could help me how to connect to a database.

    Thank you in advance for your help!

    GGour

    http://www.Kirupa.com/developer/ActionScript/flashphpxml_integration.htm

  • have created the Web site with flash cs4, placed a short in one of the sections buttons, have generated the HTML, etc. with the publication

    Of Adobe Flash CS4- settings file published using html don't play my little film (on site) on the local computer's browser.

    The .exe file and the swf file play the movie.

    Am I missing something? have tried Chrome, firefox, opera, etc.. Movie controller only presents itself.

    Any help would be greatly appreciated.

    Thank you very much.

    You probably have a security problem that you can get around using Adobe - Flash Player: settings - global security settings panel Manager or download on a server and test the server files.

  • Problems using camera - Flash CS4

    • All updates are installed
    • Please give us more information about your creative environment:
      • Flash for CS4 10.0.2
      • Mac OS x v10.7

    I followed the ActionScript 3.0 for Adobe Flash CS4 Professional - Classroom in a Book

    I'm in Lesson 12 where it refers to access the camera from the user to display a picture taken by the camera.  The purpose of the lesson is that, after loading the image on the screen, the filters can be applied to him.  The question I have is that no image is displayed on my screen.  I've been on the code closely (the file that comes pre-loaded ready to go did not work).  I loaded the facetime and I went to www.testmycam.com and my camera works very well in both cases.  The dialog box comes and asks me to allow or deny.  Of course, I click ALLOW.  I am at a loss.  The code is below.  Any help would be appreciated.

    Fl.ik import. *;

    Import fl.events.SliderEvent;

    import flash.media.Camera;

    import flash.media.Video;

    IKManager.trackAllArmatures (false);

    var arm0:IKArmature = IKManager.getArmatureAt (0);

    var rt0:IKJoint = arm0.rootJoint;

    var jt0:IKJoint = rt0.getChildAt (0) .getChildAt (0) .getChildAt (0);

    var mover0:IKMover = new IKMover (jt0, jt0.position);

    var fx1:Sound = new Sound();

    FX1. Load (new URLRequest ("robotArm.mp3"));

    var channel1:SoundChannel = new SoundChannel;

    var fx2:Sound = new Sound();

    FX2. Load (new URLRequest ("click.mp3"));

    var channel2:SoundChannel = new SoundChannel;

    var camera:Camera=Camera.getCamera();

    var video: *;

    If (camera! = null) {}

    video = new Video (160, 120);

    video.attachCamera (camera);

    addChild (video);

    trace ("camera is ok");

    } else {}

    trace ("there is no recognized camera connected to your computer.");

    video = new AltVid();

    addChild (video);

    }

    snapshot_btn.addEventListener (MouseEvent.CLICK, onSnapShot);

    function onSnapShot(e:MouseEvent):void {}

    stage.addEventListener (Event.ENTER_FRAME, moveDown);

    snapshot_btn. Visible = false;

    channel 1 = fx1.play ();

    }

    function moveDown(e:Event) {}

    If {(jt0.position.y, 305)

    var pt0:Point = new Point (jt0.position.x + 5, jt0.position.y + 5);

    mover0. MoveTo (PT0);

    } else {}

    CHANNEL1. Stop();

    canal2 = fx2.play ();

    channel 1 = fx1.play ();

    stage.removeEventListener (Event.ENTER_FRAME, moveDown);

    stage.addEventListener (Event.ENTER_FRAME, moveUp);

    }

    }

    function moveUp(e:Event):void {}

    If {(jt0.position.y > 165)

    var pt0:Point = new Point (jt0.position.x - 5, jt0.position.y - 5);

    mover0. MoveTo (PT0);

    } else {}

    stage.removeEventListener (Event.ENTER_FRAME, moveUp);

    snapshot_btn. Visible = true;

    CHANNEL1. Stop();

    }

    }

    Thank you

    John

    Detect that a web cam in windows is different to detect a webcam in mac

    function activaWebcam(e:MouseEvent):void {}

    trace ("active webcam");

    var index = 0; the default for windows-

    The search for the webcam Mac index

    for (var i = 0; i)< camera.names.length;i++)="">

    If (Camera.names [i] == "USB Video Class Video") {}

    index = i;

    }

    }

    Cam = Camera.getCamera (index);

    video.attachCamera (cam);

    }

  • (Help) Using Input text in Flash CS4 AS3

    I'm trying to take a (named) user input and then greet the user on the next image using the name that he previously entered. I googled for 2 days and was unable to find a way to do this on flash CS4 AS3, I guess because im very new to Flash (only 2-3 weeks)
    Any help would be greatly appreciated, and I'm sorry if this has already been answered in the forums.
    Thanks for reading.

    I think that, in this case, you put the cart before the horse.  The variable is that the function will set the value of correct?  You have the textfield object being assigned to the variable, which is at that time an undefined value.  Try to think of what you are doing as you do.

  • Flash CS4: Impossible to find that it is built in classes!

    I use CS4. I find that I can't import any built in classes other than
    those in the package Flash (MovieClip, TextField, etc.). I can't import to
    for example, fl.controls.Button. When I write this statement in a script, I get a
    error:

    Import fl.controls.Button;

    "1172: definition fl.controls:Button could not be found."

    I found the location of the folders class path (C:\Documents and)
    Settings\utilisateur\Local Settings\Application Data\Adobe\Flash
    CS4\en\Configuration\Classes\) but adding these paths in the AS3 prefs does not help, because I
    then get a new error on the Object.as class file in the FP8 file in this folder:

    "5007: year ActionScript file must have at least one visible from the outside.
    "definition.
    "

    He is a recent problem. I want to restore the program whatever it is
    When it was installed, because he behaved normally when I installed it all first.
    Otherwise, the program is essentially useless to do almost anything with action script

    Any help would be greatly appreciated.

    Chick

    You will get this error if you have not a Button component in your library.

  • Flash CS4 plug for table swf?

    Hey everybody.  Does anyone know if there is a Flash CS4 free plug-in that creates a table of swf that loads external swf in order and can control the script without having to mess with Actionscript?  I don't know yet what to put in Google looking for such a plugin.

    Right now, I have a table like that.  I got the code from some very helpful people here.  I still don't understand most of the code, however, so I'm wondering if a plug-in could do the same work as Actionscript.  I have the code for my Flash file in another thread of discussion, and I'm trying to get my file to stop looping SWF when it reaches the end of the array.  If anyone is curious to see the code, I want to talk or if they know how to solve the problem of the loop, here's the link to this thread:

    http://forums.Adobe.com/message/3417613#3417613

    use:

    var listener: Object = new Object();
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener (listener);

    When the SWF load, put in place to constantly check its current image
    against the total number of frames, and so those that match, the SWF is done playing.
    If this is the case, then load the following.

    listener.onLoadInit = {function(targ:MovieClip):Void}
         targ.onEnterFrame = function (): Void {}
    If (this ._currentframe = this ._totalframes) {}
    loadNext();
    delete this.onEnterFrame;
    }
    }
    }

    Swf buttons next and previous

    function loadNext (): Void {}
     
    If (currentSwf<>
    currentSwf ++;
    loadSWF (currentSwf);
    }
    }

    function loadSWF (nextSWFToLoad) {}
    mcl.loadClip (SWF [nextSWFToLoad], theTargetClip_mc);
    }

    loadSWF (currentSwf);

    function loadPrevious (): Void {}
    -currentSwf;
    if(currentSwf==-1) currentSwf = swfs.length - 1;
    loadSWF (currentSwf);
    }

    previous_btn.onRelease = loadPrevious;
    next_btn.onRelease = loadNext;

    Swf previous and next buttons end

    'Play' button

    play_btn.onRelease = function() {}
    theTargetClip_mc.play ();
    }

    Pause button

    pause_btn.onRelease = function() {}
    theTargetClip_mc.stop ();
    }

  • GOOgle maps and the problems of flash cs4

    Hello, I have a problem.

    I did a site in Flash cs4 with several pages that you enter by clicking on the button.

    Then in one of the pages I wanted to insert google map so I did the installation of the google maps.

    Then, I entered a keyframe and insert the ActionScript for the google map:


    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.InfoWindowOptions;
    import com.google.maps.LatLngBounds;
    import com.google.maps.MapMoveEvent;
    import com.google.maps.overlays.Marker;
    import com.google.maps.overlays.MarkerOptions;
    import com.google.maps.interfaces.IPolyline;
    com.google.maps.services import. *;

    var dir:Directions;
    var polyline:IPolyline;
    var map: map

    function setupMap() {}

    map = new Map();
    Map.Key = "ABQIAAAA38eqZ79rYEIJwNYsDl4kqO9UF00lgandsoandso... » ;
    map.setSize (new Point (800,500));
    Map.x = 150;
    Map.y = 150;
    map.addEventListener (MapEvent.MAP_READY, onMapReady);
    this.addChild (map);

    }
    setupMap();

    function onMapReady(event:Event):void {}

    dir = new Directions();
    dir.addEventListener (DirectionsEvent.DIRECTIONS_SUCCESS, onDirectionsLoaded);
    dir. Load ("Belgrade");

    }
    function onDirectionsLoaded(event:DirectionsEvent):void {}

    }

    GOOGLE MAP WORK NICE BUT,

    I have a problem when I go to another page google map stays on this page too...

    with a page from the last keyframe apearing on other pages, I always solved with the entry BLANK KEY FRAMES BETWEEN THEM IN A TIMELINE.

    THIS IS ACTIONSCRIPT...

    I do not know how to stop google map when I go to the other page, his trips, he...

    pls help I have more solutions.

    Thank you

    I fairly well supplied all the necessary details in what I have described.  Create a new movieclip with nothing in it symbol.  Place it in a frame where you want the card to appear in the timeline and assign it an instance name ("emptyMC" works).  In the code that show you, change...

    this.addChild (map);

    TO

    emptyMC.addChild (map);

    This should work unless there is something on Google maps that I know not (which is very likely since I haven't used their is still Flash)

Maybe you are looking for

  • HP Folio 2000 13: Bios password

    Hello I forgot the password of BIOS for a HP Folio13-2000.  After several attempts, I have the following message: System disabled: 73391860 Thanks in advance for the help.

  • Can someone interpret my report of kernel panic?

    A couple of days my end 2011 MacBook Pro running El Capitan began to restart for no apparent reason. After doing some research on various forums I discovered it was the panic of the nucleus at the origin of the problem. On a few last fo days I follow

  • connectionID in dll lvrefnum

    I'm looking for information about the data type of LVRefNum and how to translate them for the use of the DLL.  I have a network configuration using UDP.  The Protocol that we put in place, we want to allow other users to interface with, therefore the

  • Long wait for SAVE dialog windows

    I just installed LV 2009 SP1 x 32 on a W7 x 64 platform. Whenever I do something that evokes the SAVE AS dialog (native), I have to wait 60 seconds so that it is displayed.  LabVIEW is locked until it happens.  something is not. Impossible to find in

  • No hard drive found when reinstalling on a HARD drive are deleted

    Hello. I have a Probook 6560 b. The user of the laptop forgot the password so I decided to get to the bottom of the laptop using the BIOS Secure Erase. However, this created a problem. I found other threads but not quite the same thing. About install