Targeting an FLVplayback component within a nested movie element

I'm trying to get my own buttons to load FLV movies into the FLVplayback component. I've got it to work in a simple test but need help making it work on a more complex level. The test is here http://lawrencejonespromoprince.com/testvideo.html
I've named the FLVplayback instance 'my_video'
The simple buttons have this script in the actions:
on (release) {
      my_video.load("videonamehere.flv");
      my_video.autoPlay=true;
This all works great as long as the buttons and the FLVplayback component are on the same frame on the same page. But for the actual use, i need it to work where the buttons are on a nested page within another movie element. So the nest looks like this:
Scene1   Nestmovie1   Nestmovie2   Nestmovie3
...where the FLVplayback component is in Nestmovie2 and the buttons are in Nestmovie3.
The nesting was needed so the buttons are on a separate slider panel so i can scroll through the list of movies.
See the actual flash site in progress here http://lawrencejonespromoprince.com/index2.html
and the movie list (not done) will be on the 30 Promos page.
So now the question is, how can i target the FLVplayback instance within a nested movie.
Thanks

You should be able to use _root references to get back to the main timeline to target the flv player
on (release) {
      _root.nestedMovie1.my_video.load("videonamehere.flv");
      _root.nestedMovie1.my_video.autoPlay=true;

Similar Messages

  • Accessing Text within a Nested Movie

    Hi can any one help me on this i am quite new to flash, basically i have a slide show running automatically
    which displays pictures on a timeline and also have buttons associated with each photo to display that picure when it is clicked
    I have added so text to show which each slide bit i want the text to become a hyper link to a website but for some reason it does not work
    I have attached the *.swf unfortunately the forum wont let me attache the *.fla file
    1) i tried using static text and the in the property inspector in the url section inserted the url it should target, then
    2) i tried setting it to a dynamic text so that i can make use of the instance name within actionscript by doing this
    say instance name of the dynamic text is called "myText" i used this code  which i know it works;
    on(release) {
    getURL(http://www.mywebsite.com);
    also i tried in the Main movie clip..in my Actionscript layer where my other code resides
    myText.onRelease = function() {
    getURL(http://www.mywebsite.com);
    still no joy (the syntax might not be right here but i made sure it was in the code and tested it in a test clip and it worked so the code is good!)
    and set the url again still nothing , then just for test purposes i tried converting my text to a button symbol it STILL did not WORK!
    but now check this out
    all this experiments i then tried on the main movie clip (masterclip_MC) WORKS! flawlessly, but where i am trying to do this is a set of  timeline frames where the text appears in(one layer) movie clip (photosMC)  WITHIN the main movie clip, hence it is NESTED so how do i do this, acessing a
    can anyone please help??? i can send my *.fla file, i know this is so simple but i just dont know aenough of flash to do it....
    here is the tutorial i used to create my slide show which was fantastic i also wrote to the SlideShow Creator...has not replied yet.
    http://www.youtube.com/watch?gl=GB&v=cylX1lThTN0

    Hi i am attaching the FLA file using a method which i called "extension hiding" by appending ".swf" extension hence the file is called
    "SlideShowAS2_incFrames_TEST2.fla.swf"
    as you can see it has double extension ".fla" and also ".swf" but it is really a fla file so just do rename and remove the ".swf" extension to see the fla file
    thanks very much for anyone who can help
    regards a .net programmer moonlighting as a flash designer/developer

  • FLVPlayback Component Volume Issue

    Hopefully someone can give me a hand with this one. I'm using the FLVPlayback component to play a movie. In the parameters, I'm setting volume to "8" where the default is "1".
    This works great and gives me the right volume setting, but if the user touches the volume slider (which I'd like to keep), the new maximum volume is only one.
    Any idea how to set the max volume for the volume slider? I'd have thought the volume parameter setting would be tied to this.
    Thanks!

    Thanks, Kibbik.  That's actually very helpful.  I guess I was just wondering if there was a method to reset the max volume of the slider to 200% or something similar, but I suppose not.
    I figured redoing the volume on the original movie was one solution, but it would be nice to see the component rewritten so as to reset the max volume of the slider to the volume parameter setting.

  • FLVPlayback Component video and skin as one swf

    Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file?
    I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project.
    When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin.
    If it is not possible to publish as one swf, can someone please tell me how I can insert the 2 swfs into a Captivate file and get them to work?
    Thanks in advance.

    My project is called JumpVideo.
    The only 2 items in my library are the FLVPlaybackComponent and a Combo box.
    I have imported a video using the FLVPlaybackComponent and have selected the SteelExternalPlaySeekMute skin to go with the playback.
    The video has defined cue points. The combo box has two values. When the first is selected it jumps to the start of the video. When the second is selected it jumps to the cue point.
    When I publish there are two swfs that are produced; the project swf itself (JumpVideo.swf) and the skin (SteelExternalPlaySeekMute.swf).
    I would like there to be only one swf published (i.e. the skin is within the JumpVideo.swf).
    Is this possible?
    The swfs will then need to be inserted into Captivate 4 as animation.
    If 1 swf cannot be published, then can you perhaps help with how I can insert the JumpVideo.swf and the skin swf into Captivate and have it work as it does in Flash CS4?

  • FLVplayback component halts everything

    I've been working on getting video into my flash site with
    the "FLVPlayback component " and i've been able to get it to launch
    and play locally, however when it does launch when i'm "testing
    movie", my flash site quits working. I know this is a bit open
    ended and i'm no flash programmer, but I've been working on this
    all weekend. Can someone help me to integrate the FLVPlayback
    component correctly within my flash site? Thanks!
    -Matt

    It would help if you could explain how your "flash site" is
    structured.

  • Using skin from mediaplayback component on flvplayback component ?

    Hi.
    Is it possible to use the skin from the mediaplayback
    component on the flvplayback component ?
    (I've been checking online for this but can't find answer
    anywhere.)
    I want to use the flvplayback so as I can keep the movie
    controls within the area of my flv movie.
    The flvplayback is too large with the boarders and the fact
    that the progress/control bar is placed outside of the movie area.
    Any advice would be great. Thanks. Joey

    Hi.
    Is it possible to use the skin from the mediaplayback
    component on the flvplayback component ?
    (I've been checking online for this but can't find answer
    anywhere.)
    I want to use the flvplayback so as I can keep the movie
    controls within the area of my flv movie.
    The flvplayback is too large with the boarders and the fact
    that the progress/control bar is placed outside of the movie area.
    Any advice would be great. Thanks. Joey

  • Can't get nested movie clip to play

    Hi everyone,
    I have a movieclip on one of the frames on the maintimeline.
    Within this movieclip is a nested movieclip which itself is
    contained by another clip. The first movie clip plays to a certain
    frame where I've got some code telling the nested movie clip to
    play at that frame but this nested clip doesn't play. I'm not sure
    if I'm targetting the nested clip incorrectly or whether something
    else is wrong with the code.
    The .fla file can be downloaded at:
    http://www.officelinkonline.com.au/Ad/
    if someone would take a look. The movie clip in question is
    on the layer called text5, and within this mc on frame 15 is the
    code I'm trying to use to get the nested movieclip to play at that
    point. The code used on that frame is:
    this.innerText5_mc.free_mc.play();
    stop();
    pauseAnim = setInterval (this, "nextFrame", 4000);
    I wondered if someone could take a look and see what I might
    be doing wrong? Basically the free_mc clip just makes the word
    "FREE" scale up.
    Would really appreciated any advice.
    Thanks

    Thanks again. I'm a bit worried that you weren't able to see
    the font that I used. All of the text used in the animations are
    static text fields. I don't seem to have the option to embed these
    characters since it's static text. It'll only let me embed if the
    text fields are dynamic. Does this mean I have to change them all
    to dynamic text fields, and if so do I need to embed the font in
    every text field in every frame of the animation or can you do this
    in one place?
    Appreciate your continued help.

  • FF on FLVPlayback component

    Hi,
    how can I get the current time of a FLVPlayback component to
    call a seek
    for fast forward and rewind?
    Or is there a better way instead of the seek function to do
    this?
    TIA

    GVSJSM wrote:
    > I have 2 versions of a set of FLV movies -- one designed
    for visitors with
    > broadband and one designed for visitors with dial-up. I
    want to offer visitors
    > a choice of which version of the movie to view by
    putting a radio button group
    > or dropdown menu on the FLVPlayback control. (See, e.g.,
    the NYT homepage
    > control.) How do I customize the control for this
    behavior?
    Why not just make button on top of it ? Sound like trying to
    totally overkill.
    No one knows where the buttons are in complied movie, make it
    look like it's within
    the component while its on top of it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Is it possible to embed some JavaScript code WITHIN a QT movie?

    Hi,
    This may be a job for QuickTimeKirk, as I've seen (s)he seems quite knowledgeable about QuickTime secrets...
    I'm using a blog service which does not allow the calling of external JavaScript files. Furthermore, testing STAMPot from my excellent fellow compatriot *Francis Gorge* (http://www.qtbridge.com/stampot/stampot.html) did not help me enough because the posts on my blog are contained within tables over which I have little control. In particular, I cannot write a full HTML page description with the <head> and <body> tags, and all the references needed to link to the .js file (and others) created by STAMPot.
    So, I'm wondering if it is possible to embed the appropriate code directly within a QuickTime movie, e.g. under the form of a additional HREF track.
    What I'm trying to achieve, in the end, is to have a poster frame for my movie, and have the movie play within that same poster frame space, but WITHOUT the movie controller +(not the poster frame controller, which I know how to hide)+, and then the movie looping back to the poster frame.
    Maybe I missed something, but in the case I understood correctly what I read on the QT Dev web site, when one passes the controller="false" parameter to the +<embed src="<a class="jive-link-external-small" href="http://...&gt;">http://...> tag, the parameter only applies to the FIRST movie, which is, in fact, the poster frame. Even if the target movie was saved with the controller disabled, this is only acknowledged by QuickTime Player, NOT by the QuickTime plugin.
    Any help will be greatly appreciated!
    Thanks in advance,
    batspray

    1- You can add a frame to the end of the movie, make it an href track that points back to the poster movie. Yes. Illustrated details, here: [http://developer.apple.com/documentation/QuickTime/QT4WebPage/samplechap/speci al-24.html]
    2.- As to the larger question of JavaScript within the QT movie, No. "Starting with QuickTime 7.1.5, you can no longer issue javascript: URLs or call JavaScript functions from within a QuickTime movie. This feature was removed from QuickTime for security reasons." See this official notice: [http://developer.apple.com/documentation/quicktime/Conceptual/QTScriptingJavaScript/bQTScripting_JavaScri_Document/chapter_1000_section1.html].

  • Need to stop playback of an FLVPlayback component when navigate away from page!

    I have an movieclip playing as auto start on the first page of my website.  The component continues to play when I navigate away from the page.  How can I stop the playback of the movie if it has not completed when navigation away from the page is invoked.  I have search and am unable to find such an event using an FLVPlayback component.  Presently there is no code in actionscript to display here.
    thanks

    Hi, this is the entire code that is placed on the timeline in frame 1 of the AS line.  There is now an error and the FLVPlayer component, which is also begin in frame 1. At this point there is one method that I thought should work when the vTinesDayBtn is clicked.  However, is not.
    The error is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at ewddSite_fla::MainTimeline/vTines()
    ArgumentError: Error #1063: Argument count mismatch on ewddSite_fla::MainTimeline/stoppedVid(). Expected 0, got 1.
    The code is:
    stop();
    import flash.events.*;
    import flash.display.*;
    import fl.video.*;
    import fl.video.FLVPlayback;
    function stoppedVid() {
      vidPlay.stop();
    vTinesDayBtn.addEventListener(MouseEvent.CLICK, stoppedVid)
    function vTines(evt:MouseEvent):void {
    gotoAndStop(20);
    vidPlay.stop();
    function engagements(evt:MouseEvent):void {
    gotoAndStop(25);
    function weddings(evt:MouseEvent):void {
    gotoAndStop(30);
    function births(evt:MouseEvent):void {
    gotoAndStop(35);
    function birthdays(evt:MouseEvent):void {
    gotoAndStop(40);
    function graduations(evt:MouseEvent):void {
    gotoAndStop(45);
    function anniversaries(evt:MouseEvent):void {
    gotoAndStop(50);
    function specEvents(evt:MouseEvent):void {
    gotoAndStop(55);
    function memorials(evt:MouseEvent):void {
    gotoAndStop(60);
    //main.addEventListener(MouseEvent.MOUSE_DOWN, mainPg);
    vTinesDayBtn.addEventListener(MouseEvent.MOUSE_DOWN, vTines);
    engageBtn.addEventListener(MouseEvent.MOUSE_DOWN, engagements);
    weddingsBtn.addEventListener(MouseEvent.MOUSE_DOWN, weddings);
    birthsBtn.addEventListener(MouseEvent.MOUSE_DOWN, births);
    bDaysBtn.addEventListener(MouseEvent.MOUSE_DOWN, birthdays);
    graduBtn.addEventListener(MouseEvent.MOUSE_DOWN, graduations);
    annivBtn.addEventListener(MouseEvent.MOUSE_DOWN, anniversaries);
    spEventsBtn.addEventListener(MouseEvent.MOUSE_DOWN, specEvents);
    memorialsBtn.addEventListener(MouseEvent.MOUSE_DOWN, memorials);

  • Is it possible to import YouTube videos into a flash FLVPlayback component...?

    Hi all,
    I'm now working on a flash website, i need to play a youtube video inside my flash movie.
    In this Flash file i have a FLVPlayback component and i tried to link the youtube video into this but did'nt work.
    Please help me...

    You should find what you need here: http://code.google.com/apis/youtube/flash_api_reference.html

  • FLVPlayback component skinAutoHide problem

    Hi guys!
    I have a problem with FLVPlayback component's skinAutohide
    property which works poorly when FLVPlayback component is the same
    size as your stage. The skin only hides when I move my mouse very
    slowly outside the FLVPlayback component.
    Also making the FLVPlayback component smaller isn't an option
    so what more options are there left?
    Is there anyway to hide the skin by yourself?
    I allready tried the following code, but I think this is very
    unreliable (I get some errors when I move my mouse very quickly
    over and outside the FLVPlayback component):
    video.addEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);
    video.addEventListener(MouseEvent.MOUSE_MOVE,
    mouseMoveHandler);
    function mouseLeaveHandler(event:Event):void {
    video.skin = "";
    function mouseMoveHandler(event:Event):void {
    video.skin = "SkinOverPlayStopSeekFullVol.swf";

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • FLVplayback component problem

    my flash movie contains FLVPlayback component to play videos.
    In the begining of the movie( frame 1) I have a simple pre-loader.
    When I test my swf on a browser the pre-loader appear only after
    few second, not immediately. (my pre-loader start from 40%). I
    think the reason is that flash load the FLVPlayback component on
    the first frame although my component appears only on the second
    frame . Is there any work around this issue?
    Thanks

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • Nested Movie Clips

    hi,
    I recently downloaded a flash template that was built on AS2
    and have been trying to figure out how it works for a couple of
    weeks now (excuse my ignorance when it comes to AS). I have a
    question about nested Movie Clips. The way the template is
    constructed invovles a massive amount of nested movie clips and a
    large number of instances of each movie clip. The way i understand
    it is that if an instance of a movie clip is put on the stage and
    given an instance name, any modifications to that movie clip should
    be unique to that instance. However when i modify the colour of any
    of the movie clips i select, it changes the colour of all other
    instances.
    Am i missing something obvious here??
    Thanks in advance for your help
    Kind Regards
    Damien

    Yea. This particular template i am working with appears to
    change and manipulate colours dynamically as you said. Also it
    doesn't have all of the content (txt and images) within the actual
    flash document. They are all loaded dynamically through a txt
    document and external files (jpgs amoungst others) which makes it
    alot harder to edit since i dont fully understand the xml format
    they have in the txt document. As well as this, the template has
    no, and i mean NO documentation what so ever which makes it much
    more difficult to work through. But i guess i will keep pluggin
    away at it :)
    Thanks again for your help Ned
    Damien

  • Buttons with nested movies clips...

    Hi guys
    I'm a flash newb. Have just read some tutorials on creating
    flash buttons that contain nested movie clips for the different
    states. So I went and made 5 of them for my site, all seems great
    the rollover effects are just as planned, and I thought I could add
    URL link to them in Dreamweaver but thats not working out. Been
    googling my *** off to add URL via actionscript (of which I
    understand VERY little) , found some code (add the following to key
    frame :on(release) {
    getURL('
    http://www.generic.com',
    '_parent');
    Major problem is, when I try to add AS to the frame/button,
    I'm getting told I 'current selection cannot have actions applied
    to it' If I persist and add the script anyway, funnily enough it
    doesn't work.
    I did an experimental button, consisting of diff coloured
    boxes, and AS will apply to that no problem.
    I'm tearing my hair out, as I already posted the flash links
    on my site and have had to add a note for visitors to use static
    links in the interim.
    I would love to post the .fla file but I don't see an option
    anywhere here to do so.
    If some wise soul can help my dumb *** out of this bind it
    would be greatly appreciated.

    You were using AS2 code, which will not work in AS3. That
    particular code is placed on an object, which AS3 does not allow
    for, which is why it wouldn't let you... all code in AS3 goes into
    timeline frames.
    For mouse interctive objects (buttons, movieclips, etc) you
    assign event listeners to the object. Let's say your button has an
    instance name of "btn", here's a variety of the possible event
    listeners avaiable, and I've assigned them to the button....
    btn.addEventListener(MouseEvent.CLICK, clickHandler);
    btn.addEventListener(MouseEvent.DOUBLE_CLICK,
    doubleClickHandler);
    btn.addEventListener(MouseEvent.MOUSE_DOWN,
    mouseDownHandler);
    btn.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
    btn.addEventListener(MouseEvent.MOUSE_OVER,
    mouseOverHandler);
    btn.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
    btn.addEventListener(MouseEvent.MOUSE_WHEEL,
    mouseWheelHandler);
    All of those "...Handler" things at the end are the names of
    functions you create to take action when the listener hears
    something it's assigned for... you can name them anything you want,
    and here's and example of how the function might look for the CLICK
    event...
    function clickHandler(event:MouseEvent):void {
    trace("clickHandler");
    Again, you can name the function anything you want, and the
    code within the function can be whatever you need done when the
    button is clicked... just be sure to include the argument
    "event:MouseEvent" because the listeners throws an argument to the
    function and the function needs to expect it. The "event" part of
    that is a variable name, so you can name it whatever you like, such
    as "e", which is commonly done. The MouseEvent defines the class,
    and should be exactly what it is.... a MouseEvent, caps and
    all.

Maybe you are looking for

  • How to burn only part of a dvd?

    I have a dvd my father sent me with footage from vhs recordings from about 20 years ago. I want to copy for a friend a couple of segments that are on the dvd. Unfortunately I have 2 problems, first being the dvd will play in my dvd player (hooked up

  • Multiple Sound Clip Strategy Suggestions Sought

    I am using the javax.sound objects to play the sounds. I am writing an application using the javax.sound api where each object owns a sound clip that can be played at any point in time. Some objects can play the same sound - and if this occurs these

  • MB51/ME80FN/MB5S

    hi... urgent I want a monthly report in which MIRO and MIGO Documents no.s come. I want to track MIRO document no.s with the MIGO Document No.s for a month. The main purpose is to know out of how many GRNs (migo) done by store, MIRO has been done by

  • 3PL in business one?

    Can we create a 3PL setup within business one?

  • SLD Check Failed (LCR_LIST_BUSINESS_SYSTEMS function doesn't work)

    Hi all, I have done SLDCHECK but then got this result below : Already verify all the user working fine, please advise me. Thank you and Regards Fernand Properties of RFC destination SAPSLDAPI   RFC host: %%RFCSERVER%%   program id:      NWA_PROGRAM