Loadvariablesnum not working on movie clip

I have a movie clip called "popup" on my root timeline. In
the popup movie clip, there is a dynamic text box with the variable
set as "content". I have an external txt file called "file.txt". On
my popup timeline, I have this code:
loadVariablesNum ("file.txt",0);
I have both my fla file and the txt file in the same folder.
The txt file doesn't load. It loads if I put a dynamic text
box on the root timeline and put the actionscript there too.
What am I doing wrong? Thanks!

what makes you think it doesn't load? if the text fails to
appear in your textfield i would suspect you have a path issue
because your variable (from the textfield) is loaded into _level0
and your textfield variable is in _level0.popup.

Similar Messages

  • Buttons not working in movie clips

    I have multiple movie clips on stage (all in separate layers, of course) as well as buttons on stage to play each movie clip. There are buttons inside each movie clip. The problem is that the buttons inside the top layered movie clip work, but the others in the movie clips below don't.
    This is frustrating!! Can anyone help???

    It shouldn't matter which layer things are on.  If they are separate movielcips, one should not impact another.  What version of actionscript are you using?  Do any of the movieclips have mouse interactive code assigned to them?

  • Button not working in Movie Clip

    I'm building a small 'table builder' app for a client. This
    is my first major project in flash and I've encountered something I
    cannot figure out for the life of me.
    In the .fla below there's a movie clip 'scroller' it has
    buttons in it which load .png's to the main stage. Some of the
    buttons work, some don't.... I can't figure out why. Even when I
    duplicate a button sometimes it doesn't work.??? If I take a button
    that's not working in the movie clip and cut/paste onto the main
    timeline it ALWAYS works. I've been pulling my hair out over this
    for the last two days . I have even started the whole project from
    scratch just to try and find out where I went wrong... but to no
    avail..... Any help would be GREATLY appreciated. I'm stuck on a
    hump and I need some help to get off of it.
    Here's a link to my file. I've stripped away all the styling
    elements so it should be pretty clean cut when you see it. Thanks
    for any help or guidance!
    http://www.buddyscampfire.com/tableBuilder.zip

    A few errors: Scene 1 frame 1 Actions layer. You are
    referring to buttons inside of the scroller, and you don't have
    too. They aren't doing anything. All you need on that frame is:
    function startLoading(whichImage) {
    loadMovie(whichImage, "imageLoader");
    _root.onEnterFrame = function() {
    infoLoaded = imageLoader.getBytesLoaded();
    infoTotal = imageLoader.getBytesTotal();
    percentage = Math.floor(infoLoaded/infoTotal*100);
    infoField.text = percentage+"%";
    if (percentage>=100) {
    delete this.onEnterFrame;
    infoField._visible = false;
    Then on the Scroller you have that function again. Remove it
    from the scroller, as it does nothing there. Inside of the scroller
    all you need is code to attach png files from pressing the buttons.
    Make sure each button has a unique instance name, which isn't the
    case right now. You have like three buttons called imgbtn1. Fix
    that.

  • Animated drop down buttons not working in movie clip

    Hi,
    I am working on this site: (AS2)
    http://www.steamandclean.com/Index_w_1.html
    I have two types of drop down menu. One under Commercial and one under Technical
    The buttons are movie clips. The drop downs are also movie clips that start in frame 2 and are triggered on rollover.
    The child buttons are buttons living on the drop down movie clips. They are set to getURL
    As you see they are not willing to neither link to any url or will they run their move clip animation. One is a button and one is a movie clip.
    The left movie clip has a mask, but it makes no difference if I remove the mask . It also has a emboss filter and no difference is I take that away either.
    All of it is in one flash movie right now, but I will be splitting it up in a master navigation movie and individual swf's soon.
    Right now I have the main movie, then the button MC then the dropdown MC and in the drop down MC I have placed either a animated (button) MC or a button. So it nested in nested in.......
    In both cases I scripting the child buttons like this:
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay(6);
    on (release) {
    getURL("http://steamandclean.com");
    I have also tried to use
    _parent.getURL and _root.getURL in stead of just get URL, but it does not work.
    The drop down buttons seem to be buried. In the left side the whole drop down panel seems to act like a link?
    What am I doing wrong?
    Can you help?
    ggaarde

    Hi Ned
    Thank you for your reply again.
    I figured it out.
    Your reply prompted me to have my main button on rollover to go to a frame number on the main time line and then move the content of the drop down movie clip to that frame.
    The drop down panel now work and the child buttons animation now work as well. I just had to find a way to make the drop down panel disappear on rollout. Since I could not script the actual drop down panel I created three skinny invisible buttons and placed them on the right, left and button of the drop down panel. I scripted them to go back to frame 1 on both rollover and rollout. Done.
    See the result there:
    http://www.steamandclean.com/Index_w_1.html
    (Left side only)
    Thank you for your help.
    ggaarde

  • Remove Child and Event.SOUND_COMPLETE not working inside movie clip. What's the problem?

    I have a movie clip that is called to the stage. The user then clicks a button and music plays. As the music starts, another movie clip is called, a simulation of  an equilizer. There are several things that should happen:
    1) When the user closes the movie clip the music is supposed to stop playing and the equilizer movie clip is removed. What actually happens is the music stops playing but  the equilzer movie clip is not removed.
    2) When the music is finished playing the equilzer is supposed to be removed from the stage and the play button is reactivated. But none of that happens. When I click on the movie clip a second time equilizer is still there and the play button is not reactivated.
    Here's the code that calls the movie clip to the stage.
    stage.addEventListener(MouseEvent.MOUSE_DOWN, goButtons);
    function goButtons(event:MouseEvent):void
        if (event.target == Song_bnt)
            SoundMixer.stopAll();
            addChild(myPlaySong);
            myPlaySong.x = 304;
            myPlaySong.y = 105;
            //event.stopImmediatePropagation();
    Here's the code in the movie clip:
    import flash.media.Sound;
    import flash.events.Event;
    stop();
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    var equilizer:Equilizer;
    equilizer = new Equilizer();
    playRayJaySong = new RJSong();
    //Plays music, inactivates buttons, and adds the equilizer to the stage.
    PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        PlaySongRJClip.visible = false;
        ClicktoPlaySong.visible = false;
        addChild(equilizer);
        equilizer.x = 269;
        equilizer.y = 246;
    //Removes the equilizer from the stage when the music is complete.
    PlaySongRJClip.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        function rjSoundComplete(e:Event):void
        PlaySongRJClip.visible = true;
        ClicktoPlaySong.visible = true;
        removeChild(equilizer);
    //Removes the equilizer and event listeners from stage and calls dispatch event to close the movie clip.
    closeSong_bnt.addEventListener(MouseEvent.MOUSE_DOWN, CloseSong);
    function CloseSong(event:MouseEvent):void
        removeChild(equilizer);
        dispatchEvent(new Event("RemoveMSong"));
        PlaySongRJClip.removeEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
        PlaySongRJClip.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.addEventListener("RemoveMSong", RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
    Any thoughts?

    I figured out the problem. Here's how I reorganized the code (all in one frame).
    //Code for Ray Jay song.
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    playRayJaySong = new RJSong();
    myPlaySong.equilizer_inst.visible = false;
    //Plays the song.
    myPlaySong.PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        playRayJaySongChannel.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        myPlaySong.equilizer_inst.visible = true;
        myPlaySong.PlaySongRJClip.visible = false;
        myPlaySong.ClicktoPlaySong.visible = false;
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.closeSong_bnt.addEventListener(MouseEvent.CLICK,RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
        playRayJaySongChannel.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Resets all of the movieclips to their orginal state.
    function rjSoundComplete(e:Event):void
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
    Thanks all for your suggests and input.

  • Stop(); not working. Movie clip is looping.(AS2)

    I have made a movie clip that needs to play till the last frame and then stop there, but not dissapear. Right now, as I am putting the command stop(); on the first frame of the movie clip and on the last frame too, nothing is changing, the movie clip is still looping and does not stop at all.
    What could be the problem?
    p.s. I am really a beginner in Adobe Flash.

    Can you show a screenshot of the timeline and where the stop() command are placed?  If stop(); is the only code you are using then it sounds like you are putting the code in the wrong place.

  • Mask works in movie clip, not in scene

    I've created a movie clip with a mask that I'm using in a
    main scene. The mask looks fine while editing/working the movie
    clip, but does not show up in the scene.
    The really strange thing is that it was working, but suddenly
    now it won't show up in the scene any longer. I've tried replacing
    it, making a new layer and bringing it in again. But nothing works.
    Does anyone have an idea of why this would be?
    Any help GREATLY appreciated!
    dm

    scenes are nothing more than the main timeline divided.
    Nothing different from one scene to the
    other in terms of layer and frame functionality - sounds to
    me like you simply dont have the mask
    and masked layers locked in that scene.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    dkmiles wrote:
    > I've created a movie clip with a mask that I'm using in
    a main scene. The mask
    > looks fine while editing/working the movie clip, but
    does not show up in the
    > scene.
    >
    > The really strange thing is that it was working, but
    suddenly now it won't
    > show up in the scene any longer. I've tried replacing
    it, making a new layer
    > and bringing it in again. But nothing works.
    >
    > Does anyone have an idea of why this would be?
    >
    > Any help GREATLY appreciated!
    >
    > dm
    >

  • BAPI_GOODSMVT_CREATE is not working for movement type 701 in MIGO

    Hi gurus
    Can anybody help to track that bapi: BAPI_GOODSMVT_CREATE is not working for movement type 701 for MIGO Transaction.

    call this standard BAPI, AND EXECUTE IN SE37
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(GOODSMVT_HEADER) LIKE  BAPI2017_GM_HEAD_01 STRUCTURE
    *"        BAPI2017_GM_HEAD_01
    *"     VALUE(GOODSMVT_CODE) LIKE  BAPI2017_GM_CODE STRUCTURE
    *"        BAPI2017_GM_CODE
    *"     VALUE(TESTRUN) LIKE  BAPI2017_GM_GEN-TESTRUN DEFAULT SPACE
    *"     VALUE(GOODSMVT_REF_EWM) LIKE  /SPE/BAPI2017_GM_REF_EWM STRUCTURE
    *"        /SPE/BAPI2017_GM_REF_EWM OPTIONAL
    *"  EXPORTING
    *"     VALUE(GOODSMVT_HEADRET) LIKE  BAPI2017_GM_HEAD_RET STRUCTURE
    *"        BAPI2017_GM_HEAD_RET
    *"     VALUE(MATERIALDOCUMENT) TYPE  BAPI2017_GM_HEAD_RET-MAT_DOC
    *"     VALUE(MATDOCUMENTYEAR) TYPE  BAPI2017_GM_HEAD_RET-DOC_YEAR
    *"  TABLES
    *"      GOODSMVT_ITEM STRUCTURE  BAPI2017_GM_ITEM_CREATE
    *"      GOODSMVT_SERIALNUMBER STRUCTURE  BAPI2017_GM_SERIALNUMBER
    *"       OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2
    *"      GOODSMVT_SERV_PART_DATA STRUCTURE
    *"        /SPE/BAPI2017_SERVICEPART_DATA OPTIONAL
    *"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL
    *"      GOODSMVT_ITEM_CWM STRUCTURE  /CWM/BAPI2017_GM_ITEM_CREATE
    *"       OPTIONAL
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header         = goodsmvt_header
          goodsmvt_code           = goodsmvt_code
          testrun                 = testrun
          goodsmvt_ref_ewm        = goodsmvt_ref_ewm
        importing
          goodsmvt_headret        = goodsmvt_headret
          materialdocument        = materialdocument
          matdocumentyear         = matdocumentyear
        tables
          goodsmvt_item           = goodsmvt_item
          goodsmvt_serialnumber   = goodsmvt_serialnumber
          return                  = return
          goodsmvt_serv_part_data = goodsmvt_serv_part_data
          extensionin             = extensionin.
    commit work.
    hi, rewards point, if this is useful,
    regrds
    karthikeyan

  • Video fading in, but not out in movie clip.

    Hi.
    I need to run a video which I can turn off and on on top of other flash content.
    Since I also need to add sub titles I decided to import the video clip into a movie clip. The movie clip now has as many frames as the video.
    I added the subtitles by keyframing a text line in the movie clip and synched it up with the movie. (this was not real easy..)
    I placed an instance of the movie clip on my main stage in frame 10. I added an on and and off button that simply would take you to a later frame without the movie clip instance, and back to frame 10 again if you want to see the video again. This worked well. 
    To make the transistions elegant I wanted to fade the video in and out. So on the main stage in frame 10 I placed this action script:
    (+ gave my movieclip the instance name mc)
    stop();
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var myTween:Tween = new Tween (mc,"_alpha",Strong.easeIn,0,100,2,true);
    which nicely fades the video in when the playhead gets to frame 10.
    There is another part of the script that should be able to tell the upcoming end of the movie clip and fade it out:
    myTween.onMotionFinished = function () {
       new Tween (mc,"_alpha",Strong.easeOut,100,0,2,true);
    This however I can not get to work:
    1)  If I place this code in frame 10, the video first fades in but immideately fades out again.
    2)  I tried to put the code 15 frames from the end of the movie clip, and that did not work.
    3)  I tried to put the code 15 frames from the end of the movie clip and add _parent.  and that did not work either.
    Can this be made to work, and if so how?
    If not, please let me know if you have any other proven approach to suggest.
    ggaarde

    Hi Ned
    This does not work for me.
    Again the instance of the movieclip is on the main timeline in frame 10 with stop action
    I have put the code you suggested in frame 13 of the main time line. also with a stop action.
    Then in the movieclip I have put this code approx 100 frames from the end of the clip:
    _parent.gotoAndPlay(13);
    How else would he main movieclip know when to start the fadeout?
    The myTween.onMotionFinished = function should maybe detect it, but i have not had luck using it. The only time it works is like described in my first post, but it triggers right away and fades out as soon as it is done with the fade in.
    Is there a way to tell it on which frame in the mc it should start the fade out?
    ggaarde

  • Working with movie clip in flex

    I am using a movie clip with animation having 2 frames
    developed in flash cs3 in flex. The movie clip has mouse hover and
    mouse out animation. Now I am using the movie clip and want to make
    a click event on the clip. But it does not work at one click. I
    have to click more than once. Also When I remove that animation the
    click event goes well.
    Can I make a movie clip by flex?
    or
    How can I use that movie clip with animation developed in
    flash cs3 and also click event work well.
    Please help me.

    Actully I have two frame in movie clip(cs3). On mouse hover
    it goes to second frame and on mouse out it comes to first frame.
    Now when I am using this movie clip in flex and want to get the
    click event on that movie clip it does not work at once. If I
    remove the mouse hover and mouse out from movie clip the click
    event works. But to get those mouse hover and mouse and in over
    movie clip I had to write to many code.
    However that mouse hover and mouse out by flex over movie
    clip it takes time to get work.

  • Not Able to Move Clip

    Hello All,
    I'm working on an iMovie '11 project consisting of an assortment of short-length clips (most between 2-10s) and each time I try and move the portion I selected from the event menu, the select box disappears and I am not able to transfer it to the project. I have tried the prescribed click-and-hold method to only limited success (90% of the time the clip de-selects) and it has become extremeley frustrating. Am I doing something wrong? Is there an easier way to move clips?
    Thanks so much.

    try known good content.  You can download quicktime sample files here:
    http://support.apple.com/kb/HT1425
    Try to move one of these into a project.  If they were then unfortunately it is your content that is the problem.
    open up another user on your mac.  Import a clip into iMovie in this user and try to add it into a project.
    If it works in a new user iMovie is fine.  Your issue can be one of several things. Fully quit iMovie. What I would do is clear all caches found in your ~/library.  Move all com.apple.iMovieapp files from ~/library/preferences to your desktop.  Launch iMovie and try again.
    If it doesn't work in a new user, reinstall iMovie. 

  • Effects and key-frames not working on some clips Premiere CC 2014

    Hi. I am having an issue where effects and key frames applied to both audio and video are not working, but only sometimes. Even after I render or export the video, the effects are not showing up. For example, trying to adjust volume using key-frames on some clips works fine, and not at all on others. The key-frames show up and I can see the volume changing in the effects panel, but it is not happening. Another example is changing the opacity on some video clips and it does not work sometimes. Same thing, I can see the key-frames and the values changing, but it's not actually happening. I have uninstalled and re-installed premiere pro and media encoder with no luck. I have uninstalled and re-installed the latest Nvidia drivers with no luck. Just to restate, this only happens on some clips and rendering or exporting the video does not help. My computer specs are:
    MSI GT60 Laptop:
    Intel Core i7 4800MQ (2.70GHz)
    16GB Memory 1TB HDD 128GB SSD
    NVIDIA GeForce GTX 880M 8GB
    2880 x 1620 16:9 3K Display
    Windows 8.1 64-Bit

    Here is the exact screenshot.  Now I'm also trying other effects as stated in my original post.  But this effect is just an example.  Is there really something that I'm doing wrong here?  Or am I forgetting something?  Is there some special "adobe doesn't let keyframes work on mpg's" rule or something silly like that?
    I wish that I could post a video, but I don't know how.
    Please let me know what I need to do to make this work properly.
    TEX

  • My trackpad is not working it moves the arrow but I cannot click on anything or drag anything

    My trackpad is not working on my MacBook pro. I can get the arrow to move but I cannot open files or drag files when I click.

    Make a "Genius" appointment at an Apple Store to have the machine tested.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros (do this only if you have at least two complete, independent backups, and you know how to restore to bare metal from any of them.) Don’t erase the Lion recovery partition, if present.

  • Not all my movie clips are showing up on the stage or playing

    II have 8 movie clips in 8 separate layers on my stage; they
    are set to play one after the other. First problem - even though i
    can see them all on the stage in my Flash document, when i test the
    movie, only the first 5 clips are visible, and these are the only
    ones that play through.
    why aren't the other 3 even showing up??
    i can upload the file if necessary...

    i have been looking at yer FLA for 5 min and i have no idea
    after looking at your codes and MC setup
    why it wont work.
    I copied just one of the offending images to a new FLA and
    tested it and it works fine...have to get
    back to some client projects but will return to your problem
    later.
    --> Adobe Certified Expert *ACE*
    --> www.mudbubble.com
    --> www.keyframer.com
    BullocksTroy wrote:
    > i'm using version 8, but i just uploaded a version for
    MX:
    >
    > <a target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.whspcc.com/Banner/CCBannerMX.fla">http://www.whspcc.com/Banner/
    > CCBannerMX.fla</a>
    >

  • Font not consistent in movie clips

    Hi,
    Can't sort this out, I've got a movie clip where I've used the embedded text option (static text) it looks fine but in another MC (same .fla) I use the same Font (embedded) but it looks different !! I've checked the setting in the text properties but cannot get it to look the same.
    My set up is, Flash Pro CS5 running on Win 7 64 bit.
    Can someone help me out here please?
    Thanks, Pete

    It shouldn't matter which layer things are on.  If they are separate movielcips, one should not impact another.  What version of actionscript are you using?  Do any of the movieclips have mouse interactive code assigned to them?

Maybe you are looking for

  • Can i fill one provider with more than one application?

    Hi, I have so many application. Currently, we adding one provider with one portlet. So, we just want to know is it possible to add one portlet fill with many application? The idea is we want to reduce provider in portal. Thank you.

  • Total and subtotal in alv

    hi, i have an ALV REPORT,displaying the fields such as po item(ekpo-menge).the data type is qunt. but i am unable to perform total and sub total,it gives me a information message 'total cannot b performed'.   even i tried with  X_FIELDCAT-DO_SUM = 'X

  • Can i get OS Lion if i'm using OS X 10.4?

    Can i get OS Lion if i'm using OS X 10.4? I have an iMac with 10.4

  • PS Elements 12--download issue

    I purchased Elements 12 on CD for my laptop. I would like to install it on my Surface Pro 2 which doesn't have a CD drive. Is there a way that I can download Elements 12 without having to purchase it again? Thanks much!

  • Unable to see download button when trying to download latest reader using IE8

    I was in ther process of trying to download the latest adobe reader, using IE8, after having rebuilt the mobile workstation. In the process of the download I got this series of error messages from the download page, I was not even able to see the dow